File Exchange > Graphing >    Chromaticity Diagram

Author:
OriginLab Technical Support
Date Added:
3/1/2018
Last Update:
11/13/2024
Downloads (90 Days):
1555
Total Ratings:
77
File Size:
618 KB
Average Rating:
File Name:
Chromatici...am.opx
File Version:
1.82
Minimum Versions:
License:
Free
Type:
App
Summary:

Chromaticity diagram template with support for PL data and L*a*b* data.

Screen Shot and Video:
Description:

PURPOSE
This app can be used to:

  1. Open a workbook template with CIE 1931 color space chromaticity diagram and CIE 1976 UCS (uniform chromaticity scale) diagram.
  2. Calculate CIE XYZ from photoluminescence spectra and add PL data to the chromaticity diagram.
  3. Plot L*a*b* data in 2D, 2D Polar, 3D and convert L*a*b* data to CIE 1931 xyY, CIE 1976 UCS (u', v').
  4. Convert XYZ to L*a*b*, XYZ to RGB, xyY to XYZ, RGB to XYZ, RGB to L*a*b*, and RGB to u'v'.

INSTALLATION
Download ChromaticityDiagram.opx file, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.

OPERATION
With a worksheet or a graph active, click the app icon. A toolbar with three buttons will appear.

  • Open Chromaticity Diagram Template
    Click the first button, and it will open a workbook template. In the third sheet, two graph templates (CIE 1931 and CIE 1976) are inserted. Open the graph window by double clicking on the worksheet's cell. If you want to show color temperature in CIE 1931, click Show/Hide Color Temperature button on the bottom right of the graph. You can also add your own data to the graph template.
  • Chromaticity Diagram with PL
    1. Click the second button, and it will open the PL2CIE dialog.
    2. Choose Phtoluminescence Spectra (PL spectra) from the worksheet or the active graph. You can choose multiple PL spectra, and each PL spectrum corresponds to a point in the chromaticity diagram.
    3. In Settings branch, select Spectral Type, two types are available: Radiance and Reflectance or Transmittance (0-1). The latter requires input to be between 0 and 1. For the latter, select Spectral Power Distribution of Illuminant, four options are available, A, D50, D65 and Custom, for the custom type, user should replace PL sheet's column M with his actual SPD data in the app folder's Chromaticity.ogwu file. Select Standard Observer: CIE 1931 2° or CIE 1964 10°, which defines the color matching function.
    4. In Graph branch, select CIE type for the diagram. Two options are available: CIE 1931 and CIE 1976. Choose plot type (Scatter or Line+Symbol) and determine whether to show spectrum labels in the graph.
    5. Click OK button. A chromaticity diagram with points for PL data will be created. If you want to show color temperature in CIE 1931, click Show/Hide Color Temperature button on the bottom right of the graph. Workbook data for the graph will be hidden. You can activate the workbook in Project Explorer.
  • L*a*b* Plot
    Click the third L*a*b* Plot button, a dialog will be opened and ask the user to choose a goal. Four options are available: Following graphs can be created using these options.
    2DScatter
    2D Scatter
    2DPolarScatter
    2D Polar Scatter
    3DScatter
    3D Scatter
    EllipsoidwithSections
    3D Ellipsoid with Sections
    FullEllipsoid
    3D Full Ellipsoid

    To see how to create above graphs using the app, right-click the app icon in Apps Gallery window, choose Show Samples Folder from the short-cut menu. Open LABDoc.opju project file.
    • 2D Scatter Plot
    • 2D Polar Plot (In Origin 2024b or older versions (minimum version 2022), it will open a project file for graph template, and open a dialog in higher versions.)
    • 3D Scatter Plot
    • 3D Ellipsoid Plot
    • Convert CIE 1976 L*a*b* to CIE 1931 xyY, CIE 1976 UCS (u', v')
  • Converter
    Click the fourth Converter button, the converter template will open. It supports to convert XYZ to L*a*b*, XYZ to RGB and xyY to XYZ in FromXYZ sheet, and RGB to XYZ, RGB to L*a*b*, and RGB to u'v' in FromRGB sheet.

    Type XYZ values in columns A, B and C, L*a*b* values in columns D, E and F will be calculated automatically. Columns J, K, L and P, Q, R works in the same way.

ALGORITHM

  • Chromaticity Diagram with PL
    • Radiance Spectra
      \(X=\int f(\lambda) \bar{x}(\lambda) d\lambda\), \(Y=\int f(\lambda) \bar{y}(\lambda) d\lambda\), \(Z=\int f(\lambda) \bar{z}(\lambda) d\lambda\)
      where \(f(\lambda)\) is the spectra, \(\bar{x}(\lambda)\), \(\bar{y}(\lambda)\) and \(\bar{z}(\lambda)\) are CIE's color matching functions.
    • Reflectance or Transmittance Spectra
      \(X=\frac{1}{N}\int S(\lambda) I(\lambda) \bar{x}(\lambda) d\lambda\), \(Y=\frac{1}{N}\int S(\lambda) I(\lambda) \bar{y}(\lambda) d\lambda\), \(Z=\frac{1}{N}\int S(\lambda) I(\lambda) \bar{z}(\lambda) d\lambda\)
      where \(S(\lambda)\) is the spectra, \(I(\lambda)\) is the spectral power distribution of the illuminant, \(\bar{x}(\lambda)\), \(\bar{y}(\lambda)\) and \(\bar{z}(\lambda)\) are CIE's color matching functions. And \(N=\int I(\lambda) \bar{y}(\lambda) d\lambda\).

REFERENCE

  1. CIE 1931, CIE 1976, CIE L*a*b
  2. Standard illuminant, Illuminant D65
  3. Colorimetric Tables, Spectral Calculator Spreadsheets

NOTE

  1. PL spectrum's x data represents wavelength, and the units must be nm.
  2. In L*a*b* Plot, reference white point is D65, and color space is sRGB.

Updates:

v1.82 10/30/2024 Supported 2D polr plot for L*a*b*.
v1.7 9/25/2024 Added more conversions.
v1.60 11/17/2023 Updated toolbar icons for Dark Mode.
v1.52 1/7/2022 Replaced background image with image plot of matrix data.
v1.4 12/28/2021 Added a template to convert XYZ to L*a*b*, XYZ to RGB and xyY to XYZ.
v1.3 11/17/2021 Supported reflectance and transmittance spectra.
v1.2 12/18/2020 Supported to plot L*a*b data.
v1.1 1/2/2019 Added a button to show color temperature in CIE 1931 graph template.

Reviews and Comments:
09/09/2026xundaonice

08/24/2026wuxueqianextremely useful

05/08/202613576703168no bug

04/21/2026fdzbt.rt2可以

04/21/2026fdzbt.rt2tyvkhbt

04/20/2026  

03/10/2026deepak 

01/16/2026OriginLabHi spacer1206,
Could you please take a look try the tutorial of this App? https://www.originlab.com/doc/App/Chromaticity-Diagram
If the tutorial is not helpful for you, please contact with our tech support: https://www.originlab.com/restricted/support/newticket.aspx?c=3
Thanks, Origin support Team

01/14/2026spacer1206I can't input u' v' data into CIR1976, there is no info about how it works

07/29/20251301012970

07/21/2025Sk Samsul Ghaus 

07/21/2025Sk Samsul Ghaus 

06/08/20251978378223z

06/08/20251978378223z

06/08/20251978378223ok

03/27/2025Yanping Wuno

03/03/2025origin101866666666

02/14/2025piniyi_1875请问如何将色品图画在3d散点图中的xy面上?

01/18/2025foehn123nice app

09/06/2024GZBJIUFASCI06厉害炸了

08/30/2024leandro.mindeloNão apareceu o aplicativo na galeria

08/12/2024wangfuyinggood

06/04/20241964790860很有用

03/28/20241478161574qq

03/28/20241478161574qq

03/13/20248618747446347

03/13/20248618747446347

10/10/2023FengChuanliang 

10/04/2023valeg96How can I alter the background colour map? For example, is it possible to download it and alter it with an image editor to add zones or shapes within it, and then load it as new colour map? For example, dividing it into colour regions instead of a smooth hue image, or adding working colour spaces. Cheers!

08/28/2023OriginLabHi Valerio,
Please save the format as theme and paste the theme to the every generated graph.Furthermore, you can set theme as system Theme.
https://www.originlab.com/doc/Origin-Help/ThemeRef-SaveFormat

08/25/2023valeg96Excellent plugin, thanks. How do I change the plot properties of the CIE 1931 (label, fonts, sizes...) permanently so every generated graph has the aesthetic rules I need for my documents and I don't have to manually alter them?

04/19/2023PhuongToangood

03/02/2023OriginLabPlease check the tutorial of the app on this page. There is no "2D Polar Scatter" checkbox in the dialog. You need to manually set the boundaries on the scatter plot.

03/02/2023pedro.xavierHi. How to plot 2D polar Scatter? This option doesn't appears when I click "L*a*b* Plot" button. Only the following options appear:
'2D Scatter Plot'
'3D Scatter Plot'
'3D Ellipsoid Plot'
'Convert CIE 1976 L*a*b* to CIE 1931 xyY'

Does anyone know why the 2D Polar Scatter option doesn't appear for me? I have the license OriginPro 2013 Learning Edition.

02/28/20231791708400excellent

01/10/2023matheus.goularteNão acho necessário

10/15/2022654307992hut

10/14/2022OriginLabHi Kishnavamprof,
If you click "L*a*b* Plot" button (the 3rd button on the toolbar), you will see a dialog open. Select "2D Polar Scatter" option to plot a 2D Polar Scatter.
Thanks,
OriginLab

10/14/2022KishnavamprofHow to plot 2D polar Scatter

09/29/2022jing li 

09/14/2022  

07/16/202215105297769nothing

06/12/2022郭军 

04/13/2022OriginLabHi santradines,
Generally, you can scroll the mouse wheel to zoom in/out the whole graph. To scale in/out the graph area, you can set the Rescale from Fxied to Normal in Scale tab of Axis dialog and then use the Scale in/out to zoom the interesting area.
Thanks,
Shirley
OriginLab

04/13/2022santradinesHow to zoom Chromaticity Diagram?

03/29/2022ddddwangno

03/23/2022sreedhar84useful software for graphing

01/11/2022william_lin 

12/22/202178557855to teat

12/17/2021OriginLabHi plexitexi,
Please send us your files(source data file and Origin project file) to let us check the details.
https://www.originlab.com/index.aspx?go=Support/SendFilestoSupport
Thanks,
Shirley
OriginLab

11/30/2021plexitexiThanks for the response and the link to the video. I tried making a file that had my x, y in tab delimited format but it still did not plot the values (it did import them into a book). Any suggestion on what the format of the data.dat file is? thanks so much.

11/30/2021OriginLabHi plexitexi,
You can refer to this video tutorial: https://www.originlab.com/videos/details.aspx?id=223
This App provides chromaticity diagram templates where data can be added to the diagram.

Thanks,
OriginLab

11/29/2021plexitexiIs there a way to plot the chromaticity chart if i already have the CIE x and y values and dont have the PL and L*... values?

11/05/2021OriginLabHi mutianissya,
I don't have any problem when I tried to scroll the mouse with Ctrl key pressed to zoom the graph. Please create a short vide to show use the problem with detailed steps.

Thanks,
OriginLab

11/04/2021mutianissyaHow o can zoom in on the Chromaticity Diagram? I do not know how to zoom the data because the color does not follow zoom if I zoom in.

10/24/2021OriginLabHi bungatiasyaira, I reply you with an email. Please have a look.
OriginLab Technical Support

10/23/2021bungatiasyairaHow do I make the data.dat file on the youtube video? thankyou

10/18/2021OriginLabHi oxalfp,

I replied in your email. You can check it.

10/17/2021oxalfpGood evening.
Please how to convert CIE x and Y coordinate values to CIE XYZ; Also CIE XYZ to CIE RGB, with the chromaticity diagram app.
Thankful in advance, greetings

09/07/2021OriginLabHi, geonelr@cinvestav.mx

You can find the instructions in the notes window of the sample opj in app. To open the sample opj, right click on the app and choose "Show Sample Folder" from the context menu.

I have also sent you sample data and graph for the graph via email.

OriginLab Technical Support

09/03/2021geonelrVideo is not available... how can i insert *the data* in the 3D Ellipsoid with Sections? where can i find support for this type of graph?

05/26/2021wjiajia0621good

04/21/2021hoimeoThank you for your beautiful and convenient template

10/09/2020cdaviswFantastic tool!

08/22/2020celestinembakaanit is very useful

04/13/2020OriginLabHi bsko93.

You need to have a spectrum with X & Y data.

04/13/2020bsko93How to make a "DATA" file in the youtube video?

03/28/2020tranthanhhaumhThank You !

03/06/2020JBUK7Good app. Can add a function to find the white point and any specified color point? Thanks.

01/20/2020  

10/27/2019edragonCan not install comments box said ' for the group missing' how can I do something??

10/01/2019deSjeikReasonable functionality. Unfortunately this version of the tool still does not support zooming in on the data.

05/29/2019biancagaluciogostaria de usar o app para qualificar amostras de tomate

03/27/2019lasiVG

11/12/2018Jacortessnever to declare

09/26/2018easwarHello y.shynkarenko,
The App requires Origin 2018b which is 9.5.5.xxxx
Your version is 2018 (9.5.1.xxxx).
So please upgrade your Origin to to 2018b, or try the App with the 2018b demo.

09/26/2018y.shynkarenkoDoes not work on Origin 2018 b9.5.1.195. (this package require origin 9.5 SR5 or later)
OriginLab Technical Support has never answered.