Mercurial > hg > octave-lyh
comparison scripts/plot/plot3.m @ 17130:26589abbc78d
Don't pass axis handle unnecessarily from high level to low level plot functions.
* scripts/plot/comet.m, scripts/plot/comet3.m, scripts/plot/compass.m,
scripts/plot/contour.m, scripts/plot/contourf.m, scripts/plot/cylinder.m,
scripts/plot/ellipsoid.m, scripts/plot/errorbar.m, scripts/plot/feather.m,
scripts/plot/mesh.m, scripts/plot/meshc.m, scripts/plot/meshz.m,
scripts/plot/pcolor.m, scripts/plot/plot3.m, scripts/plot/rectangle.m,
scripts/plot/rose.m, scripts/plot/scatter3.m, scripts/plot/semilogxerr.m,
scripts/plot/semilogy.m, scripts/plot/semilogyerr.m, scripts/plot/slice.m,
scripts/plot/sphere.m, scripts/plot/stairs.m, scripts/plot/surf.m,
scripts/plot/surfc.m, scripts/plot/surfnorm.m, scripts/plot/trimesh.m,
scripts/plot/trisurf.m: Don't pass hax to lower level functions after
newplot() has been called.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 31 Jul 2013 18:42:17 -0700 |
parents | eaab03308c0b |
children | df4c4b7708a4 |
comparison
equal
deleted
inserted
replaced
17129:b5d6314314fc | 17130:26589abbc78d |
---|---|
207 color = options.color; | 207 color = options.color; |
208 if (isempty (color)) | 208 if (isempty (color)) |
209 color = __next_line_color__ (); | 209 color = __next_line_color__ (); |
210 endif | 210 endif |
211 | 211 |
212 htmp(++idx) = line (hax, x(:, i), y(:, i), z(:, i), | 212 htmp(++idx) = line (x(:, i), y(:, i), z(:, i), |
213 "color", color, "linestyle", linestyle, | 213 "color", color, "linestyle", linestyle, |
214 "marker", marker, properties{:}); | 214 "marker", marker, properties{:}); |
215 key = options.key; | 215 key = options.key; |
216 if (! isempty (key)) | 216 if (! isempty (key)) |
217 hlgnd = [hlgnd, htmp(idx)]; | 217 hlgnd = [hlgnd, htmp(idx)]; |
262 color = options.color; | 262 color = options.color; |
263 if (isempty (color)) | 263 if (isempty (color)) |
264 color = __next_line_color__ (); | 264 color = __next_line_color__ (); |
265 endif | 265 endif |
266 | 266 |
267 htmp(++idx) = line (hax, x(:, i), y(:, i), z(:, i), | 267 htmp(++idx) = line (x(:, i), y(:, i), z(:, i), |
268 "color", color, "linestyle", linestyle, | 268 "color", color, "linestyle", linestyle, |
269 "marker", marker, properties{:}); | 269 "marker", marker, properties{:}); |
270 key = options.key; | 270 key = options.key; |
271 if (! isempty (key)) | 271 if (! isempty (key)) |
272 hlgnd = [hlgnd, htmp(idx)]; | 272 hlgnd = [hlgnd, htmp(idx)]; |
337 color = options.color; | 337 color = options.color; |
338 if (isempty (color)) | 338 if (isempty (color)) |
339 color = __next_line_color__ (); | 339 color = __next_line_color__ (); |
340 endif | 340 endif |
341 | 341 |
342 htmp(++idx) = line (hax, x(:, i), y(:, i), z(:, i), | 342 htmp(++idx) = line (x(:, i), y(:, i), z(:, i), |
343 "color", color, "linestyle", linestyle, | 343 "color", color, "linestyle", linestyle, |
344 "marker", marker, properties{:}); | 344 "marker", marker, properties{:}); |
345 key = options.key; | 345 key = options.key; |
346 if (! isempty (key)) | 346 if (! isempty (key)) |
347 hlgnd = [hlgnd, htmp(idx)]; | 347 hlgnd = [hlgnd, htmp(idx)]; |