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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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