Re: max. value in a plot?
- To: mathgroup at smc.vnet.net
- Subject: [mg97463] Re: max. value in a plot?
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Sat, 14 Mar 2009 05:33:39 -0500 (EST)
- References: <gpda3h$jj4$1@smc.vnet.net>
Oliver wrote:
> Hallo,
> i have 2 small questions. how can i find the max. Value of the following Plot?
>
> Plot3D[
> (6*15*(10^-6))/((x - 0)^2 + (y - 0)^2 + (0 - 0.005)^2),
>
> {x, -0.05, 0.05}, {y, -0.05, 0.05}]
>
> and how can i plot the range ONLY from the min to the max value?
> thanks in Advance
>
If you only need the min/max values for plotting, simply use the
PlotRange -> All option.
If you do need to use the numerical values of the minimum/maximum, use
the MaxValue and MinValue functions (NMaxValue if necessary).
If you have an older version than 7, use Experimental`Supremum or
Experimental`Infimum
I hope this helps,
Szabolcs