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? Thanks for any help, Dan.
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
Le 03.03.2006 13:13, Dan Bolser a ?crit :> 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? > > Thanks for any help, > Dan.Hi, That kind of Q&A could find a space in the R wiki. Volunteers ? http://www.sciviews.org/_rgui/wiki/doku.php (the address will change though) Romain -- visit the R Graph Gallery : http://addictedtor.free.fr/graphiques Discover the R Movies Gallery : http://addictedtor.free.fr/movies +---------------------------------------------------------------+ | Romain FRANCOIS - http://francoisromain.free.fr | | Doctorant INRIA Futurs / EDF | +---------------------------------------------------------------+
Then there is the Graphing section of Paul Johnson's Rtips ... http://pj.freefaculty.org/R/Rtips.html#5 On 3/3/06, Dan Bolser <dmb at mrc-dunn.cam.ac.uk> 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? > > Thanks for any help, > Dan. > > ______________________________________________ > R-help at 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 >-- HTH, Jim Porzak Loyalty Matrix Inc. San Francisco, CA
This might help: http://zoonek2.free.fr/UNIX/48_R/03.html On 3/3/06, Dan Bolser <dmb at mrc-dunn.cam.ac.uk> 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? > > Thanks for any help, > Dan. > > ______________________________________________ > R-help at 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 >