Re: controllers in manipulate

• To: mathgroup at smc.vnet.net
• Subject: [mg131877] Re: controllers in manipulate
• From: Tomas Garza <tgarza10 at msn.com>
• Date: Tue, 22 Oct 2013 00:49:17 -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>

An example: a circle with variable radius taking the integral values {1, 2, 3, 4, 5}, together with a circumscribed angle taking real values between Pi/4 and Pi/2:
Manipulate[Graphics[{Circle[{0,0},r],Line[{{r,0},{0,0},{r Cos[a],r Sin[a]}}]},PlotRange->{{-5,5.1},{-5,5}}],{{a,\[Pi]/4},\[Pi]/8,\[Pi]/2},{{r,1},{1,2,3,4,5}}]

-Tomas

> From: fgutiers2002 at yahoo.com
> Subject: controllers in manipulate
> To: mathgroup at smc.vnet.net
> Date: Sun, 20 Oct 2013 23:38:46 -0400
>
>
> 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!
>

• Prev by Date: Re: controllers in manipulate
• Next by Date: How to read 12 bits from a stream ?
• Previous by thread: Re: controllers in manipulate
• Next by thread: Re: controllers in manipulate