Probably need to put in a delay between the two lines

2009/12/20 Kairit Sirts <[email protected]>:
> 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
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði
Po Box 127,801 Selfoss ,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to