finding coordinate of closed region in plot

7 views (last 30 days)
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
Sean de Wolski
Sean de Wolski on 15 Jul 2011
Or even better yet just a sample of data
Walter Roberson
Walter Roberson on 17 Jul 2011
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)

bym
bym on 2 Jul 2011
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)

Walter Roberson
Walter Roberson on 17 Jul 2011
interp2(w1,p1,green,XtoExtract,YtoExtract)
  2 Comments
Image Analyst
Image Analyst on 25 Jul 2011
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

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!