[changeset]: Re: Octave plot on time/date x-axis
John W. Eaton
jwe at bevo.che.wisc.edu
Wed Sep 17 15:06:48 CDT 2008
On 17-Sep-2008, dbateman wrote:
| > After applying the patch, I see
| >
| > octave:11> demo datetick
| > datetick example 1:
| > yr = 1900:10:2000;
| > pop = [76.094, 92.407, 106.461, 123.077 131.954, 151.868, 179.979, ...
| > 203.984, 227.225, 249.623, 282.224];
| > plot (datenum (yr, 1, 1), pop);
| > title ("US population (millions)");
| > xlabel ("Year");
| > datetick ("x", "YYYY");
| >
| > error: structure has no member `__colorbar__'
| > error: evaluating argument list element number 1
| > error: called from:
| > error: /home/jwe/src/octave/scripts/plot/__go_draw_figure__.m at line
| > 44, column 1
| > error: /home/jwe/src/octave/scripts/plot/gnuplot_drawnow.m at line 68,
| > column 5
| >
| > What am I missing?
| >
|
| I suspect that the cell2mat patch I sent with the changes for plotyy and
| colorbar accidentally included has left traces in your graphics.h.in file
| with the __colorbar__ property being removed.. Sorry for that mess.. Put
| __colorbar__ back in as an axis property and it should work..
Oops. The property was there, but I must have been using an old build
not updated since I undid the bad cell2mat patch. Running make to fix
update the build seems to have fixed the problem, so your datetick
changeset is applied now.
Thanks,
jwe
More information about the Help-octave
mailing list