3D Plot Axes
Posted: Fri Apr 24, 2009 4:13 pm
Hello.
While doing some math exercises out of a book, I got a chance to use the 3D ability of DPlot (nice to be able to do rotations with CTRL-arrow keys!)
I noticed that the axes are drawn as "far walls (3 faces) of a 1/2 cube" which are oriented such that the extent of the 3D object fits inside of the 1/2 cube. I guess I am used to visualizing the axes as LINES going off from (0,0,0) and how a 3D object relates to that (which makes it easier to see how the object is offset by additive terms in an equation, etc).
Suggestion 1: Provide option to draw the axes as the "standard" x-y-z coordinate nunber LINES (not PLANES as above) and have some designation (a fat dot or some user specifiable symbol which can optionally be turned on/off) at the point(s) where the axes intersect the 3D object.
Suggestion 2: Another error to have option of suppressing when plotting (along with divide by zero error) is the SQUARE ROOT of a NEGATIVE VALUE.
I ran into the above problem when trying to plot z = sqrt( x^2+y^2-1) -- a parabolic bowl "sitting on" the plane z = -1.
Finally, one thing I did to myself once is get carried away with having DPlot calcuate too many points (like 1 million - range of 100 with intervals of 0.1) which took a minute or two. This was not the problem itself, it was when I went to rotate the object -- WHOOPS, of course it needs to redo the entire 1 million point calculation. Since in this case I was only playing around with rotation function I did not to wait to gain control of my PC (I tried bringing up Task Manager to kill the DPlot process and even this took a while):
Suggestion 3: Allow the user the option to (instantly) abort a rotation or other plotting operation that could potentially take a long time. (If there was a plot before the operation maybe save it to temp image file should the user abort the new plot so old view could quickly be restored)
Still, love the 3D ability. Keep up the good work!
Ray Delaforce
While doing some math exercises out of a book, I got a chance to use the 3D ability of DPlot (nice to be able to do rotations with CTRL-arrow keys!)
I noticed that the axes are drawn as "far walls (3 faces) of a 1/2 cube" which are oriented such that the extent of the 3D object fits inside of the 1/2 cube. I guess I am used to visualizing the axes as LINES going off from (0,0,0) and how a 3D object relates to that (which makes it easier to see how the object is offset by additive terms in an equation, etc).
Suggestion 1: Provide option to draw the axes as the "standard" x-y-z coordinate nunber LINES (not PLANES as above) and have some designation (a fat dot or some user specifiable symbol which can optionally be turned on/off) at the point(s) where the axes intersect the 3D object.
Suggestion 2: Another error to have option of suppressing when plotting (along with divide by zero error) is the SQUARE ROOT of a NEGATIVE VALUE.
I ran into the above problem when trying to plot z = sqrt( x^2+y^2-1) -- a parabolic bowl "sitting on" the plane z = -1.
Finally, one thing I did to myself once is get carried away with having DPlot calcuate too many points (like 1 million - range of 100 with intervals of 0.1) which took a minute or two. This was not the problem itself, it was when I went to rotate the object -- WHOOPS, of course it needs to redo the entire 1 million point calculation. Since in this case I was only playing around with rotation function I did not to wait to gain control of my PC (I tried bringing up Task Manager to kill the DPlot process and even this took a while):
Suggestion 3: Allow the user the option to (instantly) abort a rotation or other plotting operation that could potentially take a long time. (If there was a plot before the operation maybe save it to temp image file should the user abort the new plot so old view could quickly be restored)
Still, love the 3D ability. Keep up the good work!
Ray Delaforce