# A way to contract input in Mathematica

If I input a giant matrix in Mathematica, and it is contained in a cell, is there a way to contract it so that it uses up significantly less space in the notebook?

• If I understand you right, you can always put ";" at the end so it does not display (i.e. make an OUT cell). Otherwise look at Short command which will display a small version of the input. Oct 21 at 11:02
• ... Ofcourse, you can always turn off the Open property of the Input CELL also. Oct 21 at 11:08
• How about just fold the cell? Group the cells and fold the group. Oct 21 at 11:08
• Also look at Shallow and Skeleton commands.
– Syed
Oct 21 at 11:10
• Iconize might be what you're looking for! Oct 21 at 11:13

• I also like the iconize option much better. Also, you can iconize just a portion of the matrix. This might not be so interesting for matrices, but it's very interesting for other inputs. For example, a Plot command that has its function and range in the open, but a sequence of messy options iconized. Oct 21 at 15:45