Clear Filters
Clear Filters

how to determine the difference in the price scale

1 view (last 30 days)
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");

Accepted Answer

Voss
Voss on 17 Aug 2023
dt = Ax_Eq.YTick(2) - Ax_Eq.YTick(1);
  4 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Variables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!