From help-request at octave dot org Thu Jan 13 09:07:02 2005 Subject: plot, fill and colours From: Carine Simon To: help at octave dot org Date: Thu, 13 Jan 2005 06:27:15 -0600 Dear all, I am still fighting with Octave and Gnuplot (cf previous mail). To start with, I am trying to do something simplier: plotting some data in black, in filled style. I can do it for any function by doing for example: octave:43> gset style line 1 lt -1 octave:44> gplot "sin(x) ls 1" octave:45> gset style function filledcurves it does give the result I want. But I can't manage to do the same with a data matrix: if data is a matrix, defined as x = (-10:0.1:10)'; data= [x, sin(x)]; octave:81> gplot data does plot the sine, but octave:82> gset style line 1 lt -1 octave:83> gplot "data ls 1" octave:84> line 0: undefined variable: data And if I just type octave:84> gplot data ls 1 it doesn't do anything. Anybody could help me? Thanks, Carine. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------- 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 -------------------------------------------------------------