A slight improvement is suggested below. The pensize 5 makes the
markers visible on my Mac, perhaps the increased pensize is not needed
on windows.
plot_ohlc=: 3 : 0
''plot_ohlc y
:
hl=. 1 2{y
oc=. 0 3{y
ntics=. {:$hl
oc=. ,|:oc
oc=. (2#i.ntics);oc
pd 'reset'
pd 'xticpos ',": i.ntics
pd x
pd 'pensize 5'
pd 'type point'
pd 'markers plus'
pd oc
pd 'type hilo'
pd 'color red'
pd hl
pd 'show'
)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm