MathGroup Archive 2011

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

Search the Archive

Re: x and y plot finding maximum


On Fri, 18 Nov 2011 11:22:45 -0000, florian <flott32 at hotmail.com> wrote:

> 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!!!
>

In[1] :=
lista = RandomInteger[{1, 10}, {5, 2}]

Out[1] =
{{8, 3}, {9, 6}, {8, 3}, {2, 8}, {7, 4}}

In[2] :=
{maxx, maxy} = Max /@ Transpose[lista]

Out[2] =
{9, 8}



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