Dear Frederic,

Would the options to contour_plot be of help?  For instance,

sage: contour_plot?
<snip>
       * ``cmap`` -- a colormap (default: ``'gray'``), the name of a
         predefined colormap, a list of colors or an instance of a
         matplotlib Colormap. Type: ``import matplotlib.cm;
         matplotlib.cm.datad.keys()`` for available colormap names.

<snip>
       * ``labels`` -- boolean (default: False) Show level labels or
not.

         The following options are to adjust the style and placement
of
         labels, they have no effect if no labels are shown.

         * ``label_fontsize`` -- integer (default: 9), the font size
of
           the labels.

         * ``label_colors`` -- string or sequence of colors (default:
           None) If a string, gives the name of a single color with
which
           to draw all labels.  If a sequence, gives the colors of the
           labels.  A color is a string giving the name of one or a
           3-tuple of floats.

         * ``label_inline`` -- boolean (default: False if fill is
True,
           otherwise True), controls whether the underlying contour is
           removed or not.


If there are additional things in Matplotlib we have not wrapped which
you could use here, we would be very interested in hearing this.

On the other hand, if you truly want to specify the color of a
specific point, you would have to create Point or Line objects and use
the color or rgbcolor keywords.  But it sounds like what you are
looking for is a contour plot, or possibly also implicit_plot3d (in
the latter case, you would specify a different color for each contour
you implicitly plot, and then add the graphics together before viewing
it).  At any rate, the documentation for all the plotting functions
should answer many of your questions.

If I've interpreted your question incorrectly, please let us know!
Good luck.

- kcrisman


On Jun 22, 9:31 am, "[email protected]" <[email protected]>
wrote:
> Dear all,
>
> I have a continuous real function defined on the plane and I want to
> plot its iso-level sets in very contrasted colors in order for these
> levels to really show. The result could be in 2D or 3D. I am currently
> using list_plot3d and jmol.
>
> What are the options to pass to 2D or 3D viewers in order to specify
> the color of a particular point?
>
> Thanks heap for any lead to follow.
>
> Frédéric Rieux from  sunny Montpellier

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to