MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ContourPlot3d labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132310] Re: ContourPlot3d labels
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Fri, 7 Feb 2014 08:08:07 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <gc0ttc$9le$1@smc.vnet.net>

You can use Tooltip:


With[{min = -8, max = 8, nbr = 5},
 ContourPlot3D[x^3 + y^2 - z^2,
  {x, -2, 2}, {y, -2, 2}, {z, -2, 2},
  Contours ->
   Range[min, max, (max - min)/(nbr - 1)],
  ContourStyle -> (n = 0; Tooltip[#,
      min + (max - min)/(nbr - 1)*n++] &),
  Mesh -> None]]


contours = {-2 Pi, -3, 0, E, 7};


ContourPlot3D[x^3 + y^2 - z^2,
 {x, -2, 2}, {y, -2, 2}, {z, -2, 2},
 Contours -> N[contours],
 ContourStyle -> (n = 1; Tooltip[#,
     contours[[n++]]] &),
 Mesh -> None]



Bob Hanlon




On Thu, Feb 6, 2014 at 3:44 AM, ramnath <ramnathbabutj at gmail.com> wrote:

> Using ContourLabels with ContourPlot3D gives the following error :
>
> ContourPlot3D::optx: Unknown option ContourLabels
>
> On Monday, October 13, 2008 4:36:36 PM UTC+5:30, dh wrote:
> > Hi Alejandro,
> >
> > look up the option: ContourLabels in the help.
> >
> > Daniel
> >
> >
> >
> >
> >
> > Alejandro Allievi wrote:
> >
> > > Hi,
> >
> > >
> >
> > > I have a function F(x,y,z) = C (a constant). I'm plotting contour
> >
> > > surfaces using ContourPlot3d for different values of C. The surfaces
> >
> > > plot fine but the contour does not show the value of C, so it's
> >
> > > difficult to visualize which contour is which. Is there any way to
> >
> > > place the value of C on each contour surface??
> >
> > >
> >
> > > Thanks in advance.
> >
> > >
> >
> > > Alejandro
> >
> > >
> >
> >
> >
> >
> >
> > --
> >
> >
> >
> > Daniel Huber
> >
> > Metrohm Ltd.
> >
> > Oberdorfstr. 68
> >
> > CH-9100 Herisau
> >
> > Tel. +41 71 353 8585, Fax +41 71 353 8907
> >
> > E-Mail:<mailto:dh at metrohm.com>
> >
> > Internet:<http://www.metrohm.com>
>
>




  • Prev by Date: Re: Memory leaks problem
  • Next by Date: Re: Result to DEQ with WA versus Step-by-Step Yields
  • Previous by thread: Re: ContourPlot3d labels
  • Next by thread: animation of the PDE