#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 kcrisman):

 > Maybe the different behaviour comes from here..

 This confirms my thought that for some choices of colormaps and color
 evaluation functions the colormaps just don't work right with jmol (too
 large of values or too close to zero or whatever).   For instance,
 {{{
 var('x,y,z')
 t = (x+y+z).function(x,y,z)
 cm = colormaps.terrain
 implicit_plot3d(x^2+y^2+z^2==4, (x, -3, 3), (y, -3,3), (z, -3,3),
 color=(t,cm))
 }}}
 works fine in jsmol and jmol, while with the sin functions you were using
 it does not.  I think the "blank" ones are ones where the values are too
 close to zero, or something like that.  Switch to
 {{{
 cm = colormaps.flag
 }}}
 and you will have a big surprise - Tachyon, jmol, and jsmol are all
 different!

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