# Formatting the value that the option “Labeled” shows to the right of a manipulator

I need that the appearence labeled of the manipulate take the form rationalize. My code is:

Manipulate[
Plot[Cos@x, {x, 0, 10},
Epilog -> {PointSize[0.02], Point[{t, Cos[t]}]}], {{t, 0}, 0, 10, 1,
Appearance -> "Labeled"}]


Something like:

Manipulate[
Plot[Cos@x, {x, 0, 10}, Epilog -> {PointSize[0.02], Point[{t,
Cos[t]}]}], {{t, 0}, 0, 10, 1,   Appearance -> $Pi] Rationalize[2]}]  I am working in this code: [![Manipulate$$Grid\[{{Graphics\[{Circle\[{0, 0}, 5$, Blue, PointSize$.04$, Style$Text\[ "Q", {4.4 Cos\[\[Theta$ + $Pi$/2$$,
4.4 Sin$$$Theta$ + $Pi$/2$$}\], Black, Bold \] ,
Point${5 Cos$$\[Theta$ + $Pi$/2$$, 5 Sin$$$Theta$ + $Pi$/2$$}\]},
Axes -> True\],
Plot$-5 Cos$$x$, {x, 0, 11}, Ticks -> {Range$0, 11$, Range$-5, 5, 2$}, PlotLabel -> Style$"x(t)= A Cos(\[Omega$t+$Theta$)", Black, Bold$$,
AxesLabel -> {t$s$, X$cm$}, ImageSize -> 350,
Epilog -> {Red,
Line${{$$Theta$, 0}, {$Theta$, -5 Cos$\[Theta$$$}}\], {Black,
Dashed, Line${{0, 5}, {10, 5}}$},
{Black, Dashed, Line${{0, -5}, {10, -5}}$}, PointSize$.025$,
Point${$$Theta$, -5 Cos$\[Theta$$$}\] ,
Style$Text$$"Q", {\[Theta$ + .35, -5.4 Cos$\[Theta$$$}\], Black,
Bold \]            }\]}},
Frame -> All\], {{$Theta$, 0, "Position($Theta$)"}, 0, 11,
Appearance -> "Labeled"}, SaveDefinitions -> True\]][1]][1]


• I don't understand maybe, but would {{t, 0}, 0, 10*Pi, Pi, Appearance -> "Labeled"} do what you seek? – Michael E2 May 21 '18 at 20:19
• Or maybe this? Manipulate[ Plot[Cos@x, {x, 0, 10}, Epilog -> {PointSize[0.02], Point[{t, Cos[t]}]}], {{t, 0}, 0, 10, 1/10, Appearance -> "Labeled"}] or do you mean this: Appearance -> {[Pi] Rationalize[2], "Labeled"}} – bill s May 21 '18 at 20:19
• I get it !!!!! is this {{[Theta], 0, "tiempo(t)"}, 0, 3 Pi, Pi/2, Appearance -> "Labeled"} – Andres May 21 '18 at 21:09
• @Andres It's perfectly ok to post your solution in the preceding comment as an answer below. – Michael E2 May 21 '18 at 21:23
• Thanks my friend @Michael E2 and you @ bill s.Your comments helped me to notice my mistake. – Andres May 21 '18 at 21:28

Manipulate[

• @Andres. No, it imposes an explicit step of 0.1 π. You can change that to any step size you like. – m_goldberg May 23 '18 at 1:54