Re: [R] break an axis.POSIXct

2012-01-21 Thread Jim Lemon

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

__
R-help@r-project.org 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.


[R] break an axis.POSIXct

2012-01-20 Thread Christof Kluß
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?

thx
Christof

__
R-help@r-project.org 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.


Re: [R] break an axis.POSIXct

2012-01-20 Thread Jeff Newmiller
It may be possible, but perhaps not a good idea. A better approach would be to 
use multiple graphs (panels in lattice or facets in ggplot2).

Provide a reproducible example and you might get a more concrete example.
---
Jeff NewmillerThe .   .  Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

Christof Kluß ckl...@email.uni-kiel.de 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?

thx
Christof

__
R-help@r-project.org 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.

__
R-help@r-project.org 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.


Re: [R] break an axis.POSIXct

2012-01-20 Thread David Winsemius


On Jan 20, 2012, at 10: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?


There are worked examples of broken axes in package plotrix but I  
don't know if they are set up for multiple breaks, or if they support  
data formats. At any rate, the plotrix package is something you should  
investigate because it has a wealth of useful examples demonstrating  
taking R's base graphics to the next level.


--

David Winsemius, MD
West Hartford, CT

__
R-help@r-project.org 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.