emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] adding flexibility to ASCII bar plot


From: Thierry Banel
Subject: [O] [PATCH] adding flexibility to ASCII bar plot
Date: Sun, 18 Feb 2018 18:19:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Someone named novoid on GitHub suggested to add some flexibility to the ASCII bar plot.
Attached is a patch implementing it.

Example:

| 1 | WWW          |
| 2 | WWWWWW       |
| 3 | WWWWWWWWW    |
| 4 | WWWWWWWWWWWW |
#+TBLFM: $2='(orgtbl-ascii-draw $1 0 @>$1 12)

Note the @>$1 cell reference passed to the MAX parameter.
Previously, only hard coded values like 4 could be used.

Regards
Thierry











Attachment: 0001-Added-flexibility-for-ASCII-bar-plots.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]