Jonathan, I think we are in pretty good shape already with measures, bounding boxes, and axes all being able to be set up with ticks and labels and such. So probably what we want to do for a "plot3D" object is simply allow an association of those with an isosurface. I don't know that we need anything else done with the isosurface itself.
In general we probably need some setting that allows scaling to be done based on a surface. Perhaps:
zoom $isosurfaceId 0
more comments below...
I think these questions are primarily for Bob.
I'm starting to look at the plot3D class and think about what would
need to be extracted from surfaces provided as meshes/jvxl to plot and
scale them. I haven't looked at this portion of the code in detail
before so have a few questions:
1) As we load isosurfaces do we permanently store max and min values
for each coordinate anywhere? So far I haven't found them stored in
anything as long lived as the isosurface. I see a couple of places
where the isosurface is read to determine these parameters. Do we
want to do this everytime? Seems to me that for plotting purposes
where we will be choosing scale based on this we should keep permanent
records for each dimension.
2) Other things I am considering to have in the plot3D object are:
labels for each degree of freedom (for axes labels)
x:y:z aspect ratios (default 1:1:1 or so bounding box fills window?)
nticksmaj, nticksmin to specify the number of major and minor ticks
number format for axes scales
units for each axis
3) This has also got me thinking about a more general plot object.
How about a generic plot object for objects of any number of
dimensions? The basic idea is that you could specify which triple of
dimensions to use for the x,y,z triplet and use a fourth dimension to
specify a magnitude at a point (plotable as a color intensity, scaled
spheres or used to produce an isosurface at some level), a fourth and
fifth dimension to specify a complex value at a point (not sure how to
plot that...scaled spheres of different colors?), or a fourth, fifth
and sixth dimension to plot a vector field. The key idea being that
we could choose the which triple, qradruple, pentuple or hextuple to
plot out of any n-tuple.
Dr. Jonathan H. Gutow
Chemistry Department email@example.com
800 Algoma Boulevard FAX:920-424-2042
Oshkosh, WI 54901
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
Jmol-developers mailing list