1. When I draw plot from floating point numbers with very small difference (as 4,262085 and 4,2623901), it will show same numbers (only 4,26 for both numbers) on axis. Solution would be to display more decimal digits in number. Is there any solution for it?
2. When I want to select a rectangle on the plot (with left mouse button), I don't see that selected rectangle. Correct area is displayed when mouse button is released. The only problem is that selection rectangle isn't visible.
Thank you for you help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. the matter is this: it is possible to increment the precision, by controlling format at lines 904 and 906 of mathplot.cpp. This may lead the labels to exit on the left side of the window. To avoid that you should increment left margin. I blieve that current behaviour is a compromise to get adequate accuracy in most situations, without having horribly truncated labels. Anyway, you can change this to fit your needs.
2. The rectangle is drawn actually. The matters are that (I) it is not persistent, so when you stop moving mouse it disappears, and (II), on some platforms, its draw line is very thin, making it almost invisible. I'll try to make it more evident in next releases.
Thank you for your feedback!
CD-RON77
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you! I've changed the format to "%.10G" to follow our specifications. Now it displays more digits when it's needed and less digits when it's not needed :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I fixed this by moving rectangle drawing to onPaint() procedure. Now it works correctly except of the case when plot is drawn with many layers or from many data. Then the rectangle drawing is delayed a bit :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I have following two problems:
1. When I draw plot from floating point numbers with very small difference (as 4,262085 and 4,2623901), it will show same numbers (only 4,26 for both numbers) on axis. Solution would be to display more decimal digits in number. Is there any solution for it?
Check axis Y on this image to see problem: http://i41.tinypic.com/k4ezvm.png
2. When I want to select a rectangle on the plot (with left mouse button), I don't see that selected rectangle. Correct area is displayed when mouse button is released. The only problem is that selection rectangle isn't visible.
Thank you for you help!
Well, both questions require a bit of discussion:
1. the matter is this: it is possible to increment the precision, by controlling format at lines 904 and 906 of mathplot.cpp. This may lead the labels to exit on the left side of the window. To avoid that you should increment left margin. I blieve that current behaviour is a compromise to get adequate accuracy in most situations, without having horribly truncated labels. Anyway, you can change this to fit your needs.
2. The rectangle is drawn actually. The matters are that (I) it is not persistent, so when you stop moving mouse it disappears, and (II), on some platforms, its draw line is very thin, making it almost invisible. I'll try to make it more evident in next releases.
Thank you for your feedback!
CD-RON77
Thank you! I've changed the format to "%.10G" to follow our specifications. Now it displays more digits when it's needed and less digits when it's not needed :-)
Btw I noticed that selection rectangle isn't visible when double buffering is enabled.
I fixed this by moving rectangle drawing to onPaint() procedure. Now it works correctly except of the case when plot is drawn with many layers or from many data. Then the rectangle drawing is delayed a bit :(