[changeset] Behavior of subplot
Ben Abbott
bpabbott at mac.com
Wed Feb 11 19:50:42 CST 2009
On Feb 11, 2009, at 7:39 AM, Ben Abbott wrote:
>
> On Feb 10, 2009, at 11:23 PM, Michael D. Godfrey wrote:
>
>>> set (gca, "box", "off")
>>
>> Sorry, I should not have replied based on the documentation. I just
>> tried this and it does exactly what the old plot_border("s", "w');
>> did. Which is what I wanted, at least in this case. This makes
>> subplots
>> look significantly cleaner.
>>
>> Thanks for pointing this out. The documentation says that this turns
>> off all the borders, but it does not do that -- only the upper and
>> right-hand.
>>
>> Now, if someone can figure out the spacing between the rows...
>>
>> Best,
>> Michael
>>
>
> Regarding the position and size of the subplot axes, I'm nearly
> finished with an algorithm that mimics the proprietary behavior. I'll
> compare to what Octave does now and follow up with a changeset if it
> is different.
>
> Ben
I've attached a changeset which positions the axes in a compatible
manner. It also handles subplot(3,3,1:3) in a compatible manner. Hence
I've copied "zx♥ch^m" and jwe who discussed this on the thread; Re:
error: subplot: columns, rows, and index have to be scalars.
The titles and xlabels still overlap. To resolve that Octave will need
to explicitly handle the placement of those text objects.
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-subplot.patch
Type: application/octet-stream
Size: 4794 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090211/56aa280c/attachment.obj
-------------- next part --------------
More information about the Bug-octave
mailing list