[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with subplots/Overlapping title/axislabels

From: Phtagen
Subject: Re: Problems with subplots/Overlapping title/axislabels
Date: Wed, 16 Mar 2016 09:27:36 -0700 (PDT)

bpabbott wrote
>> On Mar 16, 2016, at 5:34 AM, Phtagen <

> phtagen@

> > wrote:
>> bpabbott wrote
>>>> On Mar 15, 2016, at 11:35 AM, Phtagen <
>>> phtagen@
>>> > wrote:
>>>> Hi everybody,
>>>> I have some trouble with my octave 3.8.2 on mac (build with macports)
>>>> and
>>>> gnuplot. When I'm plotting some subplots, the title of e.g. the second
>>>> subplot overlaps with the xlabel of the first subplot. Same is with the
>>>> ylabel; when it is too long it overlaps with the yticks.
>>>> Can I change the position of the title/axislabels or can I change the
>>>> distance between the subplots?
>>>> Thanks for helping
>>>> <> 
>>> This is a *feature* of using Gnuplot and maintaining compatibility with
>>> Matlab’s axes positions.
>>> You can attempt to correct the overlapping by manually changing the axes
>>> positions.
>>> Ben
>> Hi Ben,
>> thanks for your reply. 
>> I tried to do so with "title('name', 'position', [X, Y])" and with
>> "ylabel('name', 'position', [X, Y])" but nothing changes.
>> What am I doing wrong?
>> Thanks
>> Phtagen
> Gnuplot controls the text object positions. However, you can modify the
> positions of the axes. Meaning in you move the top axes up and the bottom
> axes down you can avoid the overlap.
> Ben

Hi Ben,

thanks for your advice. You mean I have to change the scale of the axis and
then move them to zero for instance; by set(gca,'xaxislocation', 'zero').

This works fine for me, but how can I switch the box off? The command
set(gca,'box', 'off') doesn't work, nothing changes.



View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]