help-octave
[Top][All Lists]
Advanced

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

Re: [SOLVED] change position of x-axis


From: Ben Abbott
Subject: Re: [SOLVED] change position of x-axis
Date: Wed, 12 Oct 2011 08:34:02 -0400

On Oct 12, 2011, at 7:30 AM, Vlăduţ Frăţiman wrote:

> Still have some minor problem.
> I use modified version of __go_draw_axes__.m (thanks to Ben).
> Now, axis are positioned correctly, but horizontal axis have small
> points, not continuos line like that for vertical axis.
> My test graphics it's this (from wiki):
> x = linspace(0, 2*pi, 100);
> y = sin(x);
> plot(x, y, "linewidth", 2, "color", "black");
> set(gca,"xaxislocation","zero", "box", "off");
> 
> With gnuplot I need to configure linetype of xaxis with "set xzeroaxis lt -1".
> Maybe need to edit __go_draw_axes__.m file, and put corresponding command 
> there?
> I have attached graphic to show what i mean.
> Maybe it's my octave version to blame.
> <Screenshot.png>

I'll need to do more testing before I commit this change. Buy you can try to 
patch your __go_draw_axes__.m.

Please let us know if it fixes the problem, and if it produces any unintended 
effects.

Ben


Attachment: changeset.patch
Description: Binary data


reply via email to

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