#14181: Add outline=False option for rendering 2d polyhedron plots
-------------------------------------+--------------------------------------
Reporter: nthiery | Owner: mhampton
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.8
Component: geometry | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Voker Braun?
Authors: Nicolas M. ThiƩry | Merged in:
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Comment (by nthiery):
Replying to [comment:5 vbraun]:
> How about we let the user specify three dictionaries
> {{{
> P.plot(point={color='red'}, line={...}, polygon={...})
> }}}
> that are then passed to the `**kwds` of the respective graphics objects.
And as special case you can specify `None` to switch them off. Then your
outline-free plot would just be
> {{{
> P.plot(point=None, line=None)
> }}}
Not quite: if P is a polyhedron of dimension 1 in an ambient space of
dimension 2, then I want it to be drawn as a line (no points, no polygon).
Similarly, if P is a point, I want it to be drawn as a point (no line, no
polygon). See the examples in the patch.
I agree that the name "outline" is not good. What I really mean is "draw
only the piece of the same dimension as P", but I did not manage to get a
good name for that. Suggestions?
Thanks for the brainstorming :-)
Nicolas
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14181#comment:6>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.