proc gplot axis flipping

nemo

New Member
#1
hi everyone

i am doing a proc gplot, and it's for a survival graph. my y axis goes from 1.00 on top to 0.00 at the bottom, and i want to flip it, so that it is 1.00 at the bottom and 0.00 on top. how do i do that?
 

hlsmith

Not a robit
#2
You are supposed to be able to use

value=(0 to 1.00 by -0.1), but I cannot quite get it to work for my non-survival graph.

I am having issues only using the xaxis2 instead of xaxis.
 

hlsmith

Not a robit
#3
In sgplot, use the following:

Code:
[FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]
[SIZE=2][FONT=Courier New][COLOR=#0000ff]yaxis [/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]reverse ;[/SIZE][/FONT]
[/SIZE][/FONT]