03-16-2012 08:31 AM
Hello,
I'm using SI formatting for XY graph Y-scale and I have problems with near zero marks. Instead of clear 0 it puts something there something like 1.23456E-30. Is there any way how to force it to use 0? I think the problem is I'm using very low values in the graph like 1E-13 (capacity measurements) so the scaling can produce significant numeric errors.
Sencond question is also about SI. Is it somehow possible to put fixed space between number and SI prefix? For example: '1.23 MOhm'?
Thanks for any reply
Stanislav Maslan
03-27-2012 06:54 AM
Hello,
You can change the scale using the property nodes of the XY graph
Kind regards,
Ion R.
03-27-2012 07:43 AM
To answer your first question, you can use the Marker Values[ ] property of a scale (X or Y) to change the location of one of the tick marks (and its label). In your case, you would want to read the current values, then replace anything in the array below a certain value (e.g. 1.23543a) with a zero. Set Uniform Marker Spacing? to FALSE, then write the values back to the graph. This actually moves the marker, itself, so should give you what you want. As you mentioned, the root cause of this problem is finite precision in the arithmetic. There is not a good generic solution.
I don't have an answer to putting a space between SI units and the text.