[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Skipping comments in load files
From: |
Dmitri A. Sergatskov |
Subject: |
Re: Skipping comments in load files |
Date: |
Mon, 04 Oct 2004 21:15:39 -0600 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040913) |
Joe Koski wrote:
...
gnuplot will all ignore input data lines that start with #. I tried this in
octave with both # and % without success.
# seems to work for me:
address@hidden octave]$ cat b
# this is some comment line
# plot y = 2*x
# first column x second y
1 2
2 4
3 6
# More comments here
4 8
5 10
...
octave:1> load b
octave:2> b
b =
1 2
2 4
3 6
4 8
5 10
Thanks.
Joe
Regards,
Dmitri.
-------------------------------------------------------------
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
-------------------------------------------------------------