Please edit file addons/graphics/plot/jzplot.ijs
and add the 2 fwrite lines as shown below.

run plot and let it raise NaN exception.
send the 2 files to our email address
to help us track it down.

project=: 3 : 0
'~/y.bin' fwrite~ 3!:1 y
'~/Tfm.bin' fwrite~ 3!:1 Tfm
dat=. }:"1 (y,.1) mp Tfm
dist=. ViewDist-{:"1 dat
((ViewDist*}:"1 dat)%dist),.dist
)

Fri, 18 Jan 2019, Ian Clark написал(а):
> Yes, I can reproduce Joey's error on my nonavx Mac. (JVERSION is identical
> to Joey's). But I do not have an avx machine to reproduce the whole of
> Joe's test.
> 
> I reported a similar error with jqt, which has stopped me using plot with
> j807.
> 
> However after I enter: dbr 1 (as Bill suggests), it cures the problem. Plot
> now performs as it should do, with no suspension. This is the case with
> both jcon and jqt in j807.
> 
> But when I now enter: dbr 0
> …the problem returns.
> 
> On Thu, 17 Jan 2019 at 22:51, bill lam <[email protected]> wrote:
> 
> > initiate a debug session first by
> >   dbr 1
> >
> > and then run the surface plot, when it suspended , the values of y and Tfm
> > can examined.
> >
> >
> > On Fri, Jan 18, 2019, 2:45 AM Joey K Tuttle <[email protected] wrote:
> >
> > > In my various rambles, I made this point.
> > >
> > > iMi7:bin jkt$ ja
> > >    JVERSION
> > > Engine: j807/j64nonavx/darwin
> > > Release-a: commercial/2019-01-11T11:44:43
> > > Library: 8.07.22
> > > Platform: Darwin 64
> > > Installer: J807 install
> > > InstallPath: /applications/j64-807
> > > Contact: www.jsoftware.com
> > >    load 'pacman'
> > >    'update' jpkg ''
> > > Updating server catalog...
> > > Local JAL information was last updated: 16 Jan 2019 08:14:56
> > > All available packages are installed and up to date.
> > >
> > >    load 'plot'
> > >    plot ?~9   NB. trivial plot
> > > NB. resulting PDF displayed by Preview was blank
> > >
> > >    'surface' plot +/~ 1 o. i: 6.28j99  NB. Devon's lovely demo
> > > |NaN error: mp
> > > |   dat=.}:"1(y,.1)    mp Tfm
> > >
> > > NB. error is not good.
> > >
> > > What I didn't say was that this exact same script works just fine with
> > > expected results in  the -
> > >
> > > MBpro:~ jkt$ ja
> > >    JVERSION
> > > Engine: j807/j64/darwin
> > > Release-a: commercial/2019-01-11T11:43:43
> > > Library: 8.07.22
> > > Platform: Darwin 64
> > > Installer: J807 install
> > > InstallPath: /applications/j64-807
> > > Contact: www.jsoftware.com
> > >
> > > BUT downloading the nonavx version onto the same machine -
> > >
> > > MBpro:~ jkt$ /Users/jkt/Desktop/j807\~avx/bin/jconsole ; exit;
> > >    JVERSION
> > > Engine: j807/j64nonavx/darwin
> > > Release-a: commercial/2019-01-11T11:44:43
> > > Library: 8.07.22
> > > Platform: Darwin 64
> > > Installer: J807 install
> > > InstallPath: /users/jkt/desktop/j807~avx
> > > Contact: www.jsoftware.com
> > >
> > >    load 'plot'
> > >    plot ?~9
> > > NB. produced empty PDF
> > >
> > >    'surface' plot +/~ 1 o. i: 6.28j99
> > > |NaN error: mp
> > > |   dat=.}:"1(y,.1)    mp Tfm
> > > NB. No PDF produced, same failure as on the originally reported system
> > >
> > > ~~~
> > >
> > > Looks like a bug in the avx versus nonavx versions...
> > >
> > > Anyone out there using Engine: j807/j64nonavx/darwin  that can check to
> > > see if they get the failure?
> > >
> > > - joey
> > >
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to