Insufficient accuracy on tick mark labels on HPlot
|
09-11-2015, 03:33 AM
Post: #1
|
|||
|
|||
Insufficient accuracy on tick mark labels on HPlot
Please excuse formatting blunders, its the first time I use this forum.
The small Java example code below produces a large number of points of a sinusoidal function, stores them in a P1D and that gets displayed via an HPlot. If you zoom on the horizontal axis into the area beyond 1E6 until you see only a few oscillations you will notice that the tick mark labels on the horizontal axis all show the same number and the axis gets automatically labelled with a scale factor of 10^6. (see the attached picture) I.e. there is not sufficient accuracy to display the tickmarks once the numbers are displayed in scientific or exponential notation. Could somebody tell me how I can increase the accuracy (number of significant digits) of axis tick mark labels in an HPlot ? regards Armin Code: package plotproblemdemo; |
|||
09-12-2015, 09:01 AM
Post: #2
|
|||
|
|||
RE: Insufficient accuracy on tick mark labels on HPlot
Hello, Armin
It is usually not recommended to use HPlot when the number of points is so large, since the canvas requires to much memory. Try to use SPlot or HPlotXY. This example seems works: Code: from jhplot import * |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)