The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: controllers in manipulate
Replies: 5   Last Post: Oct 23, 2013 11:43 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Tomas Garza Hernandez

Posts: 264
Registered: 4/15/05
Re: controllers in manipulate
Posted: Oct 22, 2013 12:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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}}]


> From:
> Subject: controllers in manipulate
> To:
> 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!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.