[Top][All Lists]

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

Octave won't plot from script file

From: Glen Shennan
Subject: Octave won't plot from script file
Date: Sun, 2 Jan 2011 13:05:42 +1100


I'm trying to run script files which aim to produce plots using Octave with the plot() function.  When I run the files using QtOctave the plot appears fine, as it does when I run octave from a terminal then invoke the script from the Octave prompt.


~$ octave
octave:1> script.m

does work but

~$ octave script.m

does not.  I'm using Ubuntu 10.04 with Octave 3.2.4 and GNUPlot 4.4.  I've been searching for hours and I keep seeing problems which look similar to this and I've tried many fixes ("set terminal x11 -persist" in .gnuplot etc.) but nothing I've done has produced any change in behaviour at all.  Is there anything I've missed?

Thanks, and a happy new year to you all!

reply via email to

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