finding coordinate of closed region in plot

Tanks for helping Tank you for an answer my question. However, it is not correct. I have a matrix, plot this, but I want specific data of this matrix, in the attachment file you can understand my question.
1-http://www.mediafire.com/?8ah92r42raiet8q 2-http://www.mediafire.com/?x3iyn4f319dzvoc 3-http://www.mediafire.com/?xst61qgjfwdmm9x
I want all data in the close lope I draw by pain.
Tanks for helping I want all dara rang in this close lop

3 Comments

What is a .rar file. I don't trust it and won't download/open it. post an image or a .mat file
Or even better yet just a sample of data
It appears the question has been edited so that the links are now to a .png file, a .mat file, and a small .txt file that show the command that was used.

Sign in to comment.

Answers (2)

Maybe this will help:
clc;close;clear
contour(peaks)
hold on
[c,h] = contour(peaks,[5,5]);
c(:,1)=[]; % extract coordinates
plot(c(1,:),c(2,:),'k--','linewidth',2)
interp2(w1,p1,green,XtoExtract,YtoExtract)

2 Comments

No what? Would you like us to be as brief as you are to us? How would you like us to answer you in one word responses? Would that help you? OK, so here's my word: "huh?"

Sign in to comment.

Categories

Asked:

on 1 Jul 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!