[Jprogramming] JHS plot breakthrough
bill lam
bbill.lam at gmail.com
Thu Dec 8 08:00:50 HKT 2011
FYI, the content of the original jplotdemo.ijs is
NB. jplot demos
jplotdemo=: 0 : 0
NB. requires JAL graphics/plot and graphics/afm installs
NB. requires JAL general/misc and math/misc installs
NB. jplot 0 through jplot 54 create html plot files
jplot 22 NB. create html plot file
NB. jhslink creates link to file
'abc' jhslink jplot 22 NB. window abc - click link to see plot
NB. jhsshow shows plot in pop up window
NB. pop ups normally blocked - jhsshow requires they are allowed
'abc' jhsshow jplot 22
)
require '~addons/graphics/plot/plot.ijs'
require 'numeric trig'
load '~Demos/plot/plotdemos.ijs'
jplot=: 3 : 0
plotdemos y NB. create ~temp/plot.htm
'~temp/plot.htm'
)
It had been then revised and finally integrated into jhs. That j plot
on jhs had been in a fluid state during the past 2 weeks but it should
be more stable by now.
Срд, 07 Дек 2011, Mike Day писал(а)
> Well yes, that works, ie
>
> "
> load '~Demos/plot/plotdemos.ijs'
>
> "
>
> However, your initial advice said
>
> "
>
> browse to jijx
> load'~addons/ide/jhs/jplotdemos.ijs'
> plotdemo
>
> "
>
> as in the history below. As I said, I couldn't find
> jplotdemo(s).ijs anywhere on my disk, partitions
> C & D.
>
> I suppose I misunderstood.
>
> Sorry and Thanks
>
> Mike
>
> On 07/12/2011 6:36 PM, Eric Iverson wrote:
> > As far as I can tell the info in jhelp on plot is correct.
> >
> > You need to do a JAL install of demos/plot and then
> >
> > load '~Demos/plot/plotdemos.ijs'
> >
> >
> > Is this not the case?
> >
> >
> > On Wed, Dec 7, 2011 at 11:39 AM, Mike Day<mike_liz.day at tiscali.co.uk>wrote:
> >
> >> Can anyone join this party? Maybe not!
> >>
> >> I tried updating with JAL several days ago but after doing so, I
> >> couldn't find
> >> jplotdemos.ijs or jplotdemo.ijs anywhere, neither in ~addons/ide/jhs/ nor
> >> anywhere else on my disk, and whether searching via jfile or in Windows
> >> Explorer.
> >>
> >> I've repeated the process several times, with no success, as far as
> >> locating
> >> jplotdemo(s).ijs.
> >>
> >> On the other hand, plot 10?10 is fine, so it appears as though the actual
> >> plotting is fine, which is good news!
> >>
> >> But where's the demo script? What have I done wrong this time?
> >>
> >> JVERSION
> >> Engine: j701/2011-01-10/11:25
> >> Library: 7.01.051
> >> Platform: Win 32
> >> Installer: j701a_win.exe
> >> InstallPath: d:/j701 NB.<<< is this significant???
> >>
> >> Some JAL versions:
> >> ide/jhs 1.0.128
> >> graphics/plot 1.0.20
> >>
> >> I couldn't enquire earlier as I couldn't send emails for a few days.
> >>
> >> Thanks for any help
> >>
> >> Mike
> >>
> >>
> >> On 02/12/2011 6:34 PM, Eric Iverson wrote:
> >>> Thanks to a significant contribution by Bill Lam we now have much of the
> >> J6
> >>> native J plot facility in J7 JHS!
> >>>
> >>> This provides plotting in JHS similar to what was available in J6 without
> >>> the requirement for gnuplot and without the limitations of Google Charts.
> >>>
> >>> The plot output is an html file that draws on the html5 canvas element.
> >>> This is similar to the new gnuplot facility and uses the same jhsshow,
> >>> jhslink, and related facilities.
> >>>
> >>> There are still rough edges that need work, but I strongly encourage you
> >> to
> >>> take an initial look.
> >>>
> >>> Use JAL to update JHS then shutdown and restart JHS server.
> >>>
> >>> browse to jijx
> >>> load'~addons/ide/jhs/jplotdemos.ijs'
> >>> plotdemo
> >>>
> >>> One of the big problems in getting labs to run in JHS was that J6 plot
> >>> wasn't supported. With this new support it should be much easier to get
> >>> more of the labs running cleanly on JHS.
> >>>
> >>> This plot facility will work on your iPad!
> >>> ----------------------------------------------------------------------
> >>> For information about J forums seehttp://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
> >
>
> ----------------------------------------------------------------------
> 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
More information about the Programming
mailing list