Mercurial > octave
view .hgsubstate @ 22151:283d8dfcad37
Make demos Matlab compatible for comparison with dump_demos script.
* brighten.m, colorcube.m: Replace 'tic' option to axis with setting properties on gca.
* axis.m: Use 'origin', rather than 'zero', for xaxislocation, yaxislocation
demos.
* datetick.m: Fix typo '2' -> 'ax'.
* legend.m: Use labels with call to legend() rather than embedding labels
in call to plot.
* text.m, xlim.m, ylim.m, zlim.m: Remove asserts from demo blocks.
* isonormals.m: Use Matlab syntax in string definitions.
* light.m: Use space between function name and opening parenthesis in demos.
Add missing semicolon at end of lines.
* dump_demos.m: Add helper functions sombrero() and rgbplot() to script so that
demos will run cleanly in Matlab.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 Jul 2016 08:54:51 -0700 |
parents | 3008798dc5ba |
children | dc4e2203cd15 |