[Top][All Lists]

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

problem with 'replot'

From: Thomas Walter
Subject: problem with 'replot'
Date: Fri, 29 Jan 1999 10:48:03 +0100

I'm new to 'octave' but I found a problem with 'gnuplot' and 'octave'
version 2.0.13 (installed as binary package) and V (self
compiled with 'egcs-1.1b on RH-5.1 Linux)

Being at the octave prompt
        oct> replot ("sin(x)")
works fine but
        oct> replot ("sin(x) w l")
gives the error message
        line 0: undefined variable: t

This is because of a wrong syntax sent to 'gnuplot'.
Octave sends
        pl sin (x) w l t "bla"
and the correct syntax (from the gnuplot-3.7 manual) is
        pl sin (x) t "bla" w l

This is:  the title has to come first and then line styles.



Was ist der beste Rat?
        Der Vorrat 8-)

Dipl. Phys. Thomas Walter
Inst. f. Physiklische Chemie II
Egerlandstr. 3                          Tel.: ++9131-85 27326 / 27330
91058 Erlangen, Germany                 email: address@hidden

reply via email to

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