Hi!

I have binary matrices, which I want to plot with viewmat and save to .bmp
files. Suppose I have the code something like that:

require 'viewmat'

plot_min =: 3 : 0
viewmat ? (,~y)$2
        savemat_jviewmat_ jpath '~user\',(":y),'.bmp'
)

The problem is, that running the both sentences manually and separately will
create the correct plot and saves the correct bmp file, but running the verb
results in an empty plot and also empty file. What am I doing wrong?

Kairit Sirts
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to