Oops,Ric, it was a mistake on my part. Your code works fine.

On 16 Apr 2018 15:39, "Arnab Chakraborty" <arnab...@gmail.com> wrote:

> Hi Ric,
>
> You have written:
>
> data=: _999 ". > cut;._2 freads 'myfile.txt'
>
> But it produces error. I removed the ;.
> and it worked.
>
> On 14 Apr 2018 12:32, "Ric Sherlock" <tikk...@gmail.com> wrote:
>
> plot is documented on the J wiki:
>
> http://code.jsoftware.com/wiki/Plot
>
> How best to read/parse your 2-column file will depend on the actual format.
> Assuming the fields are separated by one or more spaces the following would
> work:
>
>
>    data=: _999 ". > cut;._2 freads 'myfile.txt'
>    'point; pensize 2' plot ;/ |:data
>
>
>
> On Sat, Apr 14, 2018 at 5:48 PM, Arnab Chakraborty <arnab...@gmail.com>
> wrote:
>
> > Thanks, Ben. That's what I was looking for.
> >
> > BTW, how to get a complete list of all options supported by plot and pd?
> > The labs give only a few. A peep into plot.ijs and jzplot.ijs etc looked
> > confusing.
> >
> > On 14 Apr 2018 06:26, "Ben Gorte" <bgo...@gmail.com> wrote:
> >
> > > 'point' plot (i.8) j. i.8
> > >
> > >
> > > but you hardly see the points (using jqt), and therefore:
> > >
> > >
> > > 'pensize 2; type point' plot (i.8) j. i.8
> > >
> > >
> > >
> > >
> > > On Sat, Apr 14, 2018 at 10:12 AM, Arnab Chakraborty <
> arnab...@gmail.com>
> > > wrote:
> > >
> > > > Hi Bo,
> > > >
> > > >   Thanks, but when I try
> > > >
> > > > plot (i.8) j. i.8
> > > >
> > > > I get a line, and not just 8 points.
> > > >
> > > > On 13 Apr 2018 22:13, "'Bo Jacoby' via Programming" <
> > > > programm...@jsoftware.com> wrote:
> > > >
> > > > > plot x j. y
> > > > >
> > > > >
> > > > >     Den 17:58 fredag den 13. april 2018 skrev Arnab Chakraborty <
> > > > > arnab...@gmail.com>:
> > > > >
> > > > >
> > > > >  Hi all,
> > > > >
> > > > >   There should really be an easy answer to this, but I don't seem
> to
> > > find
> > > > > it.
> > > > >
> > > > > How to make a scatterplot in j? That is, a plot of (x_i,y_i)'s as
> > > > separate
> > > > > points. Also, it will be helpful to make a scatterplot from two
> > columns
> > > > of
> > > > > numbers stored in a file. Any idea?
> > > > >
> > > > > Thanks a lot.
> > > > >
> > > > > Arnab
> > > > > ------------------------------------------------------------
> > ----------
> > > > > 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/forum
> s.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
>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to