#12212: Colormap for implicit_plot3d and parametric_plot3d
-------------------------------------+-------------------------------------
Reporter: niles | Owner: jason, was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: graphics | Resolution:
Keywords: colormap, plot | Merged in:
Authors: Joris | Reviewers: Frédéric Chapoton,
Vankerschaver, Frédéric Chapoton | Niles Johnson
Report Upstream: N/A | Work issues:
Branch: u/chapoton/12212 | Commit:
Dependencies: | 41fe504cbf6dc5244e22bfd6dd4b374fd7d1eb28
| Stopgaps:
-------------------------------------+-------------------------------------
Comment (by kcrisman):
Okay, I've been trying to think about this, because I just don't think
this is necessarily going to resolve itself easily. What if instead of
`color_data` being a named argument it became (yet another) keyword? Then
in principle that could (later) be overloaded with the ability to give
color based on the parametrization, not the embedding in space, since that
would probably need more than the one function. One would have then the
following (potential) options:
* Take an existing 3d plot, and apply one of Joris' transformations to it
as a function of `x,y,z`.
* Have a colormap applied at the time of creation via one of Frederic's
functions of `x,y,z`.
* Have a colormap applied at the time of parametrization, which would
then be a color based on a function of the parameters, perhaps with some
check for variable names or whatnot. (The previous options already cover
based on implicit plots.) Or it could just have a different form, I don't
know.
Another option would be to have the color keyword take a colormap, but
then raise an error if an optional keyword `color_function` was not
supplied.
--
Ticket URL: <http://trac.sagemath.org/ticket/12212#comment:71>
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.