[R] Graph Axis
Khadija Mohammedali
khad1_ at hotmail.com
Mon Feb 25 22:23:33 CET 2008
Hi I have data of exchange rates and time, and am trying to draw a graph that will show the rates on the y axis and dates on the x axis. I am using the following code: plot(rate, type='l', xlab='Date', ylab='Rate', main='£ to Euro rate over 5 years')This gives me the graph I want although I want to display the dates on the x axis, even if its just 2002, 2003,...2008. Attached is my data. Hope you can help.
_________________________________________________________________
[[elided Hotmail spam]]
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Data.txt
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080225/b849cb8e/attachment.txt
More information about the R-help
mailing list