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 <tbanelweb...@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 > > > >