emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Thierry Banel <tbanelwebmin@free.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: text-only plots
Date: Sun, 8 Dec 2013 20:48:16 +0100	[thread overview]
Message-ID: <AB673CED-E43E-46B2-A3AD-4111321F1BB7@gmail.com> (raw)
In-Reply-To: <loom.20131208T183534-795@post.gmane.org>

Hi Thierry,

This is really nice. Thank you!

This is not a lot of code - I would not mind simply integrating this into org-table.el  The only hickup might be that this could be trouble for the exporters - or have you produced the webpage directly from an org file?

- Carsten

On 8.12.2013, at 18:43, Thierry Banel <tbanelwebmin@free.fr> wrote:

> 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
> 
> 
> 
> 

  reply	other threads:[~2013-12-08 19:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-07 19:48 text-only plots Thierry Banel
2013-12-08 11:00 ` Suvayu Ali
2013-12-08 11:27 ` Michael Brand
2013-12-08 12:28   ` Michael Brand
2013-12-08 12:58     ` Thierry Banel
2013-12-08 17:43       ` Thierry Banel
2013-12-08 19:48         ` Carsten Dominik [this message]
2013-12-08 23:10           ` Thierry Banel
2013-12-09 12:19             ` Suvayu Ali
2013-12-09 14:30               ` Ivan Andrus
2013-12-09 22:48                 ` Thierry Banel
2013-12-09 23:55                   ` Suvayu Ali
2013-12-10 22:24                     ` Thierry Banel
2013-12-08 22:16         ` Michael Brand
2013-12-08 23:15           ` Thierry Banel
2013-12-08 13:34   ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AB673CED-E43E-46B2-A3AD-4111321F1BB7@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tbanelwebmin@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).