[R] Plotting FAQ?

2006-03-03 Thread Dan Bolser
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@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


Re: [R] Plotting FAQ?

2006-03-03 Thread Duncan Murdoch
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

__
R-help@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


Re: [R] Plotting FAQ?

2006-03-03 Thread Romain Francois
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 QA 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  |
+---+

__
R-help@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


Re: [R] Plotting FAQ?

2006-03-03 Thread Jim Porzak
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 [EMAIL PROTECTED] 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@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

__
R-help@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


Re: [R] Plotting FAQ?

2006-03-03 Thread Gabor Grothendieck
This might help:

http://zoonek2.free.fr/UNIX/48_R/03.html

On 3/3/06, Dan Bolser [EMAIL PROTECTED] 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@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


__
R-help@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


Re: [R] Plotting FAQ?

2006-03-03 Thread Dan Bolser
Romain Francois wrote:
 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 QA could find a space in the R wiki. Volunteers ?
 http://www.sciviews.org/_rgui/wiki/doku.php (the address will change 
 though)
 
 Romain
 


Great! I made a start (a very small start) from all the excellent 
suggestions I got (both on and off the list). Thanks all for those.

http://www.sciviews.org/_rgui/wiki/doku.php?id=faq

As with everything Wiki, this first draft is a rough and horrible 
outline of what could be an excellent resource, if properly used. I 
don't think you need volunteers to maintain a Wiki, people just need to 
pick up the habit of sharing their knowledge in an open source 
environment. And get comfortable with hacking somebodies contributions 
to shreds in the name of style  clarity.

Oh... and my web integrated spell chewer is temporarily broken, so 
please excuse my horrendous spelling. (Its not broken hear!)

__
R-help@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