plotting outline boundary of gridded value data.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello Matlab Community,
I am trying to plot the outline boundary of this data set, I am not able get it.
here I am adding the data set and sample plot where I want to plot the outline boundary of the current image.
can anybody help me on this.
thanks in advance.
0 Kommentare
Antworten (1)
Voss
am 20 Okt. 2022
load('test_data_for_boundary.mat');
surface(x,y,data_zh11)
hold on
idx = ~isnan(data_zh11);
good_x = x(idx);
good_y = y(idx);
b = boundary(good_x,good_y);
plot(good_x(b),good_y(b),'--r','LineWidth',3)
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
