yoooooo wrote:
> 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? 
> 
Hi yoooooo,
Have you looked at gap.plot (plotrix)?

Jim

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to