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:  Core : new feature Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Mon 10 Dec 2018 06:50:12 PM UTC, comment #1: 

I committed the second part of the patch, to add a new -ddumb device to print.  I didn't change the creation of images for the documentation because I think it makes more sense to say that the image can't be displayed then to try and render complex images with ASCII art.

The changeset is here: https://hg.savannah.gnu.org/hgweb/octave/rev/f41494a4977f.  This will be a part of the Octave 5.0 release scheduled for release early in 2019.

Marking as Done and closing report.

Rik <rik5>
Project Administrator
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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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 rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-10 rik5 CategoryNone => Core : new feature
        StatusNone => Done
        Open/ClosedOpen => Closed
    2013-10-07 None Attached File- => Added print-patch.patch, #29311

    Back to the top


    Powered by Savane 3.9