Error in scatter program
12 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to plot the x and y variables in 'scatter' mode which is pre-defined in the MATLAB.
This is the error
Undefined function or variable "s".
Error in ==> scatter at 74
if isempty(s), s = 36; end
Can anyone please help me to get solved by this problem.
Thank you
4 个评论
Walter Roberson
2013-8-12
That is not the code we need. What we need is the code that you are using to call scatter().
采纳的回答
Walter Roberson
2013-8-13
It is not valid to pass only a single argument to scatter(). The minimum you can pass is two arguments, X and Y.
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Data Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!