[R] How can I slightly offset plots?

David Winsemius dwinsemius at comcast.net
Mon Feb 14 18:33:51 CET 2011


On Feb 14, 2011, at 12:19 PM, Greg Snow wrote:

> Those types of plots can be very hard to read.  A better approach  
> would be to look at the lattice package or faceting in the ggplot2  
> package.

This is the lattice example:
http://lmdvr.r-forge.r-project.org/figures/figures.html
http://dsarkar.fhcrc.org/lattice/book/images/Figure_14_03_stdBW.png

>
> -- 
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow at imail.org
> 801.408.8111
>
>
>> -----Original Message-----
>> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
>> project.org] On Behalf Of Carly Huitema
>> Sent: Monday, February 14, 2011 5:45 AM
>> To: r-help at r-project.org
>> Subject: [R] How can I slightly offset plots?
>>
>> Dear R help contributers,
>>
>> I have several x,y scatter plots and I would like to plot them
>> slightly offset, similar to:
>> http://www.mathworks.com/matlabcentral/fx_files/24368/2/content/style4 
>> .
>> jpg
>>
>> I've looked all over for this answer with no luck.
>> Just a function name or previous example would probably be enough for
>> me to figure it out.
>>
>> Thank-you in advance,
>> Carly
>>
>> ______________________________________________
>> R-help at 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 at 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.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list