[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] text-only plots
From: |
Thierry Banel |
Subject: |
Re: [O] text-only plots |
Date: |
Sun, 8 Dec 2013 17:43:23 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.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
- [O] text-only plots, Thierry Banel, 2013/12/07
- Re: [O] text-only plots, Suvayu Ali, 2013/12/08
- Re: [O] text-only plots, Michael Brand, 2013/12/08
- Re: [O] text-only plots, Michael Brand, 2013/12/08
- Re: [O] text-only plots, Thierry Banel, 2013/12/08
- Re: [O] text-only plots,
Thierry Banel <=
- Re: [O] text-only plots, Carsten Dominik, 2013/12/08
- Re: [O] text-only plots, Thierry Banel, 2013/12/08
- Re: [O] text-only plots, Suvayu Ali, 2013/12/09
- Re: [O] text-only plots, Ivan Andrus, 2013/12/09
- Re: [O] text-only plots, Thierry Banel, 2013/12/09
- Re: [O] text-only plots, Suvayu Ali, 2013/12/09
- Re: [O] text-only plots, Thierry Banel, 2013/12/10
- Re: [O] text-only plots, Michael Brand, 2013/12/08
- Re: [O] text-only plots, Thierry Banel, 2013/12/08
- Re: [O] text-only plots, Achim Gratz, 2013/12/08