From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Banel Subject: Re: text-only plots Date: Sun, 8 Dec 2013 17:43:23 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpiOY-0000zE-8x for emacs-orgmode@gnu.org; Sun, 08 Dec 2013 12:44:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpiON-000544-VM for emacs-orgmode@gnu.org; Sun, 08 Dec 2013 12:43:54 -0500 Received: from plane.gmane.org ([80.91.229.3]:38230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpiON-00053v-OV for emacs-orgmode@gnu.org; Sun, 08 Dec 2013 12:43:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VpiOM-0000Tv-DO for emacs-orgmode@gnu.org; Sun, 08 Dec 2013 18:43:42 +0100 Received: from mna75-5-82-226-29-239.fbx.proxad.net ([82.226.29.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Dec 2013 18:43:42 +0100 Received: from tbanelwebmin by mna75-5-82-226-29-239.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Dec 2013 18:43:42 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello all. Following a suggestion from Michael Brand (thanks, Michael!), I implemented a version able to use unicode block characters. It is here: http://orgmode.org/worg/org-contrib/orgtbl-ascii-plot.html Use =C-u C-c p= in the column to plot, and answer questions. Without =C-u= prefix, the base ascii, 12 characters wide version is used. | x | x^2 | ascii | uc cont | uc grid | |----+-----+--------------+--------------+--------------| | 0 | 0 | | | | | 1 | 1 | | | | | 2 | 4 | : | ▏ | ▏ | | 3 | 9 | u | ▍ | ▌ | | 4 | 16 | H | ▊ | ▉ | | 5 | 25 | Wu | ▉▍ | █▌ | | 6 | 36 | WW. | ▉▉▏ | ██▏ | | 7 | 49 | WWH | ▉▉▉ | ███ | | 8 | 64 | WWWV | ▉▉▉▊ | ███▉ | | 9 | 81 | WWWWV | ▉▉▉▉▊ | ████▉ | | 10 | 100 | WWWWWW | ▉▉▉▉▉▉ | ██████ | | 11 | 121 | WWWWWWW: | ▉▉▉▉▉▉▉▎ | ███████▍ | | 12 | 144 | WWWWWWWWl | ▉▉▉▉▉▉▉▉▋ | ████████▊ | | 13 | 169 | WWWWWWWWWW. | ▉▉▉▉▉▉▉▉▉▉▎ | ██████████▎ | | 14 | 196 | WWWWWWWWWWWh | ▉▉▉▉▉▉▉▉▉▉▉▉ | ████████████ | #+TBLFM: $4='(orgtbl-uc-draw-grid $2 0 196 12)::$5='(orgtbl-uc-draw-cont $2 0 196 12)::$3='(orgtbl-ascii-draw $2 0 200) Have fun Thierry