comparison scripts/plot/text.m @ 11472:1740012184f9

Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author Rik <octave@nomad.inbox5.com>
date Sun, 09 Jan 2011 21:33:04 -0800
parents bc509d5f763f
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11471:994e2a93a8e2 11472:1740012184f9
55 n = numel (label); 55 n = numel (label);
56 nx = numel (x); 56 nx = numel (x);
57 ny = numel (y); 57 ny = numel (y);
58 nz = numel (z); 58 nz = numel (z);
59 else 59 else
60 error ("text: expecting label to be a character string or cell array of character strings"); 60 error ("text: expecting LABEL to be a character string or cell array of character strings");
61 endif 61 endif
62 else 62 else
63 x = y = z = 0; 63 x = y = z = 0;
64 nx = ny = nz = 1; 64 nx = ny = nz = 1;
65 label = {""}; 65 label = {""};
86 varargin{:}, 86 varargin{:},
87 "position", pos(i,:)); 87 "position", pos(i,:));
88 endfor 88 endfor
89 __request_drawnow__ (); 89 __request_drawnow__ ();
90 else 90 else
91 error ("text: dimension mismatch for coordinates and label"); 91 error ("text: dimension mismatch for coordinates and LABEL");
92 endif 92 endif
93 else 93 else
94 error ("text: dimension mismatch for coordinates"); 94 error ("text: dimension mismatch for coordinates");
95 endif 95 endif
96 96