I am using Windows 10 and J64.

I can confirm that the script works fine with Jqt.

However it does not work with J console, producing only the first plot.

Henry's suggestion does not work in J console either.

A standard plot call

plot i.10

does work in J console. It may be that the calls to pdf and ghostscript cause the problem

Fraser

-----Original Message----- From: Ryan Eckbo
Sent: Friday, April 8, 2016 10:21 AM
To: Programming forum
Subject: Re: [Jprogramming] Plot not showing

Henry's suggestion didn't work either.

I'm using jconsole on a Mac:

 JVERSION
Engine: j804/j64/darwin
Release: commercial/2015-12-21 18:06:25
Library: 8.04.15
Platform: Darwin 64
Installer: J804 install
InstallPath: /users/ryan/j64-804
Contact: www.jsoftware.com


On 7 Apr 2016, at 10:36, 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to