I put that inside a script, (change =: to =. for xyv) and run to
completion without crash on 64-bit jconsole linux64. Did the crash
only happen in window?
test=: 3 : 0
load 'plot'
sinc=.(sin%])`1:@.(=&0)"0
x=.0.1*i:200
g=.+&.:*:"0
y=.g/~ 0.1*i:200
'density' plot y
2 2{.v=.sinc y=.g/~ 0.1*i:15
>./,y
>./,v NB. OK
'density' plot v
2 2{.v=.sinc y=.g/~ i:16
>./,y
>./,v NB. usually crashes
2 2{.v=.sinc y=.g/~ 0.1*i:200
>./2 2{.v NB. crashes when v is used
''
)
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm