octave-maintainers
[Top][All Lists]
Advanced

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

Re: Stem update, rough guess.


From: Daniel J Sebald
Subject: Re: Stem update, rough guess.
Date: Mon, 09 Apr 2007 17:19:56 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

John W. Eaton wrote:

| How does one get the axis line now?  The
| | set (gca, "?axisline?", "on"); | | sort of thing? E.g., | | stem([-10:10]);

I think stem should just draw another black line.

Like what it was doing? I guess, but what that did was look to the limits of the plot, x_min and x_max, and draw a line at the origin between them. But what then if someone changes the limits using set() to make them slightly bigger? Then that line will not run from one end of the plot to the other. Using the gnuplot command

| +  fputs (plot_stream, "set xzeroaxis linetype -1 linewidth 0.5;\nreplot;\n");

will automatically adjust the length of the axis line.

Dan


reply via email to

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