Perhaps it could supply the plot parameters you put for your normal use.
Validate lengths are correct. Not All possible errors, but the ones you
have made often.

On Wed, Oct 26, 2022, 7:33 AM Pablo Landherr <pablo.landh...@gmail.com>
wrote:

> Re "a short verb to validate the data"
>
> How does a *short* verb determine that all possible combinations of plot
> instructions are correct? try. doesn't work. And why doesn't plot do it for
> me?
>
> try. 3+3
>
> |spelling error
>
> | try. 3+3
>
> | ^
>
> Consider the following (which I generated in the browser based J):
>    load 'plot'
>    'xlabel a b c d' plot 3 4 5
> |length error: canvas_text
> |   res=.tolist(<fn),each(<'ctx.fillText('),each txt
>  ,each(<','),each(<("1)0&pfmtjs flipxy pos>.0),each<');'
> |[-0]
>
> That is an excellent outcome. But the same sentence "crashes" not only the
> latest J. In 807, you'll find yourself in an endless loop of error messages
> which only stops after you forcibly shut J down.
>
>
>
> On Wed, Oct 26, 2022 at 3:14 PM Don Guinn <dongu...@gmail.com> wrote:
>
> > Could you write a short verb to validate the data which calls plot if the
> > data is correct to plot or give you an error message if not?
> >
> > On Wed, Oct 26, 2022 at 7:00 AM Brian Schott <schott.br...@gmail.com>
> > wrote:
> >
> > > Resending:
> > >
> > > On Tue, Oct 25, 2022 at 6:02 PM Brian Schott <schott.br...@gmail.com>
> > > wrote:
> > >
> > > > Pablo,
> > > >
> > > > I was able to execute the following code using jconsole.
> > > > See my version info below. Perhaps, this will help.
> > > >
> > > >    QA=: {&a.@(a.&i.@]+[QI 26"_)
> > > >    QI=: ?.@$
> > > >    Fcat=:161 38 QA 'a'
> > > >    load'plot'
> > > >    ('xlabel ',,Fcat,.' ') plot ?161#100
> > > >    JVERSION
> > > > Engine: j903/j64/darwin
> > > > Release-b: commercial/2022-01-28T04:11:24
> > > > Library: 9.03.08
> > > > Platform: Darwin 64
> > > > Installer: J903 install
> > > > InstallPath: /users/brian/j903
> > > > Contact: www.jsoftware.com
> > > >
> > > > On Tue, Oct 25, 2022 at 5:21 PM Pablo Landherr <
> > pablo.landh...@gmail.com
> > > >
> > > > wrote:
> > > >
> > > >> As the discussion seems to have ended, it seems to me that the only
> > > >> remedy,
> > > >> i.e. to not have J crash in case I give *plot* incorrect parameters,
> > is
> > > to
> > > >> revert to an older J-version as the problem was not present when I
> ran
> > > >> J602. Can anyone advise on how far back I should go? 602 or would
> 701
> > or
> > > >> J8
> > > >> series be ok?
> > > >>
> > > >> Kind regards,
> > > >> Pablo Landherr
> > > >>
> > > >> --
> > > > (B=)
> > > >
> > > ----------------------------------------------------------------------
> > > 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to