Skip to content

2 Simple Lattice Plot Questions

3 messages · Sundar Dorai-Raj, jimdare

#
Hi,

I have created the plot below and have a few questions about changes.

1) How do I change the "Year" title of each plot so it reads from the top
"2006","2007","2008","2009".  
2) How do I get rid of those vertical grey bars in the title bar of each
plot?

I apologise for my ignorance... one of those days :(

James


http://www.nabble.com/file/p22445242/PLOT.jpg
#
Convert Year to a factor and both problems will be solved.

--sundar
On Tue, Mar 10, 2009 at 3:48 PM, jimdare <jamesdare26 at gmail.com> wrote:
#
Thanks very much.    One other thing... see how the Y axis begins before 0. 
At first glance it appears that the 0's are actually worth something.  When
I use ylim=c(0,30) I get the graph I want, but the tick marks show only
5,10,15,20,25.  I want them to show 0,5,10,15,20,30.  Does anyone know how
to change this setting?

Cheers,
jimdare wrote: