comparison scripts/plot/util/newplot.m @ 19867:9fc020886ae9

maint: Clean up m-files to follow Octave coding conventions. Try to trim long lines to < 80 chars. Use '##' for single line comments. Use '(...)' around tests for if/elseif/switch/while. Abut cell indexing operator '{' next to variable. Abut array indexing operator '(' next to variable. Use space between negation operator '!' and following expression. Use two newlines between endfunction and start of %!test or %!demo code. Remove unnecessary parens grouping between short-circuit operators. Remove stray extra spaces (typos) between variables and assignment operators. Remove stray extra spaces from ends of lines.
author Rik <rik@octave.org>
date Mon, 23 Feb 2015 14:54:39 -0800
parents 52cd69e79784
children
comparison
equal deleted inserted replaced
19866:a1acca0c2216 19867:9fc020886ae9
30 ## 30 ##
31 ## @multitable @columnfractions .25 .75 31 ## @multitable @columnfractions .25 .75
32 ## @headitem Figure NextPlot @tab Action 32 ## @headitem Figure NextPlot @tab Action
33 ## @item @qcode{"new"} @tab Create a new figure and make it the current figure. 33 ## @item @qcode{"new"} @tab Create a new figure and make it the current figure.
34 ## 34 ##
35 ## @item @qcode{"add"} (default) @tab Add new graphic objects to the current figure. 35 ## @item @qcode{"add"} (default) @tab Add new graphic objects to the current
36 ## 36 ## figure.
37 ## @item @qcode{"replacechildren"} @tab Delete child objects whose HandleVisibility is 37 ##
38 ## set to @qcode{"on"}. Set NextPlot property to @qcode{"add"}. This 38 ## @item @qcode{"replacechildren"} @tab Delete child objects whose
39 ## typically clears a figure, but leaves in place hidden objects such as 39 ## HandleVisibility is set to @qcode{"on"}. Set NextPlot property to
40 ## menubars. This is equivalent to @code{clf}. 40 ## @qcode{"add"}. This typically clears a figure, but leaves in place hidden
41 ## objects such as menubars. This is equivalent to @code{clf}.
41 ## 42 ##
42 ## @item @qcode{"replace"} @tab Delete all child objects of the figure and 43 ## @item @qcode{"replace"} @tab Delete all child objects of the figure and
43 ## reset all figure properties to their defaults. However, the following 44 ## reset all figure properties to their defaults. However, the following
44 ## four properties are not reset: Position, Units, PaperPosition, PaperUnits. 45 ## four properties are not reset: Position, Units, PaperPosition, PaperUnits.
45 ## This is equivalent to @code{clf reset}. 46 ## This is equivalent to @code{clf reset}.
46 ## @end multitable 47 ## @end multitable
47 ## 48 ##
48 ## @multitable @columnfractions .25 .75 49 ## @multitable @columnfractions .25 .75
49 ## @headitem Axis NextPlot @tab Action 50 ## @headitem Axis NextPlot @tab Action
50 ## @item @qcode{"add"} @tab Add new graphic objects to the current axes. This is 51 ## @item @qcode{"add"} @tab Add new graphic objects to the current axes. This
51 ## equivalent to @code{hold on}. 52 ## is equivalent to @code{hold on}.
52 ## 53 ##
53 ## @item @qcode{"replacechildren"} @tab Delete child objects whose HandleVisibility is 54 ## @item @qcode{"replacechildren"} @tab Delete child objects whose
54 ## set to @qcode{"on"}, but leave axis properties unmodified. This typically 55 ## HandleVisibility is set to @qcode{"on"}, but leave axis properties
55 ## clears a plot, but preserves special settings such as log scaling for 56 ## unmodified. This typically clears a plot, but preserves special settings
56 ## axes. This is equivalent to @code{cla}. 57 ## such as log scaling for axes. This is equivalent to @code{cla}.
57 ## 58 ##
58 ## @item @qcode{"replace"} (default) @tab Delete all child objects of the 59 ## @item @qcode{"replace"} (default) @tab Delete all child objects of the
59 ## axis and reset all axis properties to their defaults. However, the 60 ## axis and reset all axis properties to their defaults. However, the
60 ## following properties are not reset: Position, Units. This is equivalent 61 ## following properties are not reset: Position, Units. This is equivalent
61 ## to @code{cla reset}. 62 ## to @code{cla reset}.