Open ariaveta opened 4 years ago
I see in the output: "Error in ranges" . It seems (see code snippet below) that xi>xx or yi> yy.. in my case it is quite impossibile, because xi=yi=0.0 and xx an yy are quite bigger..
try { xi = getXMin(); yi = getYMin(); xx = getXMax(); yx = getYMax(); if ((xi >= xx) || (yi >= yx)) throw new NumberFormatException(); } catch (NumberFormatException e) { setMessage("Error in ranges"); return; }
Just an update: the "Error in ranges" message was related to Z axis ranges, not X and Y. My problem is still there: in 2D mode I see a different scaled rectangle if I select function 1 or function 2. Any hint? Thanks Marco
Hello I'm using the library to plot 2 functions in 2D (surface) and 3D mode.
I set XMin and YMin to 0 and the I set XMax and YMax to different values. I set the ScaleBox to true.
I'm expecting to see a scaled 2D rectangle in 2D mode and a scaled 3D box in 3D mode.
I see a correctly scaled rectangle if I plot function 1 and a rotated by 90 degrees rectangle if choose the second function. Can someone explain why?
Am I missing something? Thanks, Marco