StatusArea
- To: mathgroup at smc.vnet.net
- Subject: [mg81675] StatusArea
- From: Yasvir Tesiram <tesiramy at omrf.ouhsc.edu>
- Date: Mon, 1 Oct 2007 04:48:23 -0400 (EDT)
G'day All,
How do I get the value returned by StatusArea as a Dynamic variable?
e.g.
d = Partition[Partition[Range[512*8*8], 512], 8];
dims = Dimensions[d];
ds[x_, y_] := d[[x]][[y]];
GraphicsGrid[
Array[
StatusArea[
ListLinePlot[{Range[dims[[3]]], ds[#1, #2]} // Transpose,
Axes -> False,
Frame -> False,
MaxPlotPoints -> 64,
PlotRange -> {All, {0, 2^32}}
],
{#1, #2}] &, {dims[[1]], dims[[2]]}
]
]
As you point with the mouse cursor on a line you should see the array
co-ordinates in the status line of the notebook. So this works as
expected on the grid, but I am at a loss as to how to propagate the
StatusArea return to a Dynamic variable for future use. Any suggestions
would be most helpful.
Thanks
Yas