Bill Page wrote:
> The optional labeled axes in jmol 3-d graphics is a nice addition but
> take a look at, for example:
> 
>   line3d([(0,0,0), (-3,4,-5),(3,4,-5),(3,-4,5)])
> 
> In the 4.1.2 notebook. Right-click the image and turn on Style/Axes.
> Notice how the diagonal line does not appear to start at where you
> would expect the origin to be. The origin appears to be displaced a
> little along the Y-axes. Both the X and Y axes appear to extend beyond
> the box. Not too serious but is this a known problem?


Yes.  The axes you turn on are centered in the picture, but do not 
correspond to data coordinates.

The underlying reason has to do with some fiddling that happens with 
rescaling things so that to jmol, everything appears to be in a box 
between [-1..1] (or something like that).  The axes appear at the jmol 
origin, but because we have scaled and translated things before sending 
it to jmol, our origin may not correspond with the jmol origin.

There is a trac ticket about this.

For now, we could probably just put the axes as a small set of axes down 
in the corner, instead of in middle of the figure.

Thanks,

Jason



-- 
Jason Grout


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to