简体   繁体   English

知道Matlab图中有多少点的过程

[英]Procedure to know how many points are there in the matlab plot

I am wondering if there is any way in matlab which let me to know number of points in the plot ?! 我想知道在matlab中是否有任何方法可以让我知道图中的点数? In other words, if I have plot(x,y,'*'); 换句话说,如果我有plot(x,y,'*'); and I want to know how many points * is there in this plot. 我想知道图中有多少点*

Thank you .. 谢谢 ..

该数目等于y中的元素数目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM