Hey,
the vaxis values here are numeric and I want to change them into scientific notation.
SAS want to have an proper Format Name so I checked DSL2 list and found Format.ew. I tried to use it in combination with vformat, but it didn't run.
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 72 73 proc boxplot data=dombox; 74 plot gross*dombox/grid vformat=format.ew; _________ 22 201 ERROR 22-322: Expecting ein Formatname. ERROR 201-322: The option is not recognized and will be ignored. 75 run; NOTE: The SAS System stopped processing this step because of errors. NOTE: Verwendet wurde: PROZEDUR BOXPLOT - (Gesamtverarbeitungszeit): real time 0.00 seconds cpu time 0.00 seconds 76 77 78 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 90
How can I change the vaxis values into scientific notation, please?
Also I would like to have the graph nearer to the vaxis ... just in case someone has an idea about how to do that.
Thank you!
proc boxplot data=dombox;
plot gross*dombox/grid;
format gross E8.;
run;
How about that?
Simply use a Format Statement and use E8. Format eg
proc boxplot data=dombox; plot gross*dombox/grid; format E8; run;
nothing changed, numeric values are still there
proc boxplot data=dombox;
plot gross*dombox/grid;
format gross E8.;
run;
How about that?
works perfectly!
Thank you!
Anytime 🙂
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.