Effacer les filtres
Effacer les filtres

how to determine the difference in the price scale

1 vue (au cours des 30 derniers jours)
piero
piero le 17 Août 2023
Commenté : Voss le 17 Août 2023
scale sx is:
0
5000
10000
15000
how can i detect this difference? (5.000)
i use this code to create this graph:
plot(Ax_Eq,XDates,sis_,'DisplayName','OneContract','Color','blue');
ytickformat(Ax_Eq,'usd');
axis(Ax_Eq, 'tight');
disableDefaultInteractivity(Ax_Eq)
grid(Ax_Eq,"on");

Réponse acceptée

Voss
Voss le 17 Août 2023
dt = Ax_Eq.YTick(2) - Ax_Eq.YTick(1);
  4 commentaires
piero
piero le 17 Août 2023
very good..thank
Voss
Voss le 17 Août 2023
You're welcome!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Variables dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by