From help-octave-request at bevo dot che dot wisc dot edu Mon Jan 5 16:12:17 2004 Subject: Re: plotting to Postscript doesn't work? From: Geraint Paul Bevan To: Bart Vandewoestyne CC: help-octave at bevo dot che dot wisc dot edu Date: Mon, 05 Jan 2004 22:19:02 +0000 -----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 -------------------------------------------------------------