GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing octave.sourceforge.io — Function Reference: semilogy
Demonstration 1The following code clf;
x = 1:0.01:10;
y = (x .* (1 + rand (size (x)))) .^ 2;
semilogy (x, y);
title ({"semilogx() plot", "Y-axis is logarithmic"});
Produces the following figure
Demonstration 2The following code clf;
x = logspace (-5, 1, 10);
y = logspace (-5, 1, 10);
subplot (2,1,1);
semilogy (x, y);
title ("semilogy (x, y)");
subplot (2,1,2);
semilogy (x, -y);
title ("semilogy (x, -y)");
Produces the following figure
Demonstration 3The following code clf;
x = logspace (-5, 1, 10);
y = logspace (-5, 1, 10);
subplot (2,1,1);
semilogy (x, y);
set (gca, "ydir", "reverse", "activepositionproperty", "outerposition");
title ({"semilogy (x, y)", "ydir = reversed"});
subplot (2,1,2);
semilogy (x, -y);
set (gca, "ydir", "reverse", "activepositionproperty", "outerposition");
title ({"semilogy (x, -y)", "ydir = reversed"});
Produces the following figure
Package: octave | |||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |