Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11174 > unrolled thread
| Started by | "Mat' G\." <ellocomateo@free.fr> |
|---|---|
| First post | 2012-08-02 08:55 +0000 |
| Last post | 2012-08-02 08:55 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Graph background & Manipulate "Mat' G\." <ellocomateo@free.fr> - 2012-08-02 08:55 +0000
| From | "Mat' G\." <ellocomateo@free.fr> |
|---|---|
| Date | 2012-08-02 08:55 +0000 |
| Subject | Graph background & Manipulate |
| Message-ID | <jvdfa8$c52$1@smc.vnet.net> |
Hello,
I would like to output several graphs in a Grid based on a single
Manipulate. Each cell in the Grid shows a graph that is based on a Show
structure. All graphs have the same "background" that is expressed
similar to this in Show, with all VarX variable depending on Manipulate:
Show[
Quiet@DensityPlot[HERE different functions, depending on the cell]
,Quiet@StreamPlot[
{ExTotal[x, y, Var1,Var2], EyTotal[x, y, Var1,Var2]}
, {x, -Var3, Var3}, {y, -Var3, Var3}
]
, Graphics[{
Rectangle[{-Var1, 0}, {Var1,30}]
Rectangle[{-Var2, 0}, {Var2,30}]
}]
]
Since I have many graphs, can I somehow gather the "background" part in
a variable?:
BackgroundGraph={
,Quiet@StreamPlot[
{ExTotal[x, y, Var1,Var2], EyTotal[x, y, Var1,Var2]}
, {x, -Var3, Var3}, {y, -Var3, Var3}
]
, Graphics[{
Rectangle[{-Var1, 0}, {Var1,30}]
Rectangle[{-Var2, 0}, {Var2,30}]
}]
}
I would like to have something similar to:
Show[
Quiet@DensityPlot[HERE different functions, depending on the cell]
,BackgroundGraph
]
where BackgroundGraph needs be edited only once for all graphs, but
still updates depending on Manipulate?
I very often find myself willing to do that, but I am always blocked in
my understanding of Mathematica's syntax.
Thanks for helping!
Mat
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web