#4248: aspect_ratio is buggy in plot3d
------------------------+---------------------------------------------------
Reporter: jhpalmieri | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: sage-3.1.3
Component: graphics | Keywords: aspect_ratio, plot3d
------------------------+---------------------------------------------------
{{{aspect_ratio}}} doesn't obey its documentation. If I type
{{{
sage: var('x y')
sage: Q = plot3d(sin(x+y), (-3,3), (-2,2))
sage: Q.show(aspect_ratio=[1,1,1])
}}}
then I get what I expect: the x-, y-, and z-axes are given the same scale,
so ratio of the length of the x-axis to the length of the y-axis is 3:2.
But if I do
{{{
sage: Q.show(aspect_ratio=[1,1,2])
}}}
then suddenly the y-axis goes from -4 to 4, and the ratio of the lengths
of the x- and y-axes is 3:4 (so the aspect_ratio in the two dimensions x
and y is [2,1] instead of [1,1]).
Here is a web page with pictures showing the problem:
[http://www.math.washington.edu/~palmieri/Sage/ar.html]
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4248>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---