Error in scatter program
조회 수: 8 (최근 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에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!