[R] plotting questions

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Oct 9 08:29:17 CEST 2002


Andrew Schuh wrote:
> 
> I'm having some issues with using chron() objects for the x-axis in plots.
> 
> #########
> plot(chron(c("07/01/01","08/01/02")),c(100,200),cex.axis=5)
> #########
> 
> It doesn't seem to scale up the cex of the x-axis.  Is there any way to scale
> these x-axis labels up?

I'd call it a bug in the method plot.times().
You can get around it with

 par(cex.axis = 5)
 plot(chron(c("07/01/01", "08/01/02")), c(100,200))


> Also, I'm not sure but I don't believe I have even seen this behavior.
> 
> #############
> plot(chron(c("07/01/01","08/01/02")),c(100,200),cex.axis=5)
> points(chron(c("07/01/01","08/01/02","12/01/01")),c(100,200,150),type="b")
> #############
> 
> It could be me but I think points() had always sorted the values before
> connecting the points with lines?

Really? I think not since I am using R (version 0.63.0 ?) ;-)

> I'm working with R1.6 on Redhat 7.3(i386).

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