plot() bugs (PR#317)

About this list Date view Thread view Subject view Author view Other groups

Subject: plot() bugs (PR#317)
wsi@gcal.ac.uk
Date: Wed 10 Nov 1999 - 23:19:26 EST


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


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:09 EST