Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > Graphics Shape & Size >

ImageSizeAction

Updated In 7 Graphic
ImageSizeAction
is an option for Pane and related constructs which specifies what to do if the specified ImageSize setting does not match the size of the contents.
"Clip"clip at the specified ImageSize
"ResizeToFit"resize to make the contents exactly fit ImageSize
"Scrollable"make the contents scrollable if necessary
"ShrinkToFit"shrink if necessary to make the contents fit
  • With ImageSizeAction->"ShrinkToFit", the contents can be made smaller, but never larger.
The default for ImageSizeAction is "Clip":
Use "ShrinkToFit" to shrink so that all the data fits in the pane:
"ResizeToFit" shrinks or expands so that the data just fills the pane:
"ShrinkToFit" shrinks but never expands:
The default for ImageSizeAction is "Clip":
In[1]:=
Click for copyable input
Out[1]=
 
Use "ShrinkToFit" to shrink so that all the data fits in the pane:
In[1]:=
Click for copyable input
Out[1]=
 
"ResizeToFit" shrinks or expands so that the data just fills the pane:
In[1]:=
Click for copyable input
Out[1]=
 
"ShrinkToFit" shrinks but never expands:
In[1]:=
Click for copyable input
Out[1]=
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team