help-octave
[Top][All Lists]
Advanced

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

Re: Cannot plot in gnuplot what works in Octave


From: Henry F. Mollet
Subject: Re: Cannot plot in gnuplot what works in Octave
Date: Thu, 25 Aug 2005 10:32:09 -0700
User-agent: Microsoft-Entourage/11.1.0.040913

Thank you and Dimitri.

Now a question regarding data files in gnuplot vs Octave. I can load in
gnuplot a file 'start.par' with first statement m1 = - 0.001 but I cannot
load a file 'lcdemo.dat' which has 5 column vectors with data but no handles
(if this is the correct expression) for each column. I can plot the data in
the file 'lcdemo.dat' without having to load the data file first and default
is to use 1st col for x and 2nd col for y.

Can I load in gnuplot a vector/matrix with more than 1 element in gnuplot or
would I have to use a statement for each element (e.g. a11 = 1.5, a12 = 2.0
etc.)?
Henry


[/usr/local/share/gnuplot/demo] -bash-2.05b 504$ gnuplot
        G N U P L O T
        Version 4.0 patchlevel 0
Terminal type set to 'aqua'
gnuplot> show variable
        Variables:
        pi = 3.14159265358979

gnuplot> load 'start.par'
gnuplot> show variables
        Variables:
        pi = 3.14159265358979
        ml = -0.0005
cut
gnuplot> load 'lcdemo.dat'

gnuplot> 39.471 1.03307     1.0         0.98765     0.010
         ^
         "lcdemo.dat", line 15: invalid command

gnuplot> plot 'lcdemo.dat'
gnuplot> 



on 8/23/05 5:27 PM, Geordie McBain at address@hidden
wrote:

> Hello.  Use the old Fortran style double-star for exponentiation in
> gnuplot:
> 




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