Thanks for the tips and links. I'll pick away at this and see how far I can
get.

Bob


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devon McCormick
Sent: October 15, 2007 3:32 PM
To: Programming forum
Subject: Re: [Jprogramming] Viewing Patterns in Matrices

Robert -

Brian's idea is a good one - the resulting pictures are much simpler to deal
with, view, and print.
I use a gray-palette like this:

NB.* makeGrayPal: make gray palette with y entries from black to white.
makeGrayPal=: 13 : '|:(3,y)$<.0.5+(255%<:y)*i.y'

For example,
   (makeGrayPal 255) viewmat +/~90|i:100

Also fun to look at are 3-D stereo plots:
http://www.jsoftware.com/jwiki/Scripts/Stereo_Plot
Also from Oleg - 3-D plotting with cubes:
http://www.jsoftware.com/jwiki/Scripts/Plot_3D

The ability to interactively move the graph around is something I've wanted
for some time as well
but haven't gotten around to working on it.

Hope this helps,

Devon

On 10/15/07, Brian Schott <[EMAIL PROTECTED]> wrote:
>
> Robert,
>
>         Have you considered using a density plot? In these
> plots, either color or grey scale provide the magnitude
> dimension, not bars.
>
> On Mon, 15 Oct 2007, Robert O'Boyle wrote:
>
> + I would like a means to view patterns in 2-dimensional matrices using a
> 3-d
> + utility, for example, the residual patterns from a statistical model
> fit.
> + Such a matrix is row x columns of numbers above and below zero. It would
> be
>  ...
>
> (B=) <----------my "sig"
>
> Brian Schott
> Atlanta, GA, USA
> schott DOT bee are eye eh en AT gee em ae eye el DOT com
> http://schott.selfip.net/~brian/
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
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