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);

この質問は閉じられています。

質問済み:

2018 年 2 月 8 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by