[R] Formatting the axis of plot() to shown our own values.

saurabh_koparkar sskoparkar at gmail.com
Sun Jan 18 17:12:44 CET 2009


Part 1: 
I want to plot the CO2 concentration vs. year, but extending the x-axis
using the xlim parameter to include the year 2006 (x axis range of values
are from -41210 to 0), and adjusting the ylim parameter to go up to 400 when
the range of y axis values are from 150 to 300. How do I do this? Using axis
function? I am confused about the syntax here. 

Part 2:
I also want to use the points() function to add the data points from years
1958-2006 on X axis to the above plot, but in a different color. 

Please help. 
Thanks,
Saurabh
-- 
View this message in context: http://www.nabble.com/Formatting-the-axis-of-plot%28%29-to-shown-our-own-values.-tp21529473p21529473.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list