¿Bug in hold() and colorbar() functions?
John W. Eaton
jwe at octave.org
Tue May 26 11:25:44 CDT 2009
On 26-May-2009, José Luis García Pallero wrote:
| Attached I send a scritp that runs some plot commands. The script runs
| contourf() function, allows to plot more things in the same plot
| (hold('on')), plots some points, and adds a colorbar. I have two problems:
| 1. After contourf() is executed, hold('on') function not runs correctly. The
| next plots are under the contourf() draw.
Looking at __go_draw_axes__.m, it seems that someone thought about
depth ordering when plotting patches, but maybe they did not properly
account for other plot objects. In any case, I don't understand
precisely how this is supposed to work, so it would help if someone
else could provide a patch.
| 2. Arguments of colorbar() with some elements in upper case produces an
| error:
|
| error: `origin' undefined near line 325 column 11
| error: called from:
| error: /usr/local/share/octave/3.1.55/m/plot/colorbar.m at line 325,
| column 8
| error: /usr/local/share/octave/3.1.55/m/plot/colorbar.m at line 111,
| column 44
I checked in the following change for this problem:
http://hg.savannah.gnu.org/hgweb/octave/rev/de255681c85f
jwe
More information about the Bug-octave
mailing list