From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22873 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: function plotting Date: Wed, 5 Oct 2005 17:02:47 +0200 Message-ID: <6faad9f00510050802s165e237dj@mail.gmail.com> References: <20051002172755.GA17649@none.at> <43401ECE.2030309@creutzig.de> <20051002185852.GB19384@none.at> <434044D5.8090109@creutzig.de> <20051003080358.GA3782@none.at> <434169BB.4000008@creutzig.de> <20051004082954.GA20838@none.at> <6faad9f00510041048l25e0b9f0m@mail.gmail.com> <43437B38.6030006@wxs.nl> Reply-To: Mojca Miklavec , mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1128524945 30272 80.91.229.2 (5 Oct 2005 15:09:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2005 15:09:05 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 05 17:09:03 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENAqo-0001nC-H6 for gctc-ntg-context-518@m.gmane.org; Wed, 05 Oct 2005 17:06:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32EF212772; Wed, 5 Oct 2005 17:06:34 +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 15620-03; Wed, 5 Oct 2005 17:06:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 652901279D; Wed, 5 Oct 2005 17:02:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86C6A1279D for ; Wed, 5 Oct 2005 17:02:48 +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 15595-02-2 for ; Wed, 5 Oct 2005 17:02:47 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.203]) by ronja.ntg.nl (Postfix) with ESMTP id 87BF41278D for ; Wed, 5 Oct 2005 17:02:47 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id o25so78174nfa for ; Wed, 05 Oct 2005 08:02:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C+DbvpR01Fl35LrbN4LnzhhIw1IOQPi0iI8z1jTk/bDeHNE25s9eGCaiIMZfKXR9hyebvjBVKNm5N2pO963gc/JIg5i/soZlgEHcCoJ/DSwWCuDK32YYgRWSE1Ebur3RDcdhJwOlmK0Zc8YBaFtYafwxE1TGVFEnpzVwHuny0TI= Original-Received: by 10.49.5.7 with SMTP id h7mr51481nfi; Wed, 05 Oct 2005 08:02:47 -0700 (PDT) Original-Received: by 10.48.247.14 with HTTP; Wed, 5 Oct 2005 08:02:47 -0700 (PDT) Original-To: mailing list for ConTeXt users In-Reply-To: <43437B38.6030006@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22873 Archived-At: Hans Hagen wrote: > gnuplot is great indeed, but the output is rather large; it would be nice= if there was a real good output mode (say, comparable to the output produc= ed by metapost: compact, parsable); LaTeX mode IS parsable and I often edit it manually (except the part which does the smooth plotting of functions with lines; smooth lines are composed from hundreds of points and that part makes the files huge). Drawing only the points results in a reasonably small file. > btw, is it really that difficult to use gnuplot output in context? No. A file context.trm (http://cvs.sourceforge.net/viewcvs.py/gnuplot/gnuplot/term/) should be written by modifiying the postscript/metapost/latex.trm and perhaps some layer should be added in ConTeXt for \startgnuplot ... \stopgnuplot. Metapost can already be used, perhaps only some interaction with ConTeXt is missing (setting point shapes & colors, fonts, ... somewhere at the beginning or in a separate style file). To answer Christophers's and Alexander's question about quality of metapost output: I guess I mixed it up with pslatex when I was talking about the output quality. You can't express it in percentage. See http://pub.mojca.org/tex/gnuplot/trlin.pdf for an example graph with latex/pslatex/mp as rendering terminal. The second example could be easily manually tuned a bit afterwards. Linewidths & typesetting in general is a bit worse (from my point of view), but there's no such quality loss as if you use PNGs. Mojca