|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ContentSize
ContentSize
is an option for Manipulate and other functions that specifies the size of the content area to use.
DetailsDetails
- The following settings can be given:
-
w width specified by w {s} maximum width and height specified by s {w,h} explicit width and height {{wmax},{hmax}} width and height maximums {{wmin,wmax},{hmin,hmax}} width and height ranges - Specifications for both width and height can be any of the following:
-
Automatic automatically size to fit d d printer's points (before magnification) 72di di inches (before magnification) Full fill out the enclosing region Scaled[s] a fraction s of the enclosing region - With the setting ContentSize->Automatic, functions like Manipulate use a content area that fits the content given and also allows room for controls. The content area is never wider than the available notebook or other area.
- If ContentSize specifies a content area that does not completely fit the contents, then unless specified otherwise with AppearanceElements, functions like Manipulate display a resize area, as well as scrollbars when necessary.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
By default, Manipulate leaves just enough space for its contents:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
Specify custom content area and allow manual resizing:
| In[2]:= |
| Out[2]= | Play Animation ▪![]() |
Manipulate automatically attaches scrollbars if the content area is too small:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
Specify ImageSize->Full for graphics to allow resizing with the content area:
| In[2]:= |
| Out[2]= | Play Animation ▪![]() |
New in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




