MathGroup Archive 2009

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

Search the Archive

Re: Where does the 'z' come from?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105421] Re: Where does the 'z' come from?
  • From: dh <dh at metrohm.com>
  • Date: Tue, 1 Dec 2009 06:51:07 -0500 (EST)
  • References: <hf2msf$iel$1@smc.vnet.net>


Lawrence Teo wrote:

> Mathematica v7.0 has this sample for ContourPlot[]

> 

> ListContourPlot[

>  Table[Sin[x] Sin[y], {x, -3, 3, 0.1}, {y, -3, 3, 0.1}],

>  ContourLabels ->

>   Function[{x, y, z}, Text[Framed[z], {x, y}, Background -> White]]]

> 

> Where does the z come from?

> Can I say that the x and y come from the iteration by Table[]?

> Is z an implicit variable?

> 

> Thanks

> 

Hi,

z is the thir argument of the function. It is delivered by 

ListContourPlot. It is the value corresponding to the contour line. x 

and y are the coordinates of the label.

Daniel




  • Prev by Date: Re: ListPointPlot3D[] couldn't rotate the graph
  • Next by Date: Re: ListContourPlot[] doesn't paint colored contour when
  • Previous by thread: Re: Where does the 'z' come from?
  • Next by thread: Re: Where does the 'z' come from?