[R] break an axis.POSIXct

Jim Lemon jim at bitwrit.com.au
Sat Jan 21 11:20:00 CET 2012


On 01/21/2012 02:46 AM, Christof Kluß wrote:
> Hi
>
> I like to use "axis.POSIXct" to plot days from 2006 till 2008. But I
> only have datas for the summer months. Is it possible to get two axis
> breaks, to have not so long distances without points?
>
Hi Christof,
You might be able to do this with the gap.plot function (plotrix), but I 
think that with POSIXct x values, it might be easier to display side by 
side plots in whatever system you prefer. I don't have time at the 
moment to work up an example, but I might try one later.

Jim



More information about the R-help mailing list