
Re: controllers in manipulate
Posted:
Oct 22, 2013 12:02 AM


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@yahoo.com > Subject: controllers in manipulate > To: mathgroup@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! >

