naterich2 / surfaceplotter

Automatically exported from code.google.com/p/surfaceplotter
0 stars 0 forks source link

Make it possible to have a different number of rows from number of columns #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We have a table of values (theta is the X and phi is the Y), and we have all 
the Z values placed in table form. Our table has theta range from 0 to pi, and 
phi range from 0 to 2*pi, so the number of theta values and the number of phi 
values are different. However, given the "size" parameter in setValues, it will 
set that size as both the number of rows and the number of columns. This throws 
off the table that we had already created and set with values.

It would be nice if there were two "size" parameters, one for the number of 
rows and one for the number of columns. The workaround right now is to put 
Float.NaN for everything from pi to 2*pi, but then that squishes the plot and 
there is a lot of ugly, extra space.

Please consider looking into it! Thank you.

Original issue reported on code.google.com by pavye...@gmail.com on 22 Mar 2012 at 7:06

GoogleCodeExporter commented 9 years ago
I've looked into it, and it seems a bit hard to fix (at least the first 
intuitive attempt has failed) 

Original comment by e...@ericaro.net on 3 Apr 2012 at 9:53