#12212: Colormap for implicit_plot3d and parametric_plot3d
-------------------------------------+-------------------------------------
       Reporter:  niles              |        Owner:  jason, was
           Type:  defect             |       Status:  positive_review
       Priority:  blocker            |    Milestone:  sage-6.5
      Component:  graphics           |   Resolution:
       Keywords:  colormap, plot     |    Merged in:
        Authors:  Joris              |    Reviewers:  Frédéric Chapoton,
  Vankerschaver, Frédéric Chapoton   |  Niles Johnson, Karl-Dieter Crisman,
Report Upstream:  N/A                |  Jonathan Gutow
         Branch:  u/chapoton/12212   |  Work issues:
   Dependencies:  #17645             |       Commit:
                                     |  36e4d8cae0037fc8442fbd20594a8e36c5b46196
                                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by kcrisman):

 * status:  needs_review => positive_review


Comment:

 Interestingly, looking at the very initial example,
 {{{
 sage: cmsel = [colormaps['autumn'](i) for i in sxrange(0,1,0.05)]
 sage: var('x,y,z')
 sage: implicit_plot3d(x^2+y^2+z^2==4, (x, -3, 3), (y, -3,3), (z, -3,3),
 color=cmsel)
 TypeError: 'NoneType' object is not iterable
 }}}
 still happens, since we need a tuple or something.  But weirdly, this is
 the only way to get colormaps to work with `plot3d` itself!  (As opposed
 to doing a "trivial" parametric plot.)

 So... are we saying that we now have colormaps, after a Herculean effort,
 for implicit and parametric plots, but not for "regular" plots?  There is
 nothing in
 http://sagemath.org/doc/reference/plot3d/sage/plot/plot3d/plot3d.html that
 would suggest we do.

 Needless to say, I am ''not'' holding this up for that, but I have also to
 say that the complete lack of documentation (William's comment in
 [http://ask.sagemath.org/question/7581/use-a-colormap-for-implicit_plot3d/
 Niles original question speaks to this]) for the `plot3d` side definitely
 requires another ticket, and hopefully even the same syntax could work,
 despite what I now agree with Niles is definitely messed-up internals on
 such things.

 See #17660.

--
Ticket URL: <http://trac.sagemath.org/ticket/12212#comment:163>
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.

Reply via email to