MathGroup Archive 2009

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

Search the Archive

Re: Extracting contour values from ContourPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100831] Re: Extracting contour values from ContourPlot
  • From: dg <davide.guarisco at gmail.com>
  • Date: Mon, 15 Jun 2009 05:37:51 -0400 (EDT)
  • References: <h12gg4$ect$1@smc.vnet.net> <h13vp8$8pm$1@smc.vnet.net>

On Jun 14, 4:06 pm, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de>
wrote:
> Hi,
>
> plt = ContourPlot[Cos[x*y], {x, -Pi, Pi}, {y, -Pi, Pi}];
>
> and
>
> Cases[plt, _Tooltip, Infinity] /. Tooltip[_, lbl_] :> lbl
>
> ?
>
> Regards
>    Jens
>


Thanks, but this only put labels on the contours inside the plot.
Perhaps I wasn't very clear. I know I can label the lines inside the
plot. That's not what I want. I want a separate legend.




  • Prev by Date: Re: Combined Set, SetDelayed
  • Next by Date: Re: Trig identity for linear combination of sines
  • Previous by thread: Re: Re: Extracting contour values from ContourPlot
  • Next by thread: Re: Extracting contour values from ContourPlot