IDEAS home Printed from https://ideas.repec.org/p/bss/wpaper/42.html
   My bibliography  Save this paper

ColrSpace: A Mata class for color management

Author

Listed:
  • Ben Jann

Abstract

ColrSpace is a class-based color management system implemented in Mata. It supports a wide variety of color spaces and translations among them, provides color generators and a large collection of named palettes, and features functionality such as color interpolation, grayscale conversion, or color vision deficiency simulation. ColrSpace requires Stata 14.2 or newer.

Suggested Citation

  • Ben Jann, 2022. "ColrSpace: A Mata class for color management," University of Bern Social Sciences Working Papers 42, University of Bern, Department of Social Sciences, revised 03 Jun 2022.
  • Handle: RePEc:bss:wpaper:42
    as

    Download full text from publisher

    File URL: https://boris.unibe.ch/169193/8/jann-2022-colrspace.pdf
    File Function: Revised version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ben Jann, 2018. "Color palettes for Stata graphics," Stata Journal, StataCorp LP, vol. 18(4), pages 765-785, December.
    2. Svend Juul, 2003. "Lean mainstream schemes for Stata 8 graphics," Stata Journal, StataCorp LP, vol. 3(3), pages 295-301, September.
    3. Zeileis, Achim & Hornik, Kurt & Murrell, Paul, 2009. "Escaping RGBland: Selecting colors for statistical graphics," Computational Statistics & Data Analysis, Elsevier, vol. 53(9), pages 3259-3270, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ben Jann, 2023. "Color palettes for Stata graphics: An update," Stata Journal, StataCorp LP, vol. 23(2), pages 336-385, June.
    2. Anna Thoresson, 2024. "Employer Concentration and Wages for Specialized Workers," American Economic Journal: Applied Economics, American Economic Association, vol. 16(1), pages 447-479, January.
    3. Stanislav Katina & Liberty Vittert & Adrian W. Bowman, 2021. "Functional data analysis and visualisation of three‐dimensional surface shape," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 70(3), pages 691-713, June.
    4. repec:jss:jstsof:32:i01 is not listed on IDEAS
    5. Carsten Sauer & Peter Valet & Stefan Liebig, 2013. "The Impact of within and between Occupational Inequalities on People's Justice Perceptions towards Their Own Earnings," SOEPpapers on Multidisciplinary Panel Data Research 567, DIW Berlin, The German Socio-Economic Panel (SOEP).
    6. Ben Jann, 2017. "Customizing Stata graphs made easy," University of Bern Social Sciences Working Papers 29, University of Bern, Department of Social Sciences, revised 18 Apr 2017.
    7. Jonas Schöley, 2021. "The centered ternary balance scheme: A technique to visualize surfaces of unbalanced three-part compositions," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 44(19), pages 443-458.
    8. Matthias Templ & Andreas Alfons & Peter Filzmoser, 2012. "Exploring incomplete data using visualization techniques," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 6(1), pages 29-47, April.
    9. Pilhöfer, Alexander & Unwin, Antony, 2013. "New Approaches in Visualization of Categorical Data: R Package extracat," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 53(i07).
    10. Emura, Takeshi & Lin, Yi-Shuan, 2013. "A comparison of normal approximation rules for attribute control charts," MPRA Paper 51029, University Library of Munich, Germany.
    11. MacDonald, Blake & Ranjan, Pritam & Chipman, Hugh, 2015. "GPfit: An R Package for Fitting a Gaussian Process Model to Deterministic Simulator Outputs," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 64(i12).
    12. de Wreede, Liesbeth C. & Fiocco, Marta & Putter, Hein, 2011. "mstate: An R Package for the Analysis of Competing Risks and Multi-State Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 38(i07).
    13. Reto Stauffer & Georg J. Mayr & Markus Dabernig & Achim Zeileis, 2013. "Somewhere over the Rainbow: How to Make Effective Use of Colors in Meteorological Visualizations," Working Papers 2013-37, Faculty of Economics and Statistics, Universität Innsbruck.
    14. Meyer, Sebastian & Held, Leonhard & Höhle, Michael, 2017. "Spatio-Temporal Analysis of Epidemic Phenomena Using the R Package surveillance," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 77(i11).
    15. Anette Fasang & Marcel Raab, 2014. "Beyond Transmission: Intergenerational Patterns of Family Formation Among Middle-Class American Families," Demography, Springer;Population Association of America (PAA), vol. 51(5), pages 1703-1728, October.
    16. Shannon P McPherron, 2018. "Additional statistical and graphical methods for analyzing site formation processes using artifact orientations," PLOS ONE, Public Library of Science, vol. 13(1), pages 1-21, January.
    17. Tseng, George C., 2010. "Quantile map: Simultaneous visualization of patterns in many distributions with application to tandem mass spectrometry," Computational Statistics & Data Analysis, Elsevier, vol. 54(4), pages 1124-1137, April.
    18. repec:jss:jstsof:38:i07 is not listed on IDEAS
    19. Fox, John & Hong, Jangman, 2009. "Effect Displays in R for Multinomial and Proportional-Odds Logit Models: Extensions to the effects Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 32(i01).
    20. Seiler, Johannes & Harttgen, Kenneth & Kneib, Thomas & Lang, Stefan, 2021. "Modelling children's anthropometric status using Bayesian distributional regression merging socio-economic and remote sensed data from South Asia and sub-Saharan Africa," Economics & Human Biology, Elsevier, vol. 40(C).
    21. Anette Eva Fasang & Tim Futing Liao, 2014. "Visualizing Sequences in the Social Sciences," Sociological Methods & Research, , vol. 43(4), pages 643-676, November.

    More about this item

    Keywords

    Stata; Mata; Colrspace; color; color palette; colormap; color generator; color interpolation; color mixing; color vision deficiency; color blindness; grayscale conversion; color difference; color contrast; color space; RGB; HSV; HSL; CMYK; CIE 1931 XYZ; CIELAB; CIELUV; HCL; CIECAM02; gamma compression; chromatic adaption; hue; brightness; luminance; lightness; chroma; chromaticity; colorfulness; saturation; opacity; perceptually uniform; colorblind-friendly; web colors;
    All these keywords.

    JEL classification:

    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bss:wpaper:42. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Ben Jann (email available below). General contact details of provider: https://www.sowi.unibe.ch/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.