|
From: | anonymous |
Subject: | [Octave-patch-tracker] [patch #8203] Add -ddumb device to print. |
Date: | Mon, 07 Oct 2013 20:19:45 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
URL: <http://savannah.gnu.org/patch/?8203> Summary: Add -ddumb device to print. Project: GNU Octave 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: address@hidden Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: 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. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 07 Oct 2013 08:19:45 PM UTC Name: print-patch.patch Size: 5kB By: None <http://savannah.gnu.org/patch/download.php?file_id=29311> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?8203> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |