From wsi@gcal.ac.uk  Wed Nov 10 13:19:26 1999
From: wsi@gcal.ac.uk (wsi@gcal.ac.uk)
Date: Wed, 10 Nov 1999 14:19:26 +0100 (MET)
Subject: plot() bugs (PR#317)
Message-ID: <199911101319.OAA21606@pubhealth.ku.dk>

Full_Name: Bill Simpson
Version: 65.1
OS: Linux Redhat 6.1
Submission from: (NULL) (193.62.250.209)


Try this:

#default plot symbols and lettering are too small, need to scale up
par(cex=2,mex=.7)
par(mar=c(5,5,1,1))

spdiff<-c(1,2,3,4,5)
dpdet<-c(1,2,3,4,5)/10
dpsp<-c(2,3,4,5,6)/10
dpdir<-c(2,4,6,8,10)/10

plot(spdiff,dpdet,pch=15,ylim=c(0,max(dpdet,dpsp,dpdir)),xlab="Speed
difference$
points(spdiff,dpdir,pch=16)
points(spdiff,dpsp,pch=17)

Bugs:
1. The y-axis numbering labels are shifted down and are not centred on the
hash-marks.
BTW, weren't the labels in normal (nonrotated) orientation before this version?
I didn't have to use las before

2. This is an old bug: only the first plotted sysmbol has the correct size.
(Squares
in this example). The others are not scaled up as cex should make them.

These comments are based on inspection of the .ps form of the plot.

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


plot() bugs (PR#317)
wsi@gcal.ac.uk