[R] plotting

yoooooo magno_yu at ml.com
Fri Aug 31 20:30:30 CEST 2007

Hi, let's say I have data

x = c(1, 2, 10, 12)
y = c(100, -20, 50, 25)

if I go plot(x, y), then the default x-axis range goes from 1 to 12. Is
there a way to change it so that the axis looks like:

     1       2       10     12

This doesn't seem reasonable but let's say I want to plot intraday graph
with axis.POSIXct, my data is only from 8:30 to 4 every day and I have these
data for days.. i don't want to see a straight line every night.. Is there a
way I can do this? 


View this message in context: http://www.nabble.com/plotting-tf4361709.html#a12431743
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list