help-octave
[Top][All Lists]
Advanced

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

Re: Control rlocus, renamed axis labels


From: Miroslaw Kwasniak
Subject: Re: Control rlocus, renamed axis labels
Date: Sun, 21 Nov 2004 11:28:24 +0100
User-agent: Mutt/1.5.6+20040907i

On Sat, Nov 20, 2004 at 11:33:14AM -0800, Henry F. Mollet wrote:
> Nice plot although I don't know what control rlocus is.
> 
> I noticed that the axis scales do not use the same number of digits. I
> wondered about this for some time and the pdf that I attached to my previous
> post showed the same "problem", if indeed it is a problem. Is it a
> convention to not show the same number of digits for each number comprising
> the axis scale? How could I force gnuplot to give me the same number of
> digits for the axis scale?

I think an answer is below

Mirek

===================================
% file test gnuplot.axis_digits/t1.m
%

% standard label formating
x=0:2;
subplot(311);plot(x,x/10)

% set fixed format
gset format x "%.1f"
gset format y "%.2f"
subplot(312);plot(x,x/10)

% unset it
gset format x "%g"
gset format y "%g"
subplot(313);plot(x,x/10)
===================================



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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