ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: conTeXt <ntg-context@ntg.nl>
Subject: Re: Tables and graphs
Date: Wed, 27 Dec 2000 09:33:29 +0100	[thread overview]
Message-ID: <3.0.6.32.20001227093329.013a8910@pop.wxs.nl> (raw)
In-Reply-To: <20001223075241.A861@ruhrau.de>

At 07:52 AM 12/23/00 +0100, Johannes H?sing wrote:
>On Fri, Dec 22, 2000 at 06:26:09PM +0100, Wouter Verheijen wrote:
>> Hi,
>
>Ahoj,
>
>> I plan to do a essay about physics with Context. The essay will
>> contain a couple of tables. Most of them will be accompanied by a
>> graph, displaying the same data, compared with a theoretical curve.
>> 
>> - Which program is best suited for this? My first thought is gnuplot.
>>   But that will generate (e.g.) .ps-output, thus I cannot edit the
>>   graph later. Is there a solution?

Well, it depends on what you want to edit. A few days ago i made some mp
macros that can change colors and line widths and remap colors of a picture
as for instance produced by pstoedit. This is what i will use for cleaning
up graphics and making them more consistent.  

>The output of gnuplot depends on the argument to 'set terminal'. Type
>"help set terminal" at the gnuplot prompt. You can use 'mp' as the
>terminal but Metapost at its generic format is limited -- it won't
>handle thousands of points in a scatterplot without being enlarged by
>a wizard.

A few thousand point is not so much a problem. 

>> - Is it possible to share the measured data between the table and the
>>   graph? Maybe Context can read the table as plaintext and insert the
>>   \VL, \FR, \MR etc. automatically?
>
>I'd say you'll have to write a Perl script or whichever scripting
>language suits you best and handle the stuff with makefiles if it
>becomes hairy.

Indeed a typical perl job. Depending on the data, you can use context using
\doprocessfile cum suis, or even mp to do it for you [using mp directly may
be an option], but perl is more sobust in this respect. 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


  reply	other threads:[~2000-12-27  8:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-22 17:26 Wouter Verheijen
2000-12-23  6:52 ` Johannes H?sing
2000-12-27  8:33   ` Hans Hagen [this message]
2000-12-23 14:02 ` George N. White III
     [not found] ` <Pine.SGI.4.31.0012230948570.141578-100000@wendigo.bio.dfo. ca>
2000-12-27  8:33   ` Hans Hagen
2000-12-27 20:20     ` George N. White III

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

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

  git send-email \
    --in-reply-to=3.0.6.32.20001227093329.013a8910@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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.
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 NNTP newsgroup(s).