[R] Graph Axis

From: Khadija Mohammedali <khad1__at_hotmail.com>
Date: Mon, 25 Feb 2008 21:23:33 +0000

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]]



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.
Received on Mon 25 Feb 2008 - 21:28:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 25 Feb 2008 - 22:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive