Right click for data tip not working?

14 Ansichten (letzte 30 Tage)
Cecily Tye
Cecily Tye am 17 Jan. 2022
Kommentiert: Cecily Tye am 20 Jan. 2022
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 Kommentare
Adam Danz
Adam Danz am 17 Jan. 2022
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 am 20 Jan. 2022
Thank you!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by