[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Add -ddumb device to print.
From: |
Rüdiger Sonderfeld |
Subject: |
[PATCH] Add -ddumb device to print. |
Date: |
Mon, 07 Oct 2013 17:56:14 +0200 |
User-agent: |
KMail/4.10.5 (Linux/3.8.0-30-generic; KDE/4.10.5; x86_64; ; ) |
Hello,
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.
Regards,
Rüdiger
print-patch.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Add -ddumb device to print.,
Rüdiger Sonderfeld <=