From: Kumar Mainali on
I have the following code that gives me a nice graph. But, I cannot figure
out a way to display grid. I would like to display (1) only major grid and
(2) both major and minor grids but in separate color and line pattern. Any
help appreciated.

Thanks in advance,
Kumar


goptions reset=all;

axis1 label=(angle=*90* r=*0* a=*90* h=*1.5* c=blue font=swissb "Plant
Mortality")

offset=(*3*,*3*)

color=blue

major=(height=*3* width=*2*)

minor=(number=*4* color=red height=*2* width=*1*)

width=*3*;

axis2 label=(angle=*0* h=*1.5* c=blue font=swissb "Elevation")

offset=(*2*,*2*)

color=blue

major=(height=*2* width=*2*)

minor=(number=*3* color=red height=*1* width=*1*)

width=*3*;

symbol1 pointlabel v=dot c=red h=*1* l=*1*;

*proc* *gplot* data=Work.alllist;

plot mortality * elevation=*1* / vaxis=axis1 haxis=axis2 ;

title c=red font=swissb "Plant mortality by elevation";

*run*;

*quit*;