save contour plot as image

  • Follow


dear all 

i have a data that i'm displaying it with the use of contour plot  ... it show a single contour line like a circle ... this circle show a slice of half a  peak  which i need to measure it area ... is there is any way i can save the plot data as an image ( the contour look  only ) without the axis and then use this image to measure the contour area ... 


Ahmad   
0
Reply Ahmad 5/24/2010 11:08:05 AM

"Ahmad Alkandri" <a_alkandri@yahoo.com> wrote in message 
news:htdmml$6e2$1@fred.mathworks.com...
> dear all
> i have a data that i'm displaying it with the use of contour plot  ... it 
> show a single contour line like a circle ... this circle show a slice of 
> half a  peak  which i need to measure it area ... is there is any way i 
> can save the plot data as an image ( the contour look  only ) without the 
> axis and then use this image to measure the contour area ...

CONTOUR can return the contour matrix as the first output; if your contour 
is convex, you could then use POLYAREA to compute the area directly using 
the coordinates in the contour matrix.

-- 
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 


0
Reply Steven 5/24/2010 1:19:23 PM


Ahmad Alkandri wrote:

> i have a data that i'm displaying it with the use of contour plot  ... 
> is there is any way 
> i can save the plot data as an image ( the contour look  only ) without 
> the axis and then use this image to measure the contour area ...

set the axis Visible property to 'off' and then you can use saveas() on 
the axis to write the plot to a file. Or you might prefer getframe() 
instead of saveas()
0
Reply Walter 5/24/2010 11:29:46 PM

2 Replies
357 Views

(page loaded in 0.848 seconds)

Similiar Articles:













7/28/2012 3:38:35 PM


Reply: