Plotting 1402 data points for a voltammogram

조회 수: 2 (최근 30일)
Chelsea Perkins
Chelsea Perkins 2019년 2월 17일
댓글: Star Strider 2019년 2월 17일
I'm trying to plot 1402 points but when i try 'plot(x,y)' it says I have too many input arguments and when I try to plot a scatter plot it says that line 56 has word, but it doesn't. Please help

답변 (1개)

Star Strider
Star Strider 2019년 2월 17일
... when i try 'plot(x,y)' it says I have too many input arguments ..
You probably have a variable (or your own function) that you named ‘plot’. This is called overshadowing a MATLAB function, and is best absolutely avoided.
To find out what the problem is, type this in your Command Window or a script, then run it:
which plot -all
All of them should share something similar to this path: 'C:\Program Files\MATLAB\R2018b\toolbox\matlab\ ...'
If the first result is:
plot is a variable.
You have found the problem. You then have to go through your code to find out where it is, and change the name.
  댓글 수: 2
Chelsea Perkins
Chelsea Perkins 2019년 2월 17일
when i do that it says "not enough input arguments"
Star Strider
Star Strider 2019년 2월 17일
‘... it says "not enough input arguments"’ when you do what?
The which call, as I described it, should not throw any errors.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by