File Exchange > Graphing >    Chromaticity Diagram

OriginLab Technical Support
Date Added:
Last Update:
Downloads (90 Days):
Total Ratings:
File Size:
368 KB
Average Rating:
File Name:
File Version:
Minimum Versions:

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

Screen Shot and Video:

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, 3D and convert L*a*b* data to CIE 1931 xyY.

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

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. Choose CIE type for the diagram. Two options are available: CIE 1931 and CIE 1976.
    4. In Graph Settings branch, 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:
    • 2D Scatter Plot
    • 3D Scatter Plot
    • 3D Ellipsoid Plot
    • Convert CIE 1976 L*a*b* to CIE 1931 xyY
    Following graphs can be created using these options.
    2D Scatter
    2D Polar Scatter
    3D Scatter
    3D Ellipsoid with Sections
    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.


  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.


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:
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


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/2021geonelr@cinvestav.mxVideo 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?


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

10/09/2020cdaviswFantastic tool!

08/22/2020celestinembakaan@gmail.comit is very useful