TransWikia.com

Find the Minimum and Maximun of ListDensityPlot in Mathematica

Mathematica Asked by BumbaS on December 4, 2020

I have a set of data points, lets say {x_i,y_i,A_i}. I want to find the Minimum and Maximum value of A_i from a ListDensityPlot in Mathematica. Along with the corresponding x_i & y_i values.

One Answer

Use Max and Min:

    f[x_] := x^2 + y^2
    data = Table[{x, y, f[x]}, {x, -5, 5, .1}, {y, -5, 5, .1}]
    datamax = Max[Map[#[[3]] &, Flatten[data, 1]]]
    datamin = Min[Map[#[[3]] &, Flatten[data, 1]]]

Answered by Rupesh on December 4, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP