On Sun, Dec 8, 2013 at 12:27 PM, Michael Brand
<michael.ch.br...@gmail.com> wrote:
> I suggest to have also a unicode variant using
> http://en.wikipedia.org/wiki/Block_Elements

To make it more complete: Distinguish between the variant with
coordinate grid and the one continuous:

| year |  % | ascii    | grid (0 to 7 8th) | continuous (0 to 8 8th) |
|------+----+----------+-------------------+-------------------------|
| 2009 | 55 | WWWWWWl  | ▉▉▉▉▉▉▌           | ██████▋                 |
| 2010 | 54 | WWWWWWu  | ▉▉▉▉▉▉▍           | ██████▌                 |
| 2011 | 60 | WWWWWWW: | ▉▉▉▉▉▉▉▏          | ███████▎                |
| 2012 | 62 | WWWWWWW; | ▉▉▉▉▉▉▉▍          | ███████▌                |
#+TBLFM: $3 = '(orgtbl-ascii-draw $2 0 100) :: $4 =
'(orgtbl-uc-draw-grid $2 0 100) :: $5 = '(orgtbl-uc-draw-cont $2 0
100)

#+BEGIN_SRC emacs-lisp
  ;; orgtbl-uc-draw-grid
  [...]
  (make-string (floor column) ?\▉)
  (string (elt " ▏▎▍▌▋▊▉" (round (* (- column (floor column)) 7))))))))
  ;; orgtbl-uc-draw-cont
  [...]
  (make-string (floor column) ?\█)
  (string (elt " ▏▎▍▌▋▊▉█" (round (* (- column (floor column)) 8))))))))
#+END_SRC

Michael

<<attachment: DejaVu_Sans_Mono.png>>

Reply via email to