#17209: allow the use of distinct edgecolor and color for polygons (and other 2d
shapes)
------------------------+----------------------------------------------
Reporter: chapoton | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.4
Component: graphics | Keywords: edgecolor, polygon, plot2d
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
------------------------+----------------------------------------------
I would like to have a green polygon with black border. I can achieve this
by superposing two polygons:
{{{
sage: P = polygon([[0,0],[0,1],[2,1],[1,0]],color='limegreen',fill=True)
sage: P += polygon([[0,0],[0,1],[2,1],[1,0]],color='black',fill=False)
sage: P
}}}
It should be possible to do that with '''one polygon''', using the
`edgecolor` keyword of `matplotlib`.
See http://ask.sagemath.org/question/24600/how-to-plot-a-polygon-with-
distinct-colors-for-border-and-interior/
--
Ticket URL: <http://trac.sagemath.org/ticket/17209>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.