This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

BoxMatrix

BoxMatrix[r]
gives a × matrix of s.
BoxMatrix
gives a × block of s centered in a matrix of s.
BoxMatrix
gives a array of s.
  • BoxMatrix[r] gives a square pattern of s extending r positions from the center.
  • The parameter r need not be an integer; elements are if their chessboard distance from the center is not more than .
  • BoxMatrix[All, w] gives a matrix containing a box shape that is as large as possible.
  • BoxMatrix[All, {w1, ..., wn}] gives a array containing a box-shaped region that is as large as possible.
This computes and plots a box:
This computes and plots a box:
In[1]:=
Click for copyable input
Out[1]=
Put a box inside a bigger matrix:
Extend the box to the boundaries of the matrix:
Automatically choose a width to just fit the box matrix:
Extend the box to the given width, and automatically choose the height:
New in 7