Would a grayscale plot work for you?

   3{.grayscale=. >_3<\3#i.256
0 0 0
1 1 1
2 2 2

   grayscale viewmat +/~i.10
0
   grayscale viewmat */~i.10
0

On Tue, Jan 20, 2015 at 11:48 PM, Ryan <[email protected]> wrote:

> I have a matrix of probabilities that I'd like to visualise similar to
> this:
> http://emotion.inrialpes.fr/people/synnaeve/phdthesis/
> images/battleship_board_3_1miss.png
> where the bigger the probability, the bigger the square.  The closest I've
> come is a simple
> density plot
>
>         mymat=? 27 27$0
>     load 'graphics/plot viewmat'
>     'density' plot mymatrix
>     NB. or
>     viewmat mymatrix
>
> I've looked through plot's source code but don't see an option for
> something like this.
>
> Does someone know if it's possible to do?
>
> thanks for any help,
> Ryan
>
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to