#7808: Plots seem to be shifted up and to the left by one pixel or so
------------------------+---------------------------------------------------
Reporter: jason | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.4
Component: graphics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by jason):
One more iteration, this time with the option to see the frame:
{{{
@interact
def show_shift(dpi=(50,150,1),frame=False):
# 50 dpi = shifted left
# 70 dpi = shifted up
# 80 dpi = seems perfect
# 100 dpi = shifted up and left
# 105 dpi = shifted up
# 110 dpi = seems perfect
# different results if frame is checked
bl = disk((0.0,0.0), 1, (pi, 3*pi/2), color='yellow')
tr = disk((0.0,0.0), 1, (0, pi/2), color='yellow')
tl = disk((0.0,0.0), 1, (pi/2, pi), color='black')
br = disk((0.0,0.0), 1, (3*pi/2, 2*pi), color='black')
P = tl+tr+bl+br
P.show(figsize=[10,10],dpi=dpi,frame=frame,aspect_ratio=1,xmin=-2,xmax=2,ymin=-2,ymax=2)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7808#comment:3>
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.