AllowedDimensions

AllowedDimensions

is an option for Grid and related functions that specifies the allowed minimum and maximum dimensions of the Grid under interactive editing.

Details

  • Possible settings for AllowedDimensions are:
  • Automaticthe dimensions of the Grid are unconstrained
    {cols,rows}the dimensions of the Grid are constrained to exactly cols columns and rows rows
    {{colsmin,colsmax},{rowsmin,rowsmax}}between colsmin and colsmax columns are allowed, and between rowsmin and rowsmax rows are allowed

Examples

open allclose all

Basic Examples  (3)

Create a Grid that can have between 2 and 4 columns and between 3 and 5 rows:

Create a Grid that can have any number of rows, but only 2 columns:

Create a Grid that must have a minimum of 3 rows:

Properties & Relations  (1)

The AllowedDimensions option only applies to interactive editing. It does not prevent Grid from producing output that does not comply with the specified dimensions:

Wolfram Research (2012), AllowedDimensions, Wolfram Language function, https://reference.wolfram.com/language/ref/AllowedDimensions.html.

Text

Wolfram Research (2012), AllowedDimensions, Wolfram Language function, https://reference.wolfram.com/language/ref/AllowedDimensions.html.

CMS

Wolfram Language. 2012. "AllowedDimensions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AllowedDimensions.html.

APA

Wolfram Language. (2012). AllowedDimensions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AllowedDimensions.html

BibTeX

@misc{reference.wolfram_2024_alloweddimensions, author="Wolfram Research", title="{AllowedDimensions}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/AllowedDimensions.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_alloweddimensions, organization={Wolfram Research}, title={AllowedDimensions}, year={2012}, url={https://reference.wolfram.com/language/ref/AllowedDimensions.html}, note=[Accessed: 22-December-2024 ]}