plot issues

Ben Abbott bpabbott at mac.com
Wed Jun 3 10:43:35 CDT 2009


On Jun 3, 2009, at 11:20 AM, Petr Mikulik wrote:

>>>> ***
>>>>
>>>> There is a bug in printing plot with colorbar:
>>>>
>>>> imagesc(1./hilb(33)); colorbar
>>>> print a.ps -dps
>>>>
>>>> => 1. the colorbar gets hidden under the plot
>>>> 2. width of the colorbar (compared to tics distance) is different
>>>>   on screen and in the postscript file
>>>
>>> The colorbar needs some work. The same problem can be produced on  
>>> the
>>> screen as well (using a different sequence of commands). For example
>>>
>>> imagesc(1./hilb(33)); colorbar; axis square
>>
>> I've just pushed a changeset that fixes the handle-visibility and  
>> adds some
>> demos illustrating the problem with printing above (no need to  
>> print).
>>
>> A few weeks ago I tried to fix the colorbar problem, but only  
>> manage to give
>> myself a head-ache. If anyone is inclined to tackle it, please do.
>
> Which of the two problems? The "colorbar gets hidden behind the  
> plot" or the
> "relative widths are different"? The "hidden" problem is the most  
> severe.
> You can reproduce it by a non-printing command?
>

I'm speaking of the hidden colorbar ... and yes, I've added a few  
demos that demonstrate the problem.

Ben


More information about the Bug-octave mailing list