How to specify yticklabel at specific ticks?

1 vue (au cours des 30 derniers jours)
Leon
Leon le 2 Fév 2022
Commenté : Leon le 2 Fév 2022
For example, if I have a y-axis ranging from 0-100. My "ytick" is [0:10:100]. How do I only add ticklabels at the below unevenly distributed tick locations?
15, 27, 33, 45, 75
This is my 2nd y-axis and my goal is to add some particular lables at these locations, while not messing up with the existing tick locations.

Réponse acceptée

VBBV
VBBV le 2 Fév 2022
  1 commentaire
Leon
Leon le 2 Fév 2022
Many thanks for your help!

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by