#12212: Colormap for implicit_plot3d and parametric_plot3d
-------------------------------------+-------------------------------------
       Reporter:  niles              |        Owner:  jason, was
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.3
      Component:  graphics           |   Resolution:
       Keywords:  colormap, plot     |    Merged in:
        Authors:  Joris              |    Reviewers:
  Vankerschaver                      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/chapoton/12212   |  edc63704fb1f82ec1897ec299935b2589dfb2170
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by chapoton):

 The `'canvas3d'` viewer (using `json` output with colors defined here and
 a patched `sagenb`) results look good, but there seems to be a little
 problem in the notebook. Here is one example
 {{{
 from sage.plot.plot3d.parametric_surface import ParametricSurface
 cm = colormaps.autumn
 def c(x,y): return sin(x*y)**2
 def g(x,y): return x, y, x**2 + y**2
 P1 = ParametricSurface(g, (srange(-10,10,0.1), srange(-5,5.0,0.1)),(c,cm))
 }}}
 When one defines several parametric surfaces, say P1 and P2. Try
 P1.show(viewer='canvas3d') inside one cell. Then change '''this cell''' to
 P2.show(viewer='canvas3d'). It will still show P1 and will never change,
 whatever you do to P1. No such problem inside a new cell. Seems to be some
 caching problem.

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