Here is a graphical view of the categorical table
where each cell is a circle of proportional diameter.
Sort of a diametrical viewmat.
To paste in View Definition of Plot demo
mth=. '"" "L L" "H L" "L H" "H H" ""'
pd 'type point'
pd 'graphbackcolor mediumgray'
pd 'gridcolor 230 230 230'
pd 'axes 1 1;axiscolor white'
pd 'xticpos 0 1 2 3 4 5 '
pd 'yticpos 0 1 2 3 4 5 '
pd 'xlabel ',mth
pd 'ylabel ',|.mth
pd 'color blue'
data=. 2.5 * 4 [EMAIL PROTECTED]
diam=: pd@('pensize ',":)
coord=: [: ;&,/ 1 + 4 4&#:
view=: <@([EMAIL PROTECTED] ] ([: pd coord)@])"0
(10*data) view i.4 4
--- Bill Harris <[EMAIL PROTECTED]> wrote:
> I'm trying to communicate the results of a simple 4-factor factorial
> experiment. I've set each of those factors to their miminum and maximum
> values, and I've got a list of 16 numbers representing the response at
> each of those 16 settings.
>
> I tried a surface or wire plot, but I couldn't figure out how to label
> the axes. I tried a plot with i.16 on the abscissa, the responses at
> each of the 16 points on the ordinate, and a table to relate data point
> (abscissa) to experimental condition, but one person out of two who have
> seen it so far found that non-intuitive.
>
> If I try to sketch it here, it would become something like
>
> V V
> a a
> r r
>
> 1 2
> +---------------------+
> L L |0.2 0.1 0.2 0.1|
> | |
> L H |0.7 0.6 0.7 0.6|
> | |
> H L |0.8 0.6 0.8 0.6|
> | |
> H H |2.2 1.7 2.2 1.7|
> +---------------------+
> L H L H Var 3
> L L H H Var 4
>
>
> but with a graph in the middle.
>
> Has anyone seen a nice way to plot this? It'd be nice if it worked well
> in J (or possibly Gnuplot) without a lot of manual placing of text on
> the graph.
>
> Part of me wonders if I'd be better off just to do a table of numbers.
> That might be pretty clear, especially if I swap the zeroth and first
> columns. That would put the two highest variables at the center bottom
> and the next two at the outside bottom. (Making such a table
> cylindrical makes that even clearer, but that may be a bit excessive.)
____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm