From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63697 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: Re: Gnuplot module: Patching of Gnuplot binary still needed? Date: Fri, 19 Nov 2010 00:38:53 +0100 Message-ID: References: <1289772254.13580.44.camel@mattotaupa> <201011152131.18476.peter@affenbande.org> 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: dough.gmane.org 1290123564 10854 80.91.229.12 (18 Nov 2010 23:39:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2010 23:39:24 +0000 (UTC) Cc: Peter Hedwig To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 19 00:39:20 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJE4U-0001qs-DX for gctc-ntg-context-518@m.gmane.org; Fri, 19 Nov 2010 00:39:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8283CA869; Fri, 19 Nov 2010 00:39:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jeJvF4BCJ9OO; Fri, 19 Nov 2010 00:39:14 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9CBC2CA85C; Fri, 19 Nov 2010 00:39:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCDFBCA85C for ; Fri, 19 Nov 2010 00:39:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ol91AVRTgN4j for ; Fri, 19 Nov 2010 00:39:00 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id BEBDACA85B for ; Fri, 19 Nov 2010 00:39:00 +0100 (CET) Original-Received: from mails3.awi.de (mails3.AWI.DE [134.1.2.14]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAINcx1s015602 for ; Fri, 19 Nov 2010 00:39:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mails3.awi.de (Postfix) with ESMTP id 18A1EC82EE for ; Fri, 19 Nov 2010 00:38:59 +0100 (MET) X-Virus-Scanned: amavisd-new at awi.de Original-Received: from localhost ([127.0.0.1]) by localhost (mails3.awi.de [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 3CEZBVkjXIqs for ; Fri, 19 Nov 2010 00:38:54 +0100 (MET) Original-Received: from msg.awi.de (msg.AWI.DE [134.1.3.16]) by mails3.awi.de (Postfix) with ESMTP id 0F893C82DB for ; Fri, 19 Nov 2010 00:38:54 +0100 (MET) Original-Received: from [192.168.22.12] ([unknown] [217.187.204.24]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0LC300IZ1TOT6310@msg.awi.de> for ntg-context@ntg.nl; Fri, 19 Nov 2010 00:38:54 +0100 (MET) In-reply-to: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.1.2.14; country=DE; region=03; city=Bremerhaven; latitude=53.5500; longitude=8.5833; http://maps.google.com/maps?q=53.5500,8.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DwLCXwC - ee10fccdc2e0 - 20101119 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63697 Archived-At: On Nov 17, 2010, at 11:47 , Mojca Miklavec wrote: > [...] >> Here is a brief list of changes to the gnuplot CVS version: >> >> * support for ConTeXt and plain TeX > > Hurray! Thanks a lot. > >> * removed dependencies for LaTeX packages other than TikZ >> * needs TikZ Version >= 2.0 >> * better support for saving terminal options with gnuplot 'save' command >> * fixed "overflow" on negative coordinates that are outside of the crop box >> * merged all recent patched from murphy-md and Ethan >> >> Unfortunately it is the Context output that does not compile with the most >> recent Context version I installed from TeXLive 2010 and the >> http://tlcontrib.metatex.org/2010/ repository. But I remember it working >> with an older version so I hope this can be fixed easily ... Thanks, I just updated the CVS version of gnuplot with your files and gave it a try: It works with minimals! > [...] >> >> Feedback and patches welcome! No patches I'm afraid. But feedback goes here: 1) The label text of the following key element takes the color of the preceding key symbol. Minimal example: set terminal lua tikz fulldoc size 15cm,7cm context set output 'plot.tex' set xrange [ 0 : 13 ] f1(x)=sqrt(x) f2(x)=sqrt(x*0.8)-3 plot f1(x) lc rgb 'blue', f2(x) 2) Negative axis labels are set with hyphen instead of proper minus sign, which should be longer (see example above). 3) First I thought luatex hangs but then I noticed TikZ is awfully slow when drawing plots with large amounts of data points (the tikzpicture had about 3000 lines). I can speed this up by reducing the size by invoking plot with: plot "< gawk '(NR-1)%10 == 0 {print $0}' fileWithLotsOfData" using [...] I wonder if there is a smarter way to do this in gnuplot. 4) Is there a possibility to get rid of the vertical artifacts in filledcurves? Note: the artifacts are only visible when plotting from data files. set terminal lua tikz fulldoc size 15cm,7cm context set output 'plot.tex' plot "< gawk 'BEGIN {for (i = 1; i <= 100; i++) {print i, 0.7*i, 0.8*i+50}}'" using 1:2:3 with filledcurve lc rgb 'black' t 'filled curve' set xrange [ 0 : 13 ] plot abs(x) with filledcurve xy=2,5 Best wishes, Florian ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________