Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Counting Y axis lines

1 view (last 30 days)
Eliot Sperling
Eliot Sperling on 8 Feb 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (1)

Matt
Matt on 8 Feb 2018
plot(x,y)
ax = gca;
n = numel(ax.YTick);

This question is closed.

Community Treasure Hunt

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

Start Hunting!