Hi Charles, It appears that your file save didn't work. Use a full pathname for the file that you know exists. Maybe:
(pa1;s) write_image 'c:\temp\temp.png' Best, Cliff On 10/21/2011 3:01 AM, Charles Pechacek wrote: > > 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 > -- Clifford A. Reiter Lafayette College, Easton, PA 18042 http://webbox.lafayette.edu/~reiterc/ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm