Error in scatter program
13 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 12 Aug 2013
That is not the code we need. What we need is the code that you are using to call scatter().
Accepted Answer
Walter Roberson
on 13 Aug 2013
It is not valid to pass only a single argument to scatter(). The minimum you can pass is two arguments, X and Y.
0 Comments
More Answers (1)
See Also
Categories
Find more on Discrete Data Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!