Counting Y axis lines
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
on 8 Feb 2018
0 votes
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!