[R] Plotting FAQ?
Duncan Murdoch
murdoch at stats.uwo.ca
Fri Mar 3 13:41:27 CET 2006
On 3/3/2006 7:13 AM, Dan Bolser wrote:
> Hi,
>
> Since I started to make some 'final' plots of my data I found that I
> have tons of questions related to 'the little things'. Rather than
> bother the list with all the questions (ahem), or search the archives
> for similar questions and translate the context, I would like to find a
> FAQ for plotting in particular (and R programming in general). I know
> for sure (searching the list) that my questions have been answered many
> times and in many different contexts, however, I can't find any list of
> generic (best) solutions to common problems.
>
> For example, (a bit on the 'details' side, but...)
>
> How do I make my y axis labels / names appear horizontally?
>
> How do I put a plot within a plot?
>
> How do I scale the legend text in barplot(...,legend=T)?
>
> How do I generate a legend just like barplot(...,legend=T) using legend()?
>
> How do I give my axis labels a bit more space? (Shift the left/bottom of
> the plotting area right/up from the left/bottom of the device area)?
>
>
> These questions spring to mind because they are problems I am trying to
> deal with, I am sure you could imagine loads of more basic plotting
> questions.
>
> An FAQ is a great place to archive all the best community knowledge
> about what library is good for what functionality and what 'tips &
> tricks' have the coolest code.
>
> Where should I look?
I don't know of an FAQ with that level of detail, but there are two
places I'd go to answer those if I didn't find the help in ?par:
1. Paul Murrell's book R Graphics.
2. The R Graph Gallery at http://addictedtor.free.fr/graphiques/
Duncan Murdoch
More information about the R-help
mailing list