Data visualization with SAS programming

tickvalueformat in SAS sgplot & proc template

Reply
Contributor
Posts: 56

tickvalueformat in SAS sgplot & proc template

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
SAS Super FREQ
Posts: 8,720

Re: tickvalueformat in SAS sgplot & proc template

Hi:
See the model style template posted here:
http://support.sas.com/forums/thread.jspa?threadID=8964&tstart=0

cynthia
SAS Employee
Posts: 967

Re: tickvalueformat in SAS sgplot & proc template

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;
Ask a Question
Discussion stats
  • 2 replies
  • 371 views
  • 0 likes
  • 3 in conversation