Re: controllers in manipulate
- To: mathgroup at smc.vnet.net
- Subject: [mg131876] Re: controllers in manipulate
- From: Bob Hanlon <hanlonr357 at gmail.com>
- Date: Tue, 22 Oct 2013 00:48:57 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <20131021033846.912BC6A3B@smc.vnet.net>
Manipulate[f[x, y], {{x, 0.}, -10., 10., 0.01, Appearance -> "Labeled"}, {{y, 3}, 0, 6, 1, ControlType -> RadioButton}] Manipulate[f[x, y], {{x, 0.}, -10., 10., 0.01, Appearance -> "Labeled"}, {{y, 3}, Range[0, 6], ControlType -> SetterBar}] For larger number of integer values: Manipulate[f[x, y], {{x, 0.}, -10., 10., 0.01, Appearance -> "Labeled"}, {{y, 10}, Range[0, 20]}] Manipulate[f[x, y], {{x, 0.}, -10., 10., 0.01, Appearance -> "Labeled"}, {{y, 0}, -20, 20, 1, Appearance -> "Labeled"}] Bob Hanlon On Sun, Oct 20, 2013 at 11:38 PM, Francisco Gutierrez < fgutiers2002 at yahoo.com> wrote: > > Dear Group: > > I have a Manipulate[f, ...], where f is a function of 2 variables, x and y > > x can get any real value, but y can only be an integer. How can I put the > controls so that the control of x is a slider and the control of > y is a radio button? > > Thanks! > >
- References:
- controllers in manipulate
- From: Francisco Gutierrez <fgutiers2002@yahoo.com>
- controllers in manipulate