PixelConstrained

Matching pixel dimensions can no longer produce consistent or expected results in the modern world of high-resolution displays and operating systems with flexible screen scaling. As of 12.1, which fully supports such displays and screen scaling, PixelConstrained is obsolete.

PixelConstrained

is an option for ArrayPlot that specifies how to constrain cells to align with displayed pixels.

Details

  • The following settings can be given:
  • Trueforce cells to align with pixels
    Falseallow cells of any size
    nmake each cell be n×n pixels
    {m, n}make each cell be m×n pixels

Examples

Basic Examples  (1)

Wolfram Research (2004), PixelConstrained, Wolfram Language function, https://reference.wolfram.com/language/ref/PixelConstrained.html (updated 2007).

Text

Wolfram Research (2004), PixelConstrained, Wolfram Language function, https://reference.wolfram.com/language/ref/PixelConstrained.html (updated 2007).

CMS

Wolfram Language. 2004. "PixelConstrained." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/PixelConstrained.html.

APA

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

BibTeX

@misc{reference.wolfram_2023_pixelconstrained, author="Wolfram Research", title="{PixelConstrained}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/PixelConstrained.html}", note=[Accessed: 18-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_pixelconstrained, organization={Wolfram Research}, title={PixelConstrained}, year={2007}, url={https://reference.wolfram.com/language/ref/PixelConstrained.html}, note=[Accessed: 18-March-2024 ]}