RE: R-beta: PostScript tick marks in 62.1

Matthew R. Nelson (mrn@superh.hg.med.umich.edu)
Thu, 25 Jun 1998 10:38:17 -0400 (EDT)


Date: Thu, 25 Jun 1998 10:38:17 -0400 (EDT)
From: "Matthew R. Nelson" <mrn@superh.hg.med.umich.edu>
Subject: RE: R-beta: PostScript tick marks in 62.1
To: Martyn Plummer <plummer@iarc.fr>
In-Reply-To: <XFMail.980625142035.plummer@iarc.fr>
Message-Id: <Pine.3.87.9806251017.A16855-0100000@superh.hg.med.umich.edu>

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@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._