[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Time xdata plot
From: |
Michael Hindley |
Subject: |
Time xdata plot |
Date: |
19 Jun 2003 19:55:03 +0200 |
What is the structure of a string array for a time function plot ?
Here is my test program which does not run
a=['20030101'
'20030102'
'20030103'];
b=[1 2 3];
gset xdata time
gset timefmt "%Y%m%d"
plot(a,b);
The error's
error: mapper: wrong type argument `string'
error: evaluating argument list element number 1
error: evaluating index expression near line 40, column 12
error: evaluating argument list element number 1
error: evaluating index expression near line 40, column 7
error: if: error evaluating conditional expression
error: evaluating if command near line 40, column 3
error: called from `__plt2__' in file
`/usr/share/octave/2.1.36/m/plot/__plt2__.m'
error: called from `__plt__' in file
`/usr/share/octave/2.1.36/m/plot/__plt__.m'
error: called from `plot' in file
`/usr/share/octave/2.1.36/m/plot/plot.m'
error: near line 7 of file
`/home/makke/stock_market/octave_devel/develop/test.m'
regards
Michael Hindley
-------------------------------------------------------------
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
-------------------------------------------------------------
- Time xdata plot,
Michael Hindley <=