Re: x and y plot finding maximum

• To: mathgroup at smc.vnet.net
• Subject: [mg122963] Re: x and y plot finding maximum
• From: "Dr. Wolfgang Hintze" <weh at snafu.de>
• Date: Fri, 18 Nov 2011 07:50:36 -0500 (EST)
• Delivered-to: l-mathgroup@mail-archive0.wolfram.com
• References: <ja5f65\$6a7\$1@smc.vnet.net>

```"florian" <flott32 at hotmail.com> schrieb im Newsbeitrag
news:ja5f65\$6a7\$1 at smc.vnet.net...
> It seems like a fairly simple job but somehow i cannot find a
> solution.
>
> I have a list of coordinates lista={{3,2},{4,8},...}
>
> What i would like to do is to find the max/min y and x coordinates.
>
> Help would be really appreciated!! Thanks!!!
>

You could use Transpose to get the lists of x- and y-coordinates, each
in one list, and then find min and max;
like this

lst = Array[{Random[], Random[]} & , 10];
t = Transpose[lst];
(Max[#1] & ) /@ t
(Min[#1] & ) /@ t
Out[128]=
{0.8925679798969234, 0.9646159435193661}
Out[129]=
{0.2203449244291362, 0.21003593197684423}

Regards,
Wolfgang

```

• Prev by Date: Re: x and y plot finding maximum
• Next by Date: Pattern replacement
• Previous by thread: Integrating a rotated function inbetween two circles
• Next by thread: Solve equation with summation?