Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10251
| From | Jennifer <ptewari786@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | how to add graphics options in a plot which is already produced and has a manipulator |
| Date | 2012-05-29 09:44 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jq25q6$6dp$1@smc.vnet.net> (permalink) |
Hi all,
I am novice to mathematica and stuck into one problem i.e.
how can I add graphics option to an already made plot which has a manipulator to control itself.
s = Manipulate[
PopupWindow[
Graphics[
DiscretePlot[Sin[a t], {t, 0, 2 Pi, Pi/6}, ExtentSize -> Full,
ImageSize->Scaled[1], AspectRatio -> .2]], {a}],
OpenerView[{"Vertical", Control[{{a, 1, "Manipulator"}, 1, 30}]}],
ControlPlacement -> Bottom]]
Now I want to add a plot Label by calling the already produced plot s.Because I dont want the duplication of code again as I have to use 4 more different plots in a popupmenu. For eg. when I select s from popupmenu then it should give the output t
t= Show[ s, PlotLabel->"Popup Window Plot"] but this is showing error "Show::gtype: Manipulate is not a type of graphics"
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
how to add graphics options in a plot which is already produced and has a manipulator Jennifer <ptewari786@gmail.com> - 2012-05-29 09:44 +0000
csiph-web