help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

criptic phrasing in the manual


From: Oz Nahum Tiram
Subject: criptic phrasing in the manual
Date: Mon, 28 Feb 2011 16:06:01 +0100

Hi Everyone,

I can't understand the following sentences in the manual, page 216 in the manual of v3.4:

‘nm ’ If nm is a two digit integer and m is an integer in the range 1 to 6, m is
      interpreted as the point style. This is only valid in combination with the
      @ or -@ specifiers.

later there is a really weird (*imho*) example:
 
Here are some plot examples:
      plot (x, y, "@12", x, y2, x, y3, "4", x, y4, "+")
This command will plot y with points of type 2 (displayed as ‘+’) and color 1 (red),
y2 with lines, y3 with lines of color 4 (magenta) and y4 with points displayed as ‘+’.

when I test this example with the following:

x=[-pi:pi/8:pi];
y=sin(x);
y2=cos(x);
y3=x.^2;
y4=x*3;
plot (x, y, "@12", x, y2, x, y3, "4", x, y4, "+")

I get the following:
sin(x)  - plotted as bright green +
cos(x) - plotted as blue curve
x.^2 - plotted as magenta curve
x*3 is plotted as dark green +

Is it just me ? or is it happening with more people ? I tried octave 3.2 from the Debian repositories.

Thanks,

Oz


---

"Gentlmen! You can't fight in here, this is the War Room!"
President Merkin Muffley
(Peter Sellers, Dr. Strangelove)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]