How do I hide the label on imdistline?
1 回表示 (過去 30 日間)
古いコメントを表示
I am trying to hide the pixel lable on the imdistline tool. Below is my code. Thanks!
distLineHandle = imdistline(handles.imageAxes);
api = iptgetapi(distLineHandle);
api.setLabelVisible(false);
pause();
d = api.getDistance;
1 件のコメント
Rik
2017 年 11 月 15 日
If I run this code, it hides the label for me on R2017a and R2012a. So I don't know what your issue is, but it is not reproducible for me on Windows.
figure(1),clf(1)
load penny
imshow(P,[])
handles.imageAxes=gca;
distLineHandle = imdistline(handles.imageAxes);
api = iptgetapi(distLineHandle);
api.setLabelVisible(false);
pause();
d = api.getDistance;
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!