6
$\begingroup$

I have Manipulate function with a few horizontal sliders. When I call ImageSize->Small in Plot within my Manipulate only plot of function is resizing and sliders are still big, so I'd like to make them shorter. Is there any possibility to do this?

$\endgroup$

1 Answer 1

5
$\begingroup$

use ImageSize on the slider. For example

Manipulate[{a, b, c},
 {{a, 1, "a"}, .1, 1, .1, ImageSize -> Large},
 {{b, 1, "b"}, .1, 1, .1, ImageSize -> Tiny},
 {{c, 1, "c"}, .1, 1, .1, ImageSize -> Small}
 ]

Mathematica graphics

$\endgroup$
2
  • $\begingroup$ Wow, I didn't think about it! Thank you! $\endgroup$
    – adolzi
    Jun 10, 2015 at 19:08
  • $\begingroup$ Funny though, because Slider[] can take an ImageSize option with two size parameters but that doesn't work with a Manipulate control. Only one parameter works there $\endgroup$
    – kale
    Jun 11, 2015 at 3:41

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.