Is there an embedded function within JMP or does someone know an easy way for JMP to output the area of a given contour or all the contours in a contour plot? I can find code in python or matlab i could adapt but wondered if there was something easy already available in the community.
I'm interested in knowing the total area of each color in the plot.
Which version of JMP are you using? I created a script to do what you want, counting pixels, using JMP 11. It works through JMP 13. I think it broke in JMP 14.x where x>1. The earlier versions of JMP Save Script exposed the contour labels and colors (the 3rd argument in each contour expression below), so it was easy to parse and count matching pixels.
Specify Contours( Min( 2 ), Max( 8 ), N( 7 ), Contour( 1, 2, -5793511 ), Contour( 2, 3, -8423637 ), Contour( 3, 4, -10725064 ), Contour( 4, 5, -12632256 ), Contour( 5, 6, -12885662 ), Contour( 6, 7, -13595764 ), Contour( 7, 8, -14828355 ), Contour( 8, 8, -16517899 ) ),
After JMP 14.x Save Script did not expose the contour colors, only
Specify Contours( Min( 2 ), Max( 8 ), N( 7 ) ),
So the script needs to be converted to get the colors from the Legend (get journal).
Let me know which version of JMP you are using. Look for a later post that should work for all versions.