Mercurial > octave-nkf
comparison doc/interpreter/io.txi @ 10828:322f43e0e170
Grammarcheck .txi documentation files.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 28 Jul 2010 12:45:04 -0700 |
parents | 531280b07625 |
children | 3450551f591e |
comparison
equal
deleted
inserted
replaced
10827:228cd18455a6 | 10828:322f43e0e170 |
---|---|
90 your screen if you have asked Octave to perform a significant amount of | 90 your screen if you have asked Octave to perform a significant amount of |
91 work with a single command statement. The function @code{fflush} may be | 91 work with a single command statement. The function @code{fflush} may be |
92 used to force output to be sent to the pager (or any other stream) | 92 used to force output to be sent to the pager (or any other stream) |
93 immediately. | 93 immediately. |
94 | 94 |
95 You can select the program to run as the pager using the @code{PAGER} | 95 You can select the program to run as the pager using the @env{PAGER} |
96 function, and you can turn paging off by using the function | 96 function, and you can turn paging off by using the function |
97 @code{more}. | 97 @code{more}. |
98 | 98 |
99 @DOCSTRING(more) | 99 @DOCSTRING(more) |
100 | 100 |
447 @node Output Conversion for Matrices | 447 @node Output Conversion for Matrices |
448 @subsection Output Conversion for Matrices | 448 @subsection Output Conversion for Matrices |
449 | 449 |
450 When given a matrix value, Octave's formatted output functions cycle | 450 When given a matrix value, Octave's formatted output functions cycle |
451 through the format template until all the values in the matrix have been | 451 through the format template until all the values in the matrix have been |
452 printed. For example, | 452 printed. For example: |
453 | 453 |
454 @example | 454 @example |
455 @group | 455 @group |
456 printf ("%4.2f %10.2e %8.4g\n", hilb (3)); | 456 printf ("%4.2f %10.2e %8.4g\n", hilb (3)); |
457 | 457 |
463 | 463 |
464 If more than one value is to be printed in a single call, the output | 464 If more than one value is to be printed in a single call, the output |
465 functions do not return to the beginning of the format template when | 465 functions do not return to the beginning of the format template when |
466 moving on from one value to the next. This can lead to confusing output | 466 moving on from one value to the next. This can lead to confusing output |
467 if the number of elements in the matrices are not exact multiples of the | 467 if the number of elements in the matrices are not exact multiples of the |
468 number of conversions in the format template. For example, | 468 number of conversions in the format template. For example: |
469 | 469 |
470 @example | 470 @example |
471 @group | 471 @group |
472 printf ("%4.2f %10.2e %8.4g\n", [1, 2], [3, 4]); | 472 printf ("%4.2f %10.2e %8.4g\n", [1, 2], [3, 4]); |
473 | 473 |