[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Weird error with gnuplot: 'invalid command'
From: |
Alexander Klink |
Subject: |
Weird error with gnuplot: 'invalid command' |
Date: |
Tue, 12 Apr 2005 10:15:48 +0200 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi,
when I try to plot something using gnuplot, I get the following
error:
gnuplot> '/tmp/oct-kpni5m' "" lines 1 set grid ; set xlabel
"Matchingscore" set ylabel "Normierte Haeufigkeit" set title
"Haeufigkeitsverteilung Keine Brille, Kein Bart Algorithmus 7" set
nologscale ;set nopolar ; '/tmp/oct-mwSCLt' "" lines 1 set nologscale
;set nopolar ; '/tmp/oct-w19cMD' "" lines 2
^
line 0: invalid command
I tried to isolate the error and reproduce it, but no luck: when I
use only the relevant commands and put them in a seperate file,
octave run's just fine. The working version looks something like
this:
grid on
xlabel('test x')
ylabel('test y')
title('title')
gset term postscript color
gset output "/tmp/test.eps"
edges = 0:0.025:1
impostor = [ ... ]
genuine = [ ... ]
plot(edges, impostor, 'r')
hold on
plot(edges, genuine, 'g')
hold off
replot
Anything I might have forgotten in code further up that influences
these commands to throw the error? Or any idea how to debug this
further? I tried setting the gnuplot_binary to something like
'cat > /tmp/log', but that did nothing at all :-/
I'd appreciate your help.
TIA,
Alex
-------------------------------------------------------------
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
-------------------------------------------------------------
- Weird error with gnuplot: 'invalid command',
Alexander Klink <=