2
$\begingroup$

In a very simple example

Manipulate[Plot[Sin[a x], {x, 0, Pi}], {{a, 1}, 0, 5, Appearance -> "Labeled"},ControlPlacement -> Left]

enter image description here

I would like to resize the size of the control-field to get smaller slider size.

How can I do that? Thanks!

$\endgroup$
2
  • 1
    $\begingroup$ ImageSize -> Tiny next to Appearance? $\endgroup$ – Kuba Dec 12 '18 at 9:38
  • $\begingroup$ @Kuba How easy, thanks! And for a list of parameters I have to do it step by step ? $\endgroup$ – Ulrich Neumann Dec 12 '18 at 9:42
3
$\begingroup$
Manipulate[
  Plot[Sin[a x], {x, 0, π}], 
  {{a, 1}, 0, 5, ImageSize -> Small, Appearance -> "Labeled"},
  ControlPlacement -> Left]

Although it isn't what you asked, I think this is a much better solution:

Manipulate[
 Plot[Sin[a x], {x, 0, π}], {{a, 1}, 0, 5, Appearance -> "Labeled"}, 
 ControlPlacement -> Left, 
 ControlType -> VerticalSlider]

enter image description here

$\endgroup$
3
  • $\begingroup$ VerticalSlider does not have the + checkbox allowing to see the numerical value. $\endgroup$ – Pierre ALBARÈDE Feb 3 at 23:51
  • $\begingroup$ @PierreALBAREDE: Mine shows the numerical value. See addition to solution. $\endgroup$ – David G. Stork Feb 4 at 0:02
  • $\begingroup$ Yes, sorry, I forgot the Appearance -> "Labeled", thank you, $\endgroup$ – Pierre ALBARÈDE Feb 4 at 0:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.