Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Re: controllers in manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131875] Re: controllers in manipulate
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Tue, 22 Oct 2013 00:48:37 -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>

Something like the following?

  Manipulate[Plot[a Sin[n t], {t, 0, 2 Pi}],
      {{a, 1}, 0.1, 2.0}, {{n, 1}, 1, 5, 1},
      ControlType -> {Slider, RadioButton}]

On Oct 20, 2013, at 11:38 PM, Francisco Gutierrez <fgutiers2002 at yahoo.com> wrote:

> 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?

---
Murray Eisenberg                                    
murray at math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower           
University of Massachusetts 
710 North Pleasant Street  
Amherst, MA 01003-9305








  • Prev by Date: Re: Exercise of Programming with Mathematica
  • Next by Date: Re: controllers in manipulate
  • Previous by thread: controllers in manipulate
  • Next by thread: Re: controllers in manipulate