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.

回答(1 个)

Matt
Matt 2018-2-8

0 个投票

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

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by