[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change position of x-axis
From: |
Ben Abbott |
Subject: |
Re: change position of x-axis |
Date: |
Tue, 11 Oct 2011 18:13:07 -0400 |
On Oct 11, 2011, at 3:40 PM, bpabbott wrote:
> On Oct 11, 2011, at 02:30 PM, Juan Pablo Carbajal <address@hidden> wrote:
>
>> On Tue, Oct 11, 2011 at 8:18 PM, bpabbott <address@hidden> wrote:
>> > On Oct 11, 2011, at 12:21 PM, Juan Pablo Carbajal <address@hidden>
>> > wrote:
>> >
>> > Ben,
>> > Ok, I found the problem.
>> > As I see it, when set(gca,'box','off') is executed, the stream to gnuplot
>> > adds
>> >> unset y2tics; set ytics in nomirror
>> >> unset x2tics; set xtics in nomirror
>> >> set border 3;
>> >
>> > The last line is the problem. With this I see that box off in octave
>> > means "axes in the left-botom margins".
>> >
>> > I see three possible solutions:
>> > 1 Make set(gca,'box','off') deal with the current state of axis.
>> > 2. Make set(gca,'box','off') be gnuplot's "unset border"
>> > 3. Make set(gca,'yaxislocation','zero') be gnuplot's "set yzeroaxis;
>> > set border 1; "
>> > Make set(gca,'xaxislocation','zero') be gnuplot's "set xzeroaxis;
>> > set border 2; "
>> >
>> > Thanks
>> >
>> > Thanks for looking at this. I prepare a patch later today.
>> > Ben
>> >
>>
>> Ben,
>>
>> Let me known if I can be of assistance. I just need pointers to the
>> files involved.
>
> I've attached a changeset which I hope to test a bit more before pushing. If
> you like you can try some tests as well.
>
> Ben
I've pushed the change. I used the 3rd option to ensure the box is properly
turned off.
http://hg.savannah.gnu.org/hgweb/octave/rev/16a706965ee0
Ben
- Re: change position of x-axis, (continued)
- Re: change position of x-axis, bpabbott, 2011/10/11
- Re: change position of x-axis, bpabbott, 2011/10/11
- Re: change position of x-axis, Juan Pablo Carbajal, 2011/10/11
- Re: change position of x-axis, bpabbott, 2011/10/11
- Re: change position of x-axis, Vlăduţ Frăţiman, 2011/10/11
- Message not available
- Re: change position of x-axis, Ben Abbott, 2011/10/11
- Re: change position of x-axis,
Ben Abbott <=
- Re: [SOLVED] change position of x-axis, Juan Pablo Carbajal, 2011/10/12
- Re: [SOLVED] change position of x-axis, Vlăduţ Frăţiman, 2011/10/12
- Re: [SOLVED] change position of x-axis, Vlăduţ Frăţiman, 2011/10/12
- Re: [SOLVED] change position of x-axis, Ben Abbott, 2011/10/12
- Re: [SOLVED] change position of x-axis, Vlăduţ Frăţiman, 2011/10/12
- Re: [SOLVED] change position of x-axis, Ben Abbott, 2011/10/12
- Re: [SOLVED] change position of x-axis, Vlăduţ Frăţiman, 2011/10/13
- Re: [SOLVED] change position of x-axis, Vlăduţ Frăţiman, 2011/10/16
- Re: [SOLVED] change position of x-axis, Ben Abbott, 2011/10/17