Counting Y axis lines

Hey,
I need the computer to count the lines on the Y axis. I have an excel file that has three variables. does anyone have any algorithm to do this. I have Matlab 2015.

Réponses (1)

Matt
Matt le 8 Fév 2018

0 votes

plot(x,y)
ax = gca;
n = numel(ax.YTick);

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by