Hi there, recetly I tried to plot data from electrochemical experiments where the y-axis was haveing datavalues in currents with the units amperes. However as the values themselves were nA the representation was as 1.0e-9 and the like. I tried to scale the y-axis using an axis statement such as:
axis2 order=-1E-8 to 1E-8 by 0.2E-8
but much to surprise this produces an error in the output.
A test program to show it in EG43 is attached together with a jpg from the screen showing the faulty graph when using the axis statement.
Regards
Poul
your example code shows:
axis2 order=-1E-8 to 1E-8 by 1E-8; The by step works as stated generating 3 ticks, 2 at extremes and on at 0.
axis2 order=-1E-8 to 1E-8 by 0.2E-8; Is incorrect as it uses malformed scientific notation.
try 2E-9 for the step.
Thanks for adresser this. I am sorry for the confusion between text and pciture. However the use of
axis2 order=-1E-8 to 1E-8 by 2E-9;
DOES produce a faulty graph in EG43. See attached program and snapshot below:
Regards Poul
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!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.