Is legend old style deprecated on 7.1.0?

legend like the below works on 6.4.0

plot(1:10, "1;300:2")

but the above does not work on 7.1.0.

error: plot: properties must appear followed by a value
error: called from
    __plt__ at line 95 column 15
    plot at line 229 column 10

Of course, the below works.

plot(1:10); legend("1;300:2;");

This is just a confirmation.

My system

  • OS: Windows 10 (version 2004)
  • Octave version: Version 6.4.0, 7.1.0


plot(1:10, "1;300:2")

First “1” assign color spec.
What is the alternative way?