Well, here I am again. I can't believe how much trouble I'm having with this.
Here is an example of the output I'm getting. This appears on page 17 of FVJ.
I've
changed things a bit to bring the matrix size up to 512x512 more quickly, but
otherwise, this is a picture of what's going on:
s=: 1 1$1
sier=: 3 : 'y,y,.y'
$s=: sier^:9 s
512 512
load 'graph'
viewmat s
pa1=: 255 255 0,:0 0 255
pa1 viewmat s
$s
512 512
load '~addons\media\image3\view_m.ijs'
view_data s
512 512
(pa1;s) write_image 'temp\temp.png'
_1
view_image 'temp\temp.png'
|index error: viewimage_run
| wh=.1 0 {$y
Notice the _1 output after the line (pa1;s).... This is not indicated in the
book. Up to
the view_image statement, everything works fine--the viewmat statements produce
the expected output.
Any help is much appreciated. Thank you.
Charles.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm