MathGroup Archive 2013

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

Search the Archive

Re: controllers in manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131881] Re: controllers in manipulate
  • From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
  • Date: Wed, 23 Oct 2013 23:44:34 -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

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!

Hi, Francisco,

Try this:

Manipulate[
 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.
IEE S.A.
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 iee.lu



  • 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