1.18 Data Highlighter

Summary

This Data Highlighter app can be used to color multiple sections of a scatter plot, line plot or line+symbol plot. It adds a new column to mark the specified region of a plot, and apply this column as color index to highlight range.

Tutorial

  1. With a worksheet window activated, select Data: Connect to File: Text/CSV in the menu to import the sample file <Origin program folder>\Samples\Samples\Curve Fitting\Multiple Peaks.dat.
  2. Highlight Column B to E and select Plot: Multiple-Panel/Axis: Stack, and click OK to create line plots by default setting. And set all lines width to 3 in Graph1.
    Data Highlighter 01.png
  3. Active the graph window, and click on the Data Highlighter icon Data Highlighter icon.png to open the dialog. And a new Copy graph window the same as Graph1 will created .
  4. In the pop up dialog, select the E plot in the left side panel.
    Data Highlighter 02.png
  5. Move the ROI polygon to the first peak in the preview panel (at the bottom of the dialog). Enter Peak1 in Category edit box. (Keep to use Group1 as Category group name)
    Data Highlighter 03.png
  6. Click Add Color button.
    • In the preview panel, the color of the line in the specified region is change.
    • In the right-side panel, the data range information is added in the table.
    Data Highlighter 04.png
    • The Group1 column is added to the source worksheet. The plot in the preview window is index colored referencing to this column.
    Data Highlighter 05.png
  7. Move the ROI polygon to the second peak in the preview panel, and enter Peak2 in Category box. Click Add Color button.
    • In the preview panel, the color of the line in the specified region is change.
    • In the right-side panel, the data range information is added in the table.
    Data Highlighter 06.png
  8. Click Apply button. It specifies the new column Group1 as color index of the E plot in Copy graph
    Data Highlighter 07.png
  9. Select D plot in the left side panel. Move the ROI polygon to the first peak in the preview panel. Because we custom color for another plot, we change the Group2 as Category group name, and enter Peak1 in Category box.
    Data Highlighter 08.png
  10. Reply above steps to add color and apply for the three peaks.
    Data Highlighter 09.png
  11. Click Close button to finish the data highlight setting.