Info

此问题已关闭。 请重新打开它进行编辑或回答。

Counting Y axis lines

1 次查看(过去 30 天)
Eliot Sperling
Eliot Sperling 2018-2-8
关闭: MATLAB Answer Bot 2021-8-20
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
plot(x,y)
ax = gca;
n = numel(ax.YTick);

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by