BookmarkSubscribeRSS Feed
Fred_Gavin
Calcite | Level 5
Hi All,
As option of "tickvalueformat" in sgplot is only associated with SAS phase2, I cannot use that option in my sgplot.

What I wanna do is only to change the ticks on x-axis to bold.

As suggested, proc template can be used to change the style of the plot. However I am absolutely new to template language.

And using some codes found online to define my own style will overwrite the original plot: say "ods listing style = statistical/ boder=off;"

Could anyone here please give me some suggestion on this?

Thanks in advance.
Fred
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
See the model style template posted here:
http://support.sas.com/forums/thread.jspa?threadID=8964&tstart=0

cynthia
GraphGuy
Meteorite | Level 14
If you can't get this working in sgplot (in your older version of SAS), perhaps using the traditional SAS/Graph "proc gplot" would be a work-around(?)...

axis1 minor=none label=(font="arial") value=(font="arial");
axis2 minor=none label=(font="arial") value=(font="arial/bold");

proc gplot data=sashelp.class;
plot height*weight / vaxis=axis1 haxis=axis2;
run;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1644 views
  • 0 likes
  • 3 in conversation