Mercurial > octave-nkf
comparison doc/interpreter/plot.txi @ 5215:32c569794216
[project @ 2005-03-16 18:54:42 by jwe]
author | jwe |
---|---|
date | Wed, 16 Mar 2005 18:54:52 +0000 |
parents | b111ca4715c6 |
children | 2d055c8fa019 |
comparison
equal
deleted
inserted
replaced
5214:eecc24b92d97 | 5215:32c569794216 |
---|---|
279 | 279 |
280 @noindent | 280 @noindent |
281 but not @code{rand (5, 30)}. | 281 but not @code{rand (5, 30)}. |
282 @end deffn | 282 @end deffn |
283 | 283 |
284 @deffn {Command} gset options | 284 @deffn {Command} replot options |
285 @deffnx {Command} gshow options | |
286 @deffnx {Command} replot options | |
287 In addition to the basic plotting commands, the whole range of | |
288 @code{gset} and @code{gshow} commands from @code{gnuplot} are available, | |
289 as is @code{replot}. | |
290 | |
291 @findex set | |
292 @findex show | |
293 Note that in Octave 2.0, the @code{set} and @code{show} commands were | |
294 renamed to @code{gset} and @code{gshow} in order to allow for | |
295 compatibility with the @sc{Matlab} graphics and GUI commands in a future | |
296 version of Octave. (For now, the old @code{set} and @code{show} | |
297 commands do work, but they print an annoying warning message to try to | |
298 get people to switch to using @code{gset} and @code{gshow}.) | |
299 | |
300 The @code{gset} and @code{gshow} commands allow you to set and show | |
301 @code{gnuplot} parameters. For more information about the @code{gset} | |
302 and @code{gshow} commands, see the documentation for @code{set} and | |
303 @code{show} in the @code{gnuplot} user's guide (also available on line | |
304 if you run @code{gnuplot} directly, instead of running it from Octave). | |
305 | |
306 The @code{replot} command allows you to force the plot to be | 285 The @code{replot} command allows you to force the plot to be |
307 redisplayed. This is useful if you have changed something about the | 286 redisplayed. This is useful if you have changed something about the |
308 plot, such as the title or axis labels. The @code{replot} command also | 287 plot, such as the title or axis labels. The @code{replot} command also |
309 accepts the same arguments as @code{gplot} or @code{gsplot} (except for | 288 accepts the same arguments as @code{gplot} or @code{gsplot} (except for |
310 data ranges) so you can add additional lines to existing plots. | 289 data ranges) so you can add additional lines to existing plots. |
335 lines with a replot command, gnuplot always redraws the entire plot, and | 314 lines with a replot command, gnuplot always redraws the entire plot, and |
336 you probably don't want to have a completely new plot generated every | 315 you probably don't want to have a completely new plot generated every |
337 time something as minor as an axis label changes. | 316 time something as minor as an axis label changes. |
338 | 317 |
339 @findex shg | 318 @findex shg |
340 The command @code{shg} is equivalent to executing @code{replot} without | 319 The command @code{shg} is equivalent to executing @code{replot}. |
341 any arguments. | |
342 @end deffn | 320 @end deffn |
343 | 321 |
344 Note that NaN values in the plot data are automatically omitted, and | 322 Note that NaN values in the plot data are automatically omitted, and |
345 Inf values are converted to a very large value before calling gnuplot. | 323 Inf values are converted to a very large value before calling gnuplot. |
346 | 324 |
354 | 332 |
355 @DOCSTRING(gnuplot_binary) | 333 @DOCSTRING(gnuplot_binary) |
356 | 334 |
357 @DOCSTRING(gnuplot_has_frames) | 335 @DOCSTRING(gnuplot_has_frames) |
358 | 336 |
359 @DOCSTRING(graw) | |
360 | |
361 @DOCSTRING(gnuplot_command_plot) | 337 @DOCSTRING(gnuplot_command_plot) |
362 | 338 |
363 @DOCSTRING(gnuplot_command_replot) | 339 @DOCSTRING(gnuplot_command_replot) |
364 | 340 |
365 @DOCSTRING(gnuplot_command_splot) | 341 @DOCSTRING(gnuplot_command_splot) |