[Top][All Lists]

[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/

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

[/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
        pi = 3.14159265358979

gnuplot> load 'start.par'
gnuplot> show variables
        pi = 3.14159265358979
        ml = -0.0005
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'

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

> 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:
How to fund new projects:
Subscription information:

reply via email to

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