Right click for data tip not working?

조회 수: 4 (최근 30일)
Cecily Tye
Cecily Tye 2022년 1월 17일
댓글: Cecily Tye 2022년 1월 20일
Hi,
I have a plot of bathymetry and am trying to use a data tip to get coordinates of certain locations, however the data tip only shows the latitude and longitude to one decimal point, which is absolutely useless at the scale I'm working on. I've seen other questions about this recommending to right click and change the decimal display, however, right clicking (control + click since I'm on a mac) is not doing anything at all. Does anyone have any suggestions?
figure(2)
contourf(X, Y, bath_50m)
b = colorbar
hold on
title('Santa Barbara Channel 50 meter shelf', 'fontsize', 16)
b.Label.String = ('Depth (meters)')
daspect([1 cosd(34.4) 1])
  댓글 수: 2
Adam Danz
Adam Danz 2022년 1월 17일
Are you right-clicking the contour object or are you right-clicking an existing datatip?
Note that you can achieve this programmatically by specifying the format of the datatipTemplate
Cecily Tye
Cecily Tye 2022년 1월 20일
Thank you!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by