Mercurial > octave
comparison scripts/plot/util/print.m @ 26191:f41494a4977f
Add "dumb" terminal to produce ASCII art with gnuplot (patch #8203).
* print.m: Document new terminal "dumb" in raster output section.
* __print_parse_opts__.m: Add "dumb" to the list of devices: dev_list.
Add "txt" to the list of file extensions: suffixes.
* __gnuplot_print__.m: Decode "dumb" in switch statement and call local_drawnow
with "dumb" terminal.
author | Rüdiger Sonderfeld <ruediger@c-plusplus.de> |
---|---|
date | Sat, 05 Oct 2013 02:21:10 +0200 |
parents | 0a145a1600e3 |
children | 00f796120a6d |
comparison
equal
deleted
inserted
replaced
26190:c2137ac45dd9 | 26191:f41494a4977f |
---|---|
337 ## Generate a @LaTeX{} file using PGF/TikZ format. The OpenGL-based | 337 ## Generate a @LaTeX{} file using PGF/TikZ format. The OpenGL-based |
338 ## toolkits create a PGF file while Gnuplot creates a TikZ file. The | 338 ## toolkits create a PGF file while Gnuplot creates a TikZ file. The |
339 ## @samp{tikzstandalone} device produces a @LaTeX{} document which includes the | 339 ## @samp{tikzstandalone} device produces a @LaTeX{} document which includes the |
340 ## TikZ file. | 340 ## TikZ file. |
341 ## | 341 ## |
342 ## | |
343 ## @end table | 342 ## @end table |
344 ## | 343 ## |
345 ## Raster Formats | 344 ## Raster Formats |
346 ## | 345 ## |
347 ## @table @code | 346 ## @table @code |
361 ## @item gif | 360 ## @item gif |
362 ## GIF image | 361 ## GIF image |
363 ## | 362 ## |
364 ## @item pbm | 363 ## @item pbm |
365 ## PBMplus | 364 ## PBMplus |
365 ## | |
366 ## @item dumb* | |
367 ## ASCII art | |
366 ## | 368 ## |
367 ## @end table | 369 ## @end table |
368 ## | 370 ## |
369 ## If the device is omitted, it is inferred from the file extension, | 371 ## If the device is omitted, it is inferred from the file extension, |
370 ## or if there is no filename then it is sent to the printer as PostScript. | 372 ## or if there is no filename then it is sent to the printer as PostScript. |