tics of log color axis
Ben Abbott
bpabbott at mac.com
Thu May 28 05:33:51 CDT 2009
On May 28, 2009, at 5:21 AM, Ben Abbott wrote:
>
> On May 28, 2009, at 4:39 AM, Ben Abbott wrote:
>
>> On May 28, 2009, at 3:43 AM, 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');
>>>
>>> Could you please try to fix it by adding these commands:
>>> set autoscale keepfix
>>> set y2range [1:180] # or whatever is the required range
>>
>> I got lost trying to follow this discussion.
>>
>> Can you describe the conditions under which "set autoscale keepfix"
>> should be added to the plot stream?
>
> Petr/others,
>
> I think I'm up to speed now. Once I fix the yrange/y2range command
> I'll post a changeset.
>
> Ben
> <test.pdf>
Petr, please look over these changes. What needed to be done to
properly render the colorbar for all the demos looks strange to me (a
gnuplot bug?). Specifically, when y2 has tic labels, I had to set both
yrange and y2range. Ditto for x2.
Jaroslav, everything seems to work (for me), so I've push it.
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset.patch
Type: application/octet-stream
Size: 3934 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090528/71fd456f/attachment.obj
-------------- next part --------------
More information about the Bug-octave
mailing list