tics of log color axis
Ben Abbott
bpabbott at mac.com
Thu May 28 02:16:38 CDT 2009
On May 24, 2009, at 2:31 PM, Petr Mikulik wrote:
> I have noticed two problems related to log color axis. These bugs
> are in
> Octave 3.1.55 (while in Octave 3.0.x it does not work "at all"):
>
> A. Wrong tic labels in figure 2:
> figure(1)
> imagesc(1./hilb(99)); h=colorbar;
> figure(2)
> imagesc(1./hilb(99)); h=colorbar; set(h,'yscale','log');
>
> B. Yet another wrong tic labels:
> imagesc(log10(1./hilb(99))); h=colorbar;
> TL = get(h, 'YTick');
> % set(h, 'YTickLabel', sprintf('10^%g|', TL));
> set(h, 'YTickLabel', sprintf('10^{%g}|', TL));
>
>
> Thanks for fixing this,
> Petr
Regarding "B", I've attached a changeset. I did some limited testing
with no problems.
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset.patch
Type: application/octet-stream
Size: 1898 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090528/e0be034e/attachment.obj
-------------- next part --------------
More information about the Bug-octave
mailing list