patchGNU Octave - Patches: patch #8203, Add -ddumb device to print.


patch #8203: Add -ddumb device to print.

Submitted by:  None
Submitted on:  Mon 07 Oct 2013 08:19:45 PM UTC  
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 07 Oct 2013 08:19:45 PM UTC, original submission:

this patchset adds a "-ddumb" device to print for gnuplot. The device prints
the plot as ascii art. "dumb" is already supported as device in drawnow. The
main use case for "dumb" in print right now would be info manual output.
Currently the plots in the documentation are only included in a graphical
version which is not supported by terminal info viewers. With this patch the
documentation could include an ascii art version of the plots.

One problem remains: There should be a way to specify the size of the plot in
characters. Right now the patch adds a fixed size (drawnow as default uses
COLUMNS/ROWS value for the existing terminal). Using -S to pass the
information seems like a bad idea because -S usually expects size in pixel.

The second part of the patch changes some of the doc plot generators to use "-
ddumb". But the generated plots are a bit too large right now (72x24) and can
cause issues in Emacs info mode and the standalone info viewer.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #29311:  print-patch.patch added by None (5KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-07 None Attached File- => Added print-patch.patch, #29311

    Back to the top

    Powered by Savane 3.3