That's a good question. require'plot' 'color red; type marker;markersize 2' plot <"1|:0 0,:10 10
works just fine. And, looking at the data: <"1|:0 0,:10 10 ┌────┬────┐ │0 10│0 10│ └────┴────┘ ... and dropping the first coordinate pair from the resulting coordinate lists: <"1|:,:10 10 ┌──┬──┐ │10│10│ └──┴──┘ I would expect that 'color red; type marker;markersize 2' plot <"1|:,:10 10 would do what you want. However, instead, it drops into an infinite error popup loop. Though maybe that's just this current 8.06 beta? -- Raul On Tue, Oct 31, 2017 at 2:35 AM, 'Skip Cave' via Programming <programm...@jsoftware.com> wrote: > Here's a simple plot: > > load 'plot' > > pd 'reset;color red' > > pd 'type marker;markersize 2' > > pd <"1|:0 0,:10 10 > > pd 'show' > > > 1. The above code plots two points, one at 0,0 and one at 10,10. How can I > plot just ONE point? The following code shows NO dots at all: > > load 'plot' > > pd 'reset;color red' > > pd 'type marker;markersize 2' > > pd <"1|:10 10 > > pd 'show' > > > Also in the first example, how can I put a text legend beside the dot at > 10,10? I just want a single ASCII number there beside the 10,10 dot. > > > Skip > > > > > Skip LC > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm