#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:                     |  3ac721d126fee2e7704b6db62e5152afbf49a19c
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by chapoton):

 Compare
 {{{

     cdef apply_color_func(self, color_c *pt, fn, cm, VertexInfo v):
         t = fn(v.eval_pt.x, v.eval_pt.y, v.eval_pt.z)
         pt[0].r, pt[0].g, pt[0].b, _ = cm(t)
 }}}
 and
 {{{
                 if self.color_function is not None:
                     face.color.r, face.color.g, face.color.b, _ =
 self.colormap(self.color_function(urange[i], vrange[j]))


 }}}
 Maybe the different behaviour comes from here..

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