From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9752 Path: main.gmane.org!not-for-mail From: Jens-Uwe Morawski Newsgroups: gmane.comp.tex.context Subject: Re: MP graph auto axes Date: Thu, 7 Nov 2002 14:36:50 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <20021107143650.307f1c48.morawski@gmx.net> References: <20021106191356.7160@news.comp.lancs.ac.uk> <5.1.0.14.1.20021107095401.03198d70@server-1> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036680896 18175 80.91.224.249 (7 Nov 2002 14:54:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2002 14:54:56 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189npX-0003d8-00 for ; Thu, 07 Nov 2002 15:40:23 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3F63F10AF4; Thu, 7 Nov 2002 15:41:51 +0100 (MET) Original-Received: from mail.gmx.net (sproxy.gmx.de [213.165.64.20]) by ref.ntg.nl (Postfix) with SMTP id A2F7710AE6 for ; Thu, 7 Nov 2002 15:40:26 +0100 (MET) Original-Received: (qmail 11984 invoked by uid 0); 7 Nov 2002 14:40:25 -0000 Original-Received: from port1603.fra.ginko.net (HELO melior.localdomain) (212.202.68.79) by mail.gmx.net (mp018-rz3) with SMTP; 7 Nov 2002 14:40:25 -0000 Original-To: ntg-context@ref.ntg.nl In-Reply-To: <5.1.0.14.1.20021107095401.03198d70@server-1> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-redhat-linux) Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9752 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9752 On Thu, 07 Nov 2002 09:55:29 +0100 Hans Hagen wrote: > looks like some problem in interpreting the big numbers, (mp can handle > only numbers <4000 and some string trickery is used in the graph package); > does this also happens in stand alone graphics or is it context specific? > no, the problem is not specific to ConTeXt. The problem is in the Gipick_ macro. There a logarithm is calculated: n = 1 for i=1 upto mlog(xpart Gmhh_-xpart Gmll_)/Mten - mlog m/(Mten-epsilon): *10 endfor; The problem is that the argument of mlog becomes <0, thus it is not defined. Here is the error message for the 3rd graph: ! Logarithm of -1385.99995 has been replaced by 0. Gipick_->...i=1upto.mlog(xpart.Gmhh_-xpart.Gmll_)/ Mten-mlog.m/(Mten-epsilon)... auto->...fi.else:hide(Gme_:=Gesame_)Gigen_(Gipick_ ,Gcma_.Gpack_(m,Gme_))fi I spend some time yesterday, but the package is a little tricky and uses some not intuitive variable names. so... Jens