- #1

MathematicalPhysicist

Gold Member

- 4,294

- 203

## Main Question or Discussion Point

I am using Matlab's 2017Rb academic license.

And while trying to operate the following sequence of commands:

I get the following warning:

What seems to be wrong in the above code?

Thanks.

And while trying to operate the following sequence of commands:

Matlab:

```
x = linspace(0,2*pi,1000);
y = sin(2*x);
plot(x,y,'k−','linew',2); hold on;
```

Matlab:

```
Error using plot
Error in color/linetype argument.
```

Thanks.