#7793: zorder not implemented in disk
------------------------+---------------------------------------------------
Reporter: kcrisman | Owner: was
Type: defect | Status: positive_review
Priority: minor | Milestone: sage-4.3.2
Component: graphics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Changes (by rossk):
* status: needs_review => positive_review
Comment:
The patch fixes the zorder problem (the code below produces 3 colorful
bullseyes).
{{{
sage: d1 = disk((0,0), 1, (0, 2*pi), color = 'red', zorder=0)
sage: d2 = disk((0,0), 0.75, (0, 2*pi), color = 'brown', zorder=1)
sage: d3 = disk((0,0), 0.5, (0, 2*pi), color = 'green', zorder= 2)
sage: d4 = disk((0,0), 0.25, (0, 2*pi), color = 'yellow', zorder=3)
sage: final = d4 + d3 + d2 + d1
sage: final.show(aspect_ratio = 1)
sage: final2 = d1 + d2 + d3 + d4
sage: final2.show(aspect_ratio = 1)
sage: final3 = d3 + d2 + d4 + d1
sage: final3.show(aspect_ratio = 1)
}}}
(Note: Intuitively, final, final2 and final3 should all produce the same
image and they do)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7793#comment:2>
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.