Filter löschen
Filter löschen

how to determine the difference in the price scale

1 Ansicht (letzte 30 Tage)
piero
piero am 17 Aug. 2023
Kommentiert: Voss am 17 Aug. 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");

Akzeptierte Antwort

Voss
Voss am 17 Aug. 2023
dt = Ax_Eq.YTick(2) - Ax_Eq.YTick(1);
  4 Kommentare
piero
piero am 17 Aug. 2023
very good..thank
Voss
Voss am 17 Aug. 2023
You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Variables finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by