#2100: sensible defaults for aspect ratio
---------------------------+------------------------------------------------
   Reporter:  jason        |       Owner:  was     
       Type:  enhancement  |      Status:  new     
   Priority:  major        |   Milestone:  sage-4.6
  Component:  graphics     |    Keywords:          
     Author:               |    Upstream:  N/A     
   Reviewer:               |      Merged:          
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by jason):

 || Matplotlib aspect ratio setting || Matplotlib adjustable setting ||
 Mathematica
 [http://trac.sagemath.org/sage_trac/search/opensearch?q=wiki%3AAspectRatio
 AspectRatio] setting || Explanation ||
 || 'auto' || doesn't seem to matter || Full || Make the current data
 limits fill the available sized box ||
 || 'equal' or 1 || 'box' || Automatic || Make each pixel be square (aspect
 ratio 1) ||
 || || || || ||

 It appears that specifying a number in matplotlib ('box' adjustable) makes
 the *pixels* have a certain height-to-width ratio (e.g., a circle in the
 picture will appear to have the given aspect ratio), but in Mathematica, a
 number specifies the overall ratio of the *image* height-to-width.  Thus
 the numbers are not directly comparable.

 Plus, in matplotlib, you can have the 'datalim' be adjustable, which
 changes the data limits on your plot to make the pixels have a certain
 aspect ratio.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2100#comment:5>
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.

Reply via email to