help-octave
[Top][All Lists]
Advanced

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

Re: fyi: pl_plot and whitespace_in_literal_matrix


From: Douglas Eck
Subject: Re: fyi: pl_plot and whitespace_in_literal_matrix
Date: Mon, 11 Mar 2002 10:00:33 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204

John W. Eaton wrote:
On  8-Mar-2002, Douglas Eck <address@hidden> wrote:

| Douglas Eck wrote:
| > For reasons I cannot remember, presumably matlab compatability, I had
| > whitespace_in_literal_matrix = "traditional"
| > in my .octaverc
| | It also looks like prefer_column_vectors needs to be 1

For what?

If you mean that some scripts that are part of Octave depend on having
prefer_column_vectors set to 1, can you say which ones?  They should
be fixed to work no matter what the settings are.

jwe

Sorry for such a vague post, John (and other readers). The plplot demos do
not run with my configuration with prefer_column_vectors = 0
(debian sid running octave-plplot and latest 2.1 octave packages)
The problem is somewhere in plplot_octave.oct and so I'm not getting a trace.
I'm sure it's an easy fix but I don't have time today to track it down. 
Basically
x and y need to be column vectors.

If you set prefer_column_vectors = 1 and run plplot_octave_demo.m
everything works fine.

If you set prefer_column_vectors = 0 and run plplot_octave_demo.m
you see this:


Some demos print instructions, so keep this window visible.

Press any key to continue...
Demo x01c
Plplot library version: 5.0.2
 [My note: here is where we call plplot_octave from plpoin line 1038]

error: dimension mismatch in argument x
error: called from `plpoin'
error: called from `plot1'
error: called from `go'
error: near line 213 of file `/usr/share/doc/octave-plplot/examples/x01c.m'
error: near line 27 of file 
`/usr/share/doc/octave-plplot/examples/plplot_octave_demo.m'



-------------------------------------------------------------
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]