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, 2018 at 9:38
  • $\begingroup$ @Kuba How easy, thanks! And for a list of parameters I have to do it step by step ? $\endgroup$ Dec 12, 2018 at 9:42

1 Answer 1

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$ Feb 3, 2021 at 23:51
  • $\begingroup$ @PierreALBAREDE: Mine shows the numerical value. See addition to solution. $\endgroup$ Feb 4, 2021 at 0:02
  • $\begingroup$ Yes, sorry, I forgot the Appearance -> "Labeled", thank you, $\endgroup$ Feb 4, 2021 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.