Thickness of height profile in Matlab

2 ビュー (過去 30 日間)
Suneet Kale
Suneet Kale 2020 年 11 月 23 日
コメント済み: Suneet Kale 2020 年 11 月 29 日
I have aploted AFM height profiles from images using plot fuction in matlab.
I also need to find the difference or thickness from these height profiles, Is there a way I can do that in Matlab.
Here is what I have so far
This image has two height profiles and I can plot the maximum and minimum data lines for the profile.
I also need the difference on the plot. This is what I want (I use power point for this)
I have attached the code I use. Any help will be appreciated.
Thank you.


Nora Khaled
Nora Khaled 2020 年 11 月 23 日
Try this
% to plot vertical line
ymin=B % min point
ymax=A %max point
line([xAxis xAxis], [ymin ymax]);
% add text
txt = 'Thickness';
  1 件のコメント
Suneet Kale
Suneet Kale 2020 年 11 月 29 日
Thank you that helps but I have to process close to 30+ graphs like thi.
Is there a way where I can do it without writng custom values for everything?


その他の回答 (0 件)


Find more on 2-D and 3-D Plots 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!

Translated by