フィルターのクリア

Right click for data tip not working?

6 ビュー (過去 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 件)

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by