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
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;

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

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
  • 1406 views
  • 0 likes
  • 3 in conversation