help-octave
[Top][All Lists]
Advanced

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

Re: plotting to Postscript doesn't work?


From: Geraint Paul Bevan
Subject: Re: plotting to Postscript doesn't work?
Date: Mon, 05 Jan 2004 22:19:02 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031105 Thunderbird/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bart Vandewoestyne wrote:

|> octave:1> plot (sin (0:10))
|
|
| Hmm... first of all, does the above line really work for you?  I get:
|
| octave:1> plot (sin (0:10))
| error: octave_base_value::array_value(): wrong type argument `range'
| error: evaluating argument list element number 1
|

It works in Octave 2.1.50. However, for version 2.1.52 you have to
enclose the range in square brackets: plot (sin ([0:10]))


- --
Geraint Bevan
http://homepage.ntlworld.com/geraint.bevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iEYEARECAAYFAj/54tYACgkQcXV3N50QmNN0ogCfZ6N4XUrZxQRjasnz69hvXOT9
TyAAnjfPxzZnaccR7t6ntVYnpzJHRFpX
=Jaf/
-----END PGP SIGNATURE-----



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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