[R] plots

Pierre Kleiber pkleiber at honlab.nmfs.hawaii.edu
Wed Apr 30 00:43:59 CEST 2003


Anna H. Pryor wrote:
> I have two separate questions.
> 
> The first is when I use xlab, the labels on my tic marks disappear.  Is there 
> a way to make them reappear?  Also, is there a way to make my own labels for 
> the tick marks?
> 
> My second question is, after I have spent a lot of time getting my plot to 
> look just right, I want to save it to a file, but the only way I seem to know 
> how to do it is to first use postscript() and then make the plot and then use 
> dev.off().  I keep forgetting to do this, and I am wasting so much time.  Is 
> there a way to save the plot after I have already made it?

Once you have the plot looking just right on the screen, it is not 
necessary to replot in order to save it as a file.  Check out the 
functions dev.copy(), dev.copy2eps, and dev.print()

Pierre Kleiber


> 
> Anna
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 
>



More information about the R-help mailing list