MathGroup Archive 2009

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

Search the Archive

Re: Extracting contour values from ContourPlot


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