ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jens-Uwe Morawski <morawski@gmx.net>
Subject: Re: MP graph auto axes
Date: Thu, 7 Nov 2002 14:36:50 +0100	[thread overview]
Message-ID: <20021107143650.307f1c48.morawski@gmx.net> (raw)
In-Reply-To: <5.1.0.14.1.20021107095401.03198d70@server-1>

On Thu, 07 Nov 2002 09:55:29 +0100
Hans Hagen <pragma@wxs.nl> 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
<to be read again>

I spend some time yesterday, but the package is a little tricky
and uses some not intuitive variable names. so...

Jens

  parent reply	other threads:[~2002-11-07 13:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 19:13 Adam Lindsay
2002-11-07  8:55 ` Hans Hagen
2002-11-07 12:11   ` Adam T. Lindsay
2002-11-07 13:36   ` Jens-Uwe Morawski [this message]
2002-11-07 15:03     ` Adam T. Lindsay
2002-11-07 16:50       ` Hans Hagen

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=20021107143650.307f1c48.morawski@gmx.net \
    --to=morawski@gmx.net \
    --cc=ntg-context@ref.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).