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

Ben Abbott bpabbott at mac.com
Thu Oct 16 11:39:56 CDT 2008


On Thursday, October 16, 2008, at 12:03PM, "David Bateman" <David.Bateman at motorola.com> wrote:
>John W. Eaton wrote:
>> It seems to work properly for me after the patch, though I find it
>> somewhat strange that
>>
>>   pcolor (peaks ()); colorbar ();
>>
>> produces the first attached plot.
>>
>> I would expect the colorbar to have the same height as the pcolor
>> plot.  It seems to work correctly for the contourf case as shown in
>> the second attached plot.
>>
>> Is this difference caused by splot vs. plot in gnuplot or is it
>> something that we could control without too much effort?
>>   
>Yes it is splot versus plot.. Basically the 3D plot from splot with the 
>view for pcolor is such that we can't control the size of the plot 
>correctly. I don't think there is much that we can do, if we keep the 
>pcolor as a surface plot with a particular view. Changing it to an image 
>would fix it, but wouldn't be compatible.
>
>See as you say the patch is Ok, I just pushed it to Savannah.
>
>Regards
>David

Ok, I'll pull and build with that.

Ben




More information about the Octave-maintainers mailing list