Closed philippMayinger closed 6 years ago
Taken from the documentation:
The plot axis can be modified with the actual geometry parameters
Length
andPosition
. TheLength
parameter will be multiplied to the points position range to determine the value range of the plot, while thePosition
parameter is added as an offset. The plotsProjectionAxis
determines, which coordinate of thePosition
is used as offset.
But
You have a different issue. Your deviations are extremely large, which makes the plot unable to render correctly. Remember: this is not a mathematical function plotter! Try multiplying your deviations with 0.01 and have a look
Thanks a lot. Now it's working fine after reducing my deviation by the factor of 100.
Is there any statement about how big the deviation is allowed to be compared to the position?
It's not a fixed value:
Given your plot has a size of 20 15 cm and your projection axis has a value range of 70, then the approximate 'maximum value' is ~70 / 20 0.5 * 15. This refers to the plot area itself, as the PiWeb element also displays scales and labels which make the area even smaller.
You can create a fully functional mathematical plotter with our Plot extension API
I've created a simple line plot following more or less the sample code:
` var splot = new StraightnessPlot(); var lpoints = new List();
`
This creates formplot data. However, the plot does not look as expected because the x axis does not scale correctly.
Which propety sets the x axis scale?