MaxItems

MaxItems

is an option that specifies the maximum number of items to be used or shown.

Details

  • When supported, MaxItemsAll specifies that all items in the input should be used or shown.
  • In Dataset, settings for MaxItems can be given as follows:
  • mdisplay m rows
    {m1, m2,,mn}display mi items at dataset level i

Examples

open allclose all

Basic Examples  (4)

Create a word cloud with only 10 items:

Generate data sampled from a mixture of normal distributions:

Estimate the best distribution from this data:

Estimate the best distribution with only two mixtures:

Compare the PDFs for the original and estimated distributions:

Specify the number of files in each directory that will apply FileSize in FileSystemMap:

Limit the number of rows and columns displayed in Dataset:

Scope  (1)

Search for a limited number of resource objects:

Wolfram Research (2015), MaxItems, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxItems.html (updated 2020).

Text

Wolfram Research (2015), MaxItems, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxItems.html (updated 2020).

CMS

Wolfram Language. 2015. "MaxItems." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/MaxItems.html.

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_maxitems, organization={Wolfram Research}, title={MaxItems}, year={2020}, url={https://reference.wolfram.com/language/ref/MaxItems.html}, note=[Accessed: 22-November-2024 ]}