[R] setting xlim in plot of POSIXlt values
    Michael D. Sohn 
    mdsohn at lbl.gov
       
    Tue Oct 15 18:44:43 CEST 2002
    
    
  
I'm plotting values against date:
theX <- paste(theval$Date, theval$Time)
theX <- strptime(theX, format="%m/%d/%Y %H:%M:%S")
plot(theX, theval$Value, type="l", ylim=c(0, 1500))
How do I set the xlimits?  I tried:
plot(theX, theval$Value, type="l", xlim=c(theX[1], theX[100]), ylim=c(0,
1500))
what am I missing?
thanks,
Mike
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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