Ben Abbott wrote:
> On Sep 6, 2010, at 12:20 PM, David Bateman wrote:
>
>> I'm sizing the legend relative to the axis "position" property in all cases, so that things like "southoutside" might be able to align the edges of the key with the plot (though it doesn't yet). The legend itself is placed relative to the "outerposition" of the axis if the legend is "outside" of the plot. Note that I was setting the legend "position" and "outerposition" are being set to the same value in the legend axis as there are no axis labels, title, ticks etc to include. Looking at the way position and outerposition are autoupdating between themselves, this is probably not the right thing to do.
>>
>> However, with gnuplot
>>
>> plot(1,10); set (gca(), "activiepositionproperty", "position")
>>
>> doesn't give the same plot size as
>>
>> plot(1,10); set (gca(), "activiepositionproperty", "outerposition")
>>
>> which if I'm reading
>>
>>
http://www.mathworks.com/help/techdoc/creating_plots/f1-32495.html
>>
>> correctly is not the right thing to happen. The fltk backend seems to get this right..
>>
>> D.
>>
>
> I don't think the fltk backend bothers with the activepositionproperty at all. Meaning it assumes the position property is active and essentially ignores the outerposition property.
>
> To match Matlab's behavior, work needs to be done in the font end to get the relationships between the position, outerposition, tightinset, and activepositionproperty working correctly.
>
Is the gnuplot behavior correct? If so then the position field of the
axis is not updated to reflect the position of the plot determined from
the outerposition. Could you tell me what are the coordinates of the
axes as determined from the outerposition.