Problem with Ben's change to preserve axis propers when used with colorbars

Ben Abbott bpabbott at mac.com
Thu Oct 16 11:38:52 CDT 2008


On Thursday, October 16, 2008, at 11:52AM, "David Bateman" <David.Bateman at motorola.com> wrote:
>Ben Abbott wrote:
>> I've attempted a manual application of you patch (as it did not apply for me --- EOL problems no doubt).
>>
>> My colorbar is not scaled properly. When I do ...
>>
>> octave:31> contourf(peaks)
>> octave:32> colorbar
>>
>> ... the colorbar image is twice as wide as the axis, but ...
>>   
>"Twice as wide"? The width is arbitrary, but the height is supposed to 
>be identical to the height of the plot (except for 3D plots and pcolor 
>which is in fact a special 3-D plot). So I don't see any issue with the 
>plot I get..
>
>> octave:33> set(h,'xlim',[-.5 1.5])
>>
>> ... after changing the limits for the colorbar axes, all looks correct. Do you see this as well, or did I make an error in my application of your changeset?
>>   
>Could you send a screen shot, before and after to xlim is set? Perhaps 
>I'm not understanding the issue.
>
>D.

My pdf output looks correct. So I snapped a picture of the gnuplot window produced by ...

contourf(peaks);
colorbar;

Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 1.png
Type: application/octet-stream
Size: 127476 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20081016/04adcfd3/attachment-0001.obj 


More information about the Octave-maintainers mailing list