MathGroup Archive 2009

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

Search the Archive

Re: simple Question

  • To: mathgroup at
  • Subject: [mg99707] Re: simple Question
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at>
  • Date: Mon, 11 May 2009 06:28:11 -0400 (EDT)
  • References: <gu667g$9ud$>

Hi Oliver,

Various possibilities here:

If you just want to quickly know the maximum value shown in the plot
you may select the plot, press shift-period and move the cursor to the
highest point in your plot. The maximum will be in the tooltip.

Second possibility is to examine the graphics commands underlying the
plot. You can see them if you use FullForm. You have to delve deep for
the nested data you need, but you can get there. For example:
(Plot[Sin[x], {x, 0, Pi}] // FullForm)[[1, 1, 1, 3, 2, 1, All,
   2]] // Max

Third possibility is to use MaxValue or Maximize on the function you
plotted using the plotrange as constraint:
MaxValue[{Sin[Cos[5 x]], 0 <= x <= 2 \[Pi]}, x]

Hope this helps.

Cheers -- Sjoerd

On May 10, 11:19 am, Oliver <sch_oliver2... at> wrote:
> Hallo,
> how can i read the max value in a plot in mathematica?
> thanks in advance..
> Oli.

  • Prev by Date: Re: second simple problem
  • Next by Date: Re: simple question
  • Previous by thread: Re: simple question
  • Next by thread: Re: Re: simple Question