[R] Plotting weather data
Daniel Malter
daniel at umd.edu
Wed Oct 29 07:05:10 CET 2008
This certainly involves arranging multiple plots and plotting multiple
variables within the same plot (in the upper graph). The lower plots looks
rather standard and just have to be arranged right. Further, you have to put
the labels (if they are desired). There is a book on R-graphics which may
help you arranging plots (look for "R graphics" in google, Amazon, or any
book seller or search engine of your choice). For generating the plots
themselves, consult any manual on generating plots. The plots itself are
nothing special, the shading in the upper graph requires more
sophistication, which you also find in the book. Look also at
http://www.stat.auckland.ac.nz/~paul/RGraphics/rgraphics.html and several
manuals in pdf format on R-graphics that you can google.
Cheers,
Daniel
-------------------------
cuncta stricte discussurus
-------------------------
-----Ursprüngliche Nachricht-----
Von: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Im
Auftrag von Rachael Howard
Gesendet: Tuesday, October 28, 2008 6:03 PM
An: r-help at stat.math.ethz.ch
Betreff: [R] Plotting weather data
Hello. I am relatively new to R and trying to figure out how go about
graphing something like this:
http://www.math.yorku.ca/SCS/Gallery/images/NYweather.jpg
Specifically, I am having a hard time graphing the mean, min, and max
temperatures as they are depicted on that graph. When I plot the same data
using plot(Date,Mean_Temperature, col="black", type="line"), the lines are
all over the place, instead of neatly arranged in that accordian-like
manner.
Where should I start?
______________________________________________
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.
More information about the R-help
mailing list