#12222: default aspect ratio for geometric objects
------------------------+---------------------------------------------------
Reporter: jason | Owner: jason, was
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.8
Component: graphics | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jason Grout
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by novoselt):
Let me repeat a suggestion from #12213: have a distinction between "user
set aspect ratio 1" and "automatically set aspect ratio 1". In the first
case we definitely must do what the user wants. In the second case it is
reasonable to skew circles, if otherwise the plot will be totally
horrible: something like having one dimension 5 times bigger than another.
If this is implemented, I would argue that the default always should be 1,
except for cases when there is a good reason otherwise.
We think that if someone draws a circle, it is expected to be round, but
for lines nobody cares.
However, if I draw two lines with slopes 2 and -1/2, I expect to see that
they are perpendicular, and if they are not - it is the same as a skew
circle.
It also seems to me that plot addition does not have to be associative,
especially for 2D plots: to me left + right means "draw right on top of
left" and it seemed to me that's what it does.
With this convention, it actually may make sense to inherit the aspect
ratio from the left (which is likely to be more complicated, especially in
"+=" operations). I unintentionally expected it when I had a complicated
plot and wanted to add a couple lines to it. When the first plot is
obtained from some function and it also has say, label options adjusted in
a certain way, it gets especially annoying that adding a single line or a
point discards all the customized look, unless I repeat all adjustments
(which were hidden in the function).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12222#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.