Try

plottest ,: i. 10

A table of two lines worked; you need a table of one line, not a list.

Henry Rich

On 4/6/2016 8:36 PM, Ryan Eckbo wrote:
I'm trying to plot one dashed line, but it seems to only work when
more than one line is plotted.

plottest=: 3 : 0
pd'reset'
pd'penstyle 2 '
pd'pensize 2'
pd y
pd'show'
)

plottest (i.10),:3+i.10  NB. two dashed lines
plottest i.10  NB. empty plot

Why is this?

Ryan
----------------------------------------------------------------------
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