Mercurial > hg > octave-lyh
comparison scripts/plot/ishghandle.m @ 17100:33037eddecd2
Overhaul colorbar function.
Colorbar now accepts an input colorbar handle or an input axis
and will act appropriately. Updated docstring. Added Matlab
compatible options "hide" and "delete". Stopped random failures
by deleting all listeners when cbar is deleted. Added listener
to monitor SIZE of colormap. Cleaned up coding style. Used
less vague internal variable name __cbar_hax__ instead of __my_handle__
for out-of-band communication with __actual_axis_position__.m.
* scripts/plot/colorbar.m: Colorbar now accepts an input colorbar handle or an
input axis and will act appropriately. Updated docstring. Added Matlab
compatible options "hide" and "delete". Stopped random failures by deleting
all listeners when cbar is deleted. Added listener to monitor SIZE of
colormap. Cleaned up coding style. Used less vague internal variable name
__cbar_hax__ instead of __my_handle__ for out-of-band communication with
__actual_axis_position__.m.
* scripts/plot/private/__actual_axis_position__.m: Rename __my_handle__ to
__cbar_hax__ for clarity.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 26 Jul 2013 13:15:07 -0700 |
parents | 64e7bb01fce2 |
children | eaab03308c0b |
comparison
equal
deleted
inserted
replaced
17097:e38820d1124c | 17100:33037eddecd2 |
---|