Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Notebooks and Documents > Layout & Tables > Grids & Tables > SpanFromBoth >
Mathematica > Visualization and Graphics > Data Visualization > Layout & Tables > Grids & Tables > SpanFromBoth >
Mathematica > Data Manipulation > Statistical Data Analysis > Statistical Visualization > Data Visualization > Layout & Tables > Grids & Tables > SpanFromBoth >

SpanFromBoth

SpanFromBoth
is a symbol that can appear at a particular position in a Grid or related construct to indicate that the corresponding position is occupied by a spanning element that appears above and to its left.
Span throughout a 2×2 block:
Set a red background throughout the spanned region:
Span throughout a 2×2 block:
In[1]:=
Click for copyable input
Out[1]=
 
Set a red background throughout the spanned region:
In[1]:=
Click for copyable input
Out[1]=
Graphics will default to filling the available space:
An explicit ImageSize setting will prevent this behavior:
To span across both rows and columns requires appropriate use of SpanFromBoth:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF