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;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.