Skip to content

Filtering

MathJet’s filtering operations modify the visible set of data points on a chart without modifying the underlying data source. Three surfaces are available: interactive filtering driven by selection, the context-menu filter widget, and the full Graph Data Filter dialog.

The most direct way to filter data points is to interactively select the points you want to filter, then choose Data → Filtering and pick one of:

  • Exclude Selected Points — hide the selected points from the chart.
  • Keep Selected Data Points Only — hide everything except the selection.

The corresponding tool buttons offer one-click access.

Once filters are applied, you’ll observe that derived quantities — graph characteristics, fits, statistics — are automatically updated to reflect the change. To revert to the original view showing all data points, click Data → Filtering → Show All Data Points or the corresponding tool button. This removes any custom filters and restores visibility of every point.

Interactive filtering — selecting points and excluding or keeping them via the Data → Filtering menu.

The data filter widget, accessible from a chart’s context menu, is a quick way to filter when you have a relatively small number of data points.

In the Data section of the context menu you’ll find a tab widget showing lists of available data items, with each tab corresponding to a different graph data component. Uncheck the items you don’t want to include. When you press OK, filter operations are generated and applied to the selected graphs (or to every graph in the chart, if no graphs were selected before opening the context menu). For more refined rule-based filtering, choose additional conditions from the Data Filters sub-menu.

When a data point consists of multiple components, it becomes hidden when any one of them is filtered out. Filter behavior also depends on the type of graph data component: when applied to a categorical component (e.g., the X values in a bar chart), data points with filtered values are completely removed from the graph; for regular components, filtered values are simply marked as NaN. Sorting of graph data points is only applicable when there is exactly one 2D graph with categorical x values in a chart.

Context-menu filtering — quick checkbox-based filters from a right-click on the chart.

The Graph Data Filter dialog provides detailed control over filter operations. Open it via Data → Filtering → Filter or the corresponding tool button while a chart is in focus. The dialog creates a tab for each selected graph, or — if none are selected — a tab for every graph in the chart.

Each tab contains:

  • A Filtering criteria table at the top showing all active filter criteria.
  • An Options sub-tab where you change settings for the filter operations: filter logic (AND / OR), wildcard support, regular expressions.
  • Lists for the potential values of each graph data component (x, y, z coordinates, etc.) in separate tabs in the lower half. Each entry has an adjacent checkbox indicating its activation status. Adding, altering, or removing criteria in the top table automatically updates these checkboxes; manually checking or unchecking an item adds or modifies an index-based filter criterion.

With Apply Filters Immediately enabled (the default), changes in filter criteria are reflected in the chart instantly. If unchecked, changes apply only when you press OK. The next time you load the graph in this dialog, its tab displays all existing filter criteria associated with that graph, ready for further modification.

Filter dialog — multi-criteria filter UI with per-component value lists.
  • Selecting — filtering is often paired with axis or regional selection.
  • Chart splitting — a filtered subset can be split off into its own dependent chart.