Thickness of height profile in Matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
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.
댓글 수: 0
채택된 답변
Nora Khaled
2020년 11월 23일
Try this
% to plot vertical line
xAxis=1.25
ymin=B % min point
ymax=A %max point
line([xAxis xAxis], [ymin ymax]);
% add text
txt = 'Thickness';
text(xAxis+1,C/2,txt)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!