Example with a data set you should have available:
proc sgplot data=sashelp.cars; scatter x=weight y=msrp; format msrp comma6.; yaxis values=(10000 to 100000 by 10000, 150000, 200000); run;
A YAXIS statement with Values=() option can specify specific values you want to appear on the axis. Do not list the values with commas though as the comma is used to delimit values in the list.
So, where is this frequency occurring then?
Provide at least some code of what you are currently doing as we a flying pretty blind.
In general if you want to make plots best is to create an output data set from whatever procedure and plot that. Then there would be a variable representing a value.
Or if you are attempting to manipulate a DATALABEL value then we need more details as some plots will allow setting a format for some data labels.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.