Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Showing the Current Value of a Slider in Manipulate

2,311 views
Skip to first unread message

Gregory Lypny

unread,
Sep 23, 2009, 11:50:25 PM9/23/09
to
Hello everyone,

This Manipulate thing is really cool. I know you can create a text
label and set a default value for a slider (and other controls), but
is it also possible to show the currently-selected slider value beside
the slider?

Regards,

Gregory

Bob Hanlon

unread,
Sep 24, 2009, 7:50:01 AM9/24/09
to

Use Appearance -> "Labeled"

Manipulate[
Plot[Sin[a x + b], {x, 0, 6}],
{{a, 2, "Multiplier"}, 1, 4, 0.05,
Appearance -> "Labeled"},
{{b, 0, "Phase Parameter"}, 0, 10, 0.05,
Appearance -> "Labeled"}]


Bob Hanlon

---- Gregory Lypny <gregor...@videotron.ca> wrote:

=============

Bayard Webb

unread,
Sep 24, 2009, 7:50:33 AM9/24/09
to
There is a "+" next to the slider(s), click it. It reveals a VCR-like
control set.


Bayard


Begin forwarded message:

Harut Amirjanyan

unread,
Sep 24, 2009, 7:51:07 AM9/24/09
to
You are probably looking for this
Manipulate[Plot[Sin[x (1 + a x)], {x, 0, 6}], {a, 0, 2, Appearance ->
"Labeled"}]
its in huge "More Information" section of manipulate so a bit tricky to
find.
I think Appearance -> "Labeled" should be the default behavior for sliders
in Manipulate.
0 new messages