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


MaxItems
is an option that specifies the maximum number of items to be used or shown.
Examples
open all close allBasic 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:
Related Guides
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_2025_maxitems, author="Wolfram Research", title="{MaxItems}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/MaxItems.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_maxitems, organization={Wolfram Research}, title={MaxItems}, year={2020}, url={https://reference.wolfram.com/language/ref/MaxItems.html}, note=[Accessed: 11-August-2025]}