If I run the code below, which contains a viewmat and a plot when I run it
in JHS, I can copy the entire output into a Word document. Everything except
the plot appears correctly. Is there a way to capture the plot and insert
it into he document?
load 'viewmat plot'
]N=:8
GRB=:|.255*1 0 2{"1 #:i.8
shift=: -"1 <./
grid=: 13 :'(1++"1 >./y)$0'
draw=: 13 :'(i.#y)(;/y)}grid y'
flight=: 13 :'viewmat draw shift y'
ran=: 13 :'0 0,(-<:y)+?(y,2)$y'
]R=:ran N
]S=:shift R
]T=:|.|:draw shift S
GRB viewmat i.1+N
GRB viewmat T
path=: 13 :'plot ;/|:([y),{.y'
path S
S
Linda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm