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? 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? I'm working with R1.6 on Redhat 7.3(i386). -- Sincerely, +++++++++++*******+++++***++* Andrew Schuh Environmental Mathematician Neptune and Co. (505) 884-8455 andys at neptuneinc.org +++++++++++*******+++++***++* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 8 Oct 2002, Andrew Schuh wrote:> 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?It's you. There are a number of examples, especially for time series, that wouldn't work if points() sorted the lines. -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._