MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: controllers in manipulate

  • To: mathgroup at
  • Subject: [mg131881] Re: controllers in manipulate
  • From: Alexei Boulbitch <Alexei.Boulbitch at>
  • Date: Wed, 23 Oct 2013 23:44:34 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

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?


Hi, Francisco,

Try this:

 Plot[Exp[-x*t]*Sin[\[Pi]*y*t], {t, 0, 2 \[Pi]}],
 {x, 0, 5},
 {y, {1, 3, 5}}, ControlType -> {Slider, RadioButton}]

Have fun, Alexei

Alexei BOULBITCH, Dr., habil.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch at

  • Prev by Date: Re: Principal Components
  • Next by Date: Re: controllers in manipulate
  • Previous by thread: Re: controllers in manipulate
  • Next by thread: Re: controllers in manipulate