[Date Index]
[Thread Index]
[Author Index]
Re: Contour levels
*To*: mathgroup at smc.vnet.net
*Subject*: [mg83826] Re: Contour levels
*From*: Oliver Ruebenkoenig <ruebenko at uni-freiburg.de>
*Date*: Sat, 1 Dec 2007 05:50:49 -0500 (EST)
*References*: <fiopjh$9gd$1@smc.vnet.net>
Dear Sigmund,
imsFindContour can do it. You can specify the contour level you are
interested in.
oliver
On Fri, 30 Nov 2007, sigmundv at gmail.com wrote:
> A few days ago a question was posted on how to extract the coordinates
> defining each of the contours returned by ContourPlot[]. Then I would
> like to ask if there is any way to also get the level they belong to?
> Let me illustrate the question by an example:
>
> If I plot the contours (or level curves) of the scalar function f(x,y)
> = x^2 + y^2 by using
>
> cplot = ContourPlot[x^2+y^2,{x,-1,1},{y,-1,1}]
>
> in Mathematica 6.0, I get a few circles. The points defining these
> circles are extracted as follows:
>
> Cases[First[cplot] // Normal, Line[pts_] -> pts, Infinity];
>
> This returns a few lists, each containing a selection of points on a
> circle. Then my question is, if there is any way I can get the level
> to which each of these lists belong. That is, can I ask Mathematica
> which list of points belongs to f(x,y) = 0.4, for example, or, which
> level does a given list of points belong to?
>
> Kind regards,
> Sigmund Vestergaard
>
>
Oliver Ruebenkoenig, <ruebenko AT uni-freiburg.de>
Prev by Date:
**Re: Contour levels**
Next by Date:
**Re: Mathematica: Long divison for polynomials**
Previous by thread:
**Re: Contour levels**
Next by thread:
**Re: Contour levels**
| |