s-news
[Top] [All Lists]

pdf.colors question

To: s-news@wubios.wustl.edu
Subject: pdf.colors question
From: "Atkinson, Elizabeth J." <atkinson@mayo.edu>
Date: Mon, 19 Dec 2005 14:36:51 -0600
In the new version of Splus7 there has been an attempt to make all the colors consistent between graphical devices which is great and in fact I'd like to change our local defaults so that they are using the Splus standard.  My problem is that pdf.colors$colormap doesn't include any dimnames indicating what the colors are.  I'm assuming that the columns are red/green/blue, but I can't see any easy way of picking off a particular color.  This becomes an issue when we need specific colors for a plot. 
 
Currently I've substituted the pdf.colors$colormap with ps.colors.rgb so that the user can match on the dimnames and I've picked particular colors for line.colors, but I'm wondering if there is a better way to go about this.  How are users supposed to create their own color scheme for a particular plot?  And why aren't there colors listed with the colormap matrix?   We're basically a unix shop here so pull-down menus aren't an option.
 
Beth

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Beth Atkinson                                     (507) 284-0431    
Division of Biostatistics                        (507) 284-9542  FAX    
Mayo Clinic                                   
200 First Street SW                            atkinson@mayo.edu
Rochester, MN  55905                          
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
<Prev in Thread] Current Thread [Next in Thread>
  • pdf.colors question, Atkinson, Elizabeth J. <=