[R] Gray levels in plot
Duncan Murdoch
dmurdoch at pair.com
Thu Jun 28 14:30:15 CEST 2001
On Thu, 28 Jun 2001 11:03:23 +0200 (MET DST), you wrote:
>Dear list,
>
>is there a way to set the gray levels in a scatterplot? I want to make
>some plots for a b/w journal and the dataset is so large that I need
>pch="." for all points. As I understand the command gray(), it generates
>colors from prespecified gray levels. Are these the gray levels which
>appear again if I plot with col=gray(level), save as postscript and print
>with a b/w printer?
Yes, that's the best way to do it. For other ways to specify colours,
see the ?par help topic.
>Or can the gray levels be given to plot directly somehow?
That does give gray levels to plot directly.
Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list