This is helpful.  However, a few months ago if you used viewmat in jqt the 
result was a copy of the image saved in temp as a png.  This no longer seems to 
happen (and keeps temp much less cluttered.  However how can you save the image 
in temp as a png if you do want it there?

Linda 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of bill lam
Sent: Tuesday, May 12, 2015 11:54 PM
To: [email protected]
Subject: Re: [Jprogramming] Mixing Colors of Light

I don't know JHS, but grid would probably be used in jqt.
Anyways I think that you need to save each viewmat in to an image file and use 
the file names to display those images.

Вт, 12 май 2015, Linda Alvord написал(а):
> Artists often mix each color in their palette with each color. Here a 
> GRB palette has black,blue,magenta, red,cyan,green, yellow and white.
> 
>  
> 
> Using a technique similar to that used for a mileage between cities, I 
> remove duplicates.
> 
>  
> 
> Run this code in JHS. Look at viewmat C+B*A. Each of the eight colors 
> are in the diagonal from upper left to lower right. Seven new colors 
> are available in the mixed colors.
> 
>  
> 
> What I want to do is make a table of these results, but I can't seem 
> to capture the images and put them in boxes. Any ideas?
> 
>  
> 
>  
> 
> load 'viewmat'
> 
> RGB=:0 255{~#:i.8
> 
> GRB=:1 0 2{"1 RGB
> 
> RGB;GRB
> 
> GRB viewmat i.8
> 
> ]A=:<.0.5*(i.8 8)+|:i.8 8
> 
>  GRB viewmat A
> 
> ]B=:(i.8)<:/i.8
> 
> ]C=:63*(i.8)>/i.8
> 
> GRB viewmat C+B*A
> 
> ]E=:'MIX'
> 
> ]F=:GRB viewmat i.8
> 
> ]G=:GRB viewmat ,.i.8
> 
> ]H=:GRB viewmat C+B*A
> 
> (E;F),:G;H
> 
>  
> 
> 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

Reply via email to