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 🙂
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.