If I copy and paste this code in a jijs file and run it. Now one is saved:
require 'viewmat' viewmat (%:(i:160)>./i:160);'First' viewmat (*:(i:160)>./i:160);'Second' viewmat (%:(i:160)>./i:160) All three images appear with appropriate labels. However, the only one that is saved is the last one which has the name. “viewmat” It would be most useful if they were each saved with the appropriate name using ctrl - s . It is possible to create each image separately as "viewmat.bmo". Each file could then have its name changed. Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of bill lam Sent: Wednesday, March 19, 2014 7:22 AM To: [email protected] Subject: Re: [Jprogramming] Saving viewmst images There was a bug in viewmat in detecting GUI, now fixed, please update addons. Please note that viewmat is updated for j801 only, I assume you are also using j801 JQT or jconsole otherwise the following is not applicable. for J801 JQT: viewmat (%:(i:160)>./i:160) then press ctrl-s over the bitmap for J801 jconsole: viewmat (%:(i:160)>./i:160) (output auto saved) all bitmaps will be saved to ~temp/viewmat.bmp in both cases, please copy or rename if you will save multiple viewmat. I don't know how to (and have never) use the savemat_jviewmat_ Not applicable to JHS because JHS uses its own version of viewmat. Ср, 19 мар 2014, Linda Alvord писал(а): > I have created two images named First and Second. > > > > require 'viewmat' > > viewmat (%:(i:160)>./i:160);'First' > > viewmat (*:(i:160)>./i:160);'Second' > > > > > > How can I use the code mentioned in the viewmat lab to save them as > "First.bmp" and "Second.bmp" to the temp file? > > > > Here are the hints I found but I can't seem to use the correct syntax to > save the images. > > > > utilities, including: > > > > readmat_jviewmat_ '' NB. reads active viewmat window > > > > savemat_jviewmat_ '' NB. saves active viewmat window > > NB. argument is filename, > > NB. default ~temp\jviewmat.bmp > > > > Linda > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
