My question: How to make the vertical line pointed by the second red arrow from left to right disappear. (The line above the X axis of 0)
Test Code:
proc template;
define statgraph Fig_4_5_3;
begingraph;
entrytitle 'Spline Fit Plot Mileage by Horsepower';
layout overlay /cycleattrs=true walldisplay = none yaxisopts=(griddisplay=off) xaxisopts=(griddisplay=off linearopts=(viewmin=-0.5 viewmax=3 tickvaluesequence=(start=0 end=3 increment=1)));
barchartparm category=mpg_city response=horsepower /orient=horizontal barwidth=0.3
;
endlayout;
endgraph;
end;
run;
proc sgrender data=sashelp.cars(where=(type='Sedan'))
template=Fig_4_5_3;
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.