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;
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
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.