10.1.4 Masking Data Points in the Graph or Worksheet
Masking is another technique that you can use when you want to analyze only a subset of your data, or when you have data points that you do not want included in your analysis. Masking or unmasking data will trigger recalculation of linked operations.
- You can mask data points in worksheets or graphs.
- When masking data in the graph, the corresponding worksheet data is also marked as masked (by default, in a red font).
- Mask toolbar buttons work on both graphs and worksheets.
- Tools toolbar buttons work on graphs.
- When data are selected in the worksheet, a Mini Toolbar Mask Data button becomes available.
- Additionally, you can mask worksheet data by mathematical condition.
|
Contents
Masking with the Mask Toolbar (worksheet, graph)
These toolbar buttons are used to mask and manipulate masking of selected data. Note that this includes graphs, once data have been selected (see the next section on Tools toolbar buttons for graph selection).
Beginning with Origin 2022, the Status Bar can display Masked and/or Unmasked Data Count in the sheet. |
Masking with the Tools Toolbar (graph)
There was a change made to the default masking mode, starting with Origin 2021:
|
To mask points, click on the graph window to activate it:
- Choose Data: Mask Data Points from the main menu or click the Mask Points on Active Plot button or Mask Points on All Plots button on the Tools toolbar, then hover on the graph.
- To mask a single point, double click on the point. To mask a region of points, press the Space bar to toggle among masking by row index number, by rectangular region or by freehand region (differences explained below), then drag out a region.
- Once data are masked in the graph, you can use the Mask toolbar buttons, described above.
To remove the mask from data points in the graph window:
- Choose either the Unmask Points on the Active Plot
tool or the Unmask Points on All Plots of Active Layer
tool on the Tools toolbar. - Use the space bar, as needed, to choose points by index, rectangular region or by freehand region, then drag to unmask your data points. The tool will be active until press ESC or click the Pointer
tool.
Mask Mini Toolbar Button (worksheet)
When worksheet data are selected -- cells or entire columns -- A Mini Toolbar Mask Data button
becomes available. The button works as a toggle to mask or unmask data within the selection.
Mask Cells by Condition (worksheet)
There is a tool for masking worksheet data values by condition (e.g. <= 0).
- With the data selected (cells or one or more columns), choose Column: Mask Cells by Condition. This opens the colmask dialog.
- Choose your Condition and Value, plus other options as needed and click OK.