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? Or can the gray levels be given to plot directly somehow? (R 1.3.0 on Solaris) Thank you, Christian *********************************************************************** Christian Hennig University of Hamburg, Faculty of Mathematics - SPST/ZMS (Schwerpunkt Mathematische Statistik und Stochastische Prozesse, Zentrum fuer Modellierung und Simulation) Bundesstrasse 55, D-20146 Hamburg, Germany Tel: x40/42838 4907, privat x40/631 62 79 hennig at math.uni-hamburg.de, http://www.math.uni-hamburg.de/home/hennig/ ####################################################################### ich empfehle www.boag.de -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Gray levels in plot
2 messages · Christian Hennig, Duncan Murdoch
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._