[bug #68089] (image) imhist.m is broken since Octave 11.1.0 (due to colorbar.m)

Avinoam Kalma <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #9, bug #68089 (group octave):

Thanks, @Hartmut & @Philip.

Yes, you are right, no need for a private function, if this is the only
usage.

The fix is 5 lines:

if verLessThan('Octave', 11.1)
     colorbar ("xticklabel", [], "SouthOutside");
else
     colorbar ("SouthOutside", "xticklabel", []);
endif


It will work either in the main function or as an outer function.
Since it is so ugly, I thought it should be outside the main function. 
What do you think?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68089>

_______________________________________________
נשלחה הודעה דרך Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZ/PLwAKCRCqLAuaBUf3
TkWvAP0U23LU1CWr1z8sOxnygRWQGWoGUYnTVuQn3a3FnC9klAD/YQ7/eMulZOtk
FI4HUoTn1oj97Xtf7jANXUOfJLV0hgw=
=NDcY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.