#12212: Colormap for implicit_plot3d and parametric_plot3d
-------------------------------------+-------------------------------------
       Reporter:  niles              |        Owner:  jason, was
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    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:  update documentation
   Dependencies:                     |  and examples
                                     |       Commit:
                                     |  3ac721d126fee2e7704b6db62e5152afbf49a19c
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by chapoton):

 Little progress.

 The problem appears using only the pmesh files and not the script. So the
 problem is in the pmesh files.

 1) it seems that Jmol does not like the color 0 at all. Replacing 0 by 1
 enhances things a little bit. This is a symptomatic cure of only part of
 the problem.

 2) but the example of comment:115 still does not work

 I suspect that there could be some problem inside Jmol about the treatment
 of colored pmesh. It may be difficult to investigate without close contact
 with the Jmol team.

 Here is a new simple testing case
 {{{
 var('x,y,z')
 t = z.function(x,y,z)
 cm = colormaps.flag
 P = implicit_plot3d(z-x*x-y*y,(x,-2,2),(y,-2,2),(z,-1,4),color=(t,cm))
 }}}
 Was not working with Jmol
 Now works correctly with Jmol
 Produces spectacular unexpected special effects with Jsmol

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