Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11815 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2012-09-19 08:58 +0000 |
| Last post | 2012-09-19 08:58 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Epilog/Prolog and Show Question Bob Hanlon <hanlonr357@gmail.com> - 2012-09-19 08:58 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2012-09-19 08:58 +0000 |
| Subject | Re: Epilog/Prolog and Show Question |
| Message-ID | <k3c1f0$f07$1@smc.vnet.net> |
Options given in Show will override options in the enclosed graphics.
Use both Epilog and Prolog together.
aa = Plot[Sin[x], {x, 0, 30},
PlotStyle -> Lighter[Blue],
Epilog -> Inset[Graphics[{Red, Circle[]}]]];
Show[aa,
Prolog -> Inset[Graphics[Disk[{.4, .4}]],
Scaled[{.2, .2}]]]
Plot[Sin[x], {x, 0, 30},
PlotStyle -> Lighter[Blue],
Epilog -> Inset[Graphics[{Red, Circle[]}]],
Prolog -> Inset[Graphics[Disk[{.4, .4}]],
Scaled[{.2, .2}]]]
bb = Plot[Sin[x], {x, 0, 30},
PlotStyle -> Lighter[Blue],
Prolog -> Inset[Graphics[{Red, Circle[]}]]];
Show[bb,
Epilog -> Inset[Graphics[Disk[{.4, .4}]],
Scaled[{.2, .2}]]]
Plot[Sin[x], {x, 0, 30},
PlotStyle -> Lighter[Blue],
Prolog -> Inset[Graphics[{Red, Circle[]}]],
Epilog -> Inset[Graphics[Disk[{.4, .4}]],
Scaled[{.2, .2}]]]
Bob Hanlon
On Tue, Sep 18, 2012 at 3:40 AM, Dan O'Brien <danobrie@gmail.com> wrote:
> Can someone explain why Show drops the original Inset Circle[]? And how
> I could make it not forget?
>
> aa = Plot[Sin[x], {x, 0, 30}, Epilog -> Inset[Graphics[Circle[]]]]
> Show[aa, Epilog -> Inset[Graphics[Disk[{.4, .4}]], Scaled[{.2, .2}]]]
>
> bb = Plot[Sin[x], {x, 0, 30}, Epilog -> Inset[Graphics[Circle[]]]]
> Show[bb, Epilog -> Inset[Graphics[Disk[{.4, .4}]], Scaled[{.2, .2}]]]
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web