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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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