How do I hide the label on imdistline?
    조회 수: 2 (최근 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개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Basic Display에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


