From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36073 Path: news.gmane.org!not-for-mail From: "Henning Hraban Ramm" Newsgroups: gmane.comp.tex.context Subject: Re: inline diagrams/charts? Date: Fri, 17 Aug 2007 09:49:25 +0200 Message-ID: <954f61110708170049y2e835e75x1598fa9620ab3961@mail.gmail.com> References: <46C37FC8.4020801@comp.lancs.ac.uk> <954f61110708160054m2667b422j4ae2982f9b825472@mail.gmail.com> <115224fb0708160140k172a1331nd2fda8511d434415@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187336992 20480 80.91.229.12 (17 Aug 2007 07:49:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Aug 2007 07:49:52 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 17 09:49:48 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1ILwaY-0002gf-7A for gctc-ntg-context-518@m.gmane.org; Fri, 17 Aug 2007 09:49:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5FDE520373; Fri, 17 Aug 2007 09:49:45 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23681-02; Fri, 17 Aug 2007 09:49:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5F6AF20374; Fri, 17 Aug 2007 09:49:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 581C320374 for ; Fri, 17 Aug 2007 09:49:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24079-02-2 for ; Fri, 17 Aug 2007 09:49:28 +0200 (CEST) Original-Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by ronja.ntg.nl (Postfix) with ESMTP id 133A920373 for ; Fri, 17 Aug 2007 09:49:27 +0200 (CEST) Original-Received: by nz-out-0506.google.com with SMTP id m7so274869nzf for ; Fri, 17 Aug 2007 00:49:26 -0700 (PDT) Original-Received: by 10.142.242.8 with SMTP id p8mr169008wfh.1187336965611; Fri, 17 Aug 2007 00:49:25 -0700 (PDT) Original-Received: by 10.143.162.2 with HTTP; Fri, 17 Aug 2007 00:49:25 -0700 (PDT) In-Reply-To: <115224fb0708160140k172a1331nd2fda8511d434415@mail.gmail.com> Content-Disposition: inline X-Google-Sender-Auth: 40313bb34a93f762 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36073 Archived-At: 2007/8/16, Wolfgang Schuster : > > > sparklines? > > Thank you, that's what I meant. > > I had in mind there was some TeX solution? But never mind, I need them > > in an InDesign layout anyway. > there was a pgf solution on Tuftes page: > http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0000Lk&topic_id=1&topic=Ask+E%2eT%2e Thank you. Actually, I only seem to need some percentage bars for my poll results (% of yes, perhaps and no for about 50 questions). So I wrote a python script that gets the data from my database and writes an EPS of the bar (fortunately I learned how to handcode PS). This is converted to PDF, and I'm set. As I mentioned, my magazine is made with InDesign, so I can't calculate on the fly. Looking at all the beautiful sparklines, I thought how I could utilize the higher data density, but had no idea yet. But my inline bars (with a scale) are already better than the pie charts that I had in mind first. Greetlings, Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________