s-news
[Top] [All Lists]

Re: Controlling colour coding in image plots

To: "Volker Bahn" <lochapoka@web.de>
Subject: Re: Controlling colour coding in image plots
From: David L Lorenz <lorenz@usgs.gov>
Date: Mon, 24 Jan 2005 15:07:31 -0600
Cc: kim.pilegaard@risoe.dk, s-news@wubios.wustl.edu, s-news-owner@lists.biostat.wustl.edu
Kim,
  It's been a while since I've worked on motif graphics, but look in the
documentation for motif. It should contain a reference to .sgraphrc, which
is a X-resources file that sets up the color (and other) choices for motif.
Hopefully there is enough information to help you set up one that you like.
Dave



                                                                                
                                             
                      "Volker Bahn"                                             
                                             
                      <lochapoka@web.de>               To:       
<kim.pilegaard@risoe.dk>, <s-news@wubios.wustl.edu>         
                      Sent by:                         cc:                      
                                             
                      s-news-owner@lists.biosta        Subject:  Re: [S] 
Controlling colour coding in image plots            
                      t.wustl.edu                                               
                                             
                                                                                
                                             
                                                                                
                                             
                      01/24/2005 12:25 PM                                       
                                             
                                                                                
                                             
                                                                                
                                             




MessageHi Kim,

I don't know the answer to 1) but suspect that you can't. The answer to 2)
is rather simple: use the the zlim argument in image() to keep the
intervall
of values covered in the image constant throughout your plots. That will
also keep the color assignment constant.

HTH

Volker


----- Original Message -----
From: kim.pilegaard@risoe.dk
To: s-news@wubios.wustl.edu
Sent: Saturday, January 22, 2005 14:02
Subject: Controlling colour coding in image plots


I am using image() for coloured plots. I have two questions:

1) How do I specify colours other than by changing them in the graphics
device (e.g. motif)
2) How can I control the colour coding, so that when using different
datasets I always maintain the same colour for the same interval?

Kim

=======================================
Kim Pilegaard, Ph.D.
Acting Head of Department
Biosystems Department
Risoe National Laboratory
Building 776
P.O. Box 49, DK-4000 Roskilde, Denmark
Phone: +45 4677 4101
Fax:   +45 4677 4109
E-mail: kim.pilegaard@risoe.dk

--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news




<Prev in Thread] Current Thread [Next in Thread>