4
$\begingroup$

Does anyone know how to get rid of the grey box in Manipulate plots? I find that they look clunky and would look much cleaner without the box, but I am very new to the software so I don't know how I would go about that. To clarify, I am talking about the box containing the plot and slider not the plot itself.

Here is my code:

Manipulate[Plot[Sin[x (1 + a x)], {x, 0, 6}], {a, 0, 2}]

Any help would be greatly appreciated, thanks!this is the box I am referring to

$\endgroup$

2 Answers 2

9
$\begingroup$

There is an option called Paneled to control the outer frame. Setting this option to False should do the trick.

Manipulate[Plot[Sin[x (1 + a x)], {x, 0, 6}], {a, 0, 2}, Paneled -> False]

Manipulate with Panel removed

$\endgroup$
8
$\begingroup$

To remove only the outer panel keep the frame around the content area, you can use Style + DefaultOptions as follows:

Style[#, DefaultOptions -> {Panel -> {Background -> White}}] & @
 Manipulate[Plot[Sin[n x], {x, 0, 2 Pi}], {{n, 3}, 0, 10, 1}]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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