R-beta: PostScript tick marks in 62.1

Matthew R. Nelson mrn at superh.hg.med.umich.edu
Thu Jun 25 16:38:17 CEST 1998


I should have added that the plot was generated with log="xy".  On my 
computer, this simple example recreates the problem:

> postscript("tmp.ps", width=6, height=6, family="Times") 
> plot((1:10)^2, (1:10)^3, log="xy") 
> dev.off()

With this simple plot function, I get 2 x-axis tick marks and 1 y axis 
tick mark, but the expected number of axis labels.

Sorry for the ommission,

Matt

On Thu, 25 Jun 1998, Martyn Plummer wrote:

> On 25-Jun-98 Matthew R. Nelson wrote:
> >R-users/developers,
> >
> >I am loosing tick marks that I add to a plot with axis() when plotting 
> >to the postscript device.  They show up fine on the x11 device, and work 
> >with the postscript device when the default tickmarks are used (those 
> >added by plot()).
> >
> >I am using R-62.1 from the RedHat5.0 rpm's on i86 Linux.
> >
> >Do later snapshots correct this, or is this a running bug in R awaiting 
> >the graphics overhaul?
> 
> I believe the graphics overhaul is already done, and is included
> in the R 0.62 release.  This problem may be caused by failure to
> close the postscript device with dev.off() before viewing/printing.
> I cannot reproduce your problem exactly but you can get strange
> results (eg losing the last thing you added to the plot) with the
> postscript device if you don't close it.
> 
> Martyn
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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