Mercurial > hg > octave-lyh
comparison scripts/plot/semilogx.m @ 13104:3b5449493bb8
Remove console output in graphics demos.
* loglog.m, semilogx.m,semilogy.m: remove console
output from demos.
author | Carlo de Falco <kingcrimson@tiscali.it> |
---|---|
date | Tue, 06 Sep 2011 17:14:09 +0200 |
parents | 2e2738837a24 |
children | 2ea1658ad049 |
comparison
equal
deleted
inserted
replaced
13103:2e2738837a24 | 13104:3b5449493bb8 |
---|---|
76 %! | 76 %! |
77 %! subplot (1, 2, 2) | 77 %! subplot (1, 2, 2) |
78 %! semilogx (abs (b), a) | 78 %! semilogx (abs (b), a) |
79 %! set (gca, 'ydir', 'reverse') | 79 %! set (gca, 'ydir', 'reverse') |
80 %! xlabel ('semilogx (a, abs (b))') | 80 %! xlabel ('semilogx (a, abs (b))') |
81 %! | |
82 %! fprintf ('the two plots should look the same except for the sign in x tick labels') | |
83 | 81 |
84 %!test | 82 %!test |
85 %! hf = figure (1232, "visible", "off"); | 83 %! hf = figure (1232, "visible", "off"); |
86 %! unwind_protect | 84 %! unwind_protect |
87 %! a = logspace (-5, 1, 10); | 85 %! a = logspace (-5, 1, 10); |