Skip to content

Replace ParallelCoords with ParallelPlot #1

@wwarriner

Description

@wwarriner

ParallelPlot does not accept UIAxes as a parent, only UIFigure.

All code that relies on a UIAxes object must be changed.

  • Rectangles for shading
  • Threshold value indicators
  • Modify the line objects
  • Modify stacking order of lines
  • Dummy image to capture onclick events

ParallelPlot returns a special object. We don't appear to be able to modify lines directly. Fortunately ParallelPlot accepts data in a tabular format, and we can supply a grouping variable, and modify appearance by group. Stacking order is not something we can manage except possibly by sorting the table.

This means we'll have to create a variable in the table for tracking feasibility. We would then modify that variable for table records that change as the user interacts with the UI. After each modification we may have to sort the table to ensure stacking order.

We will have to write a suite of tests around the ParallelAxes object to make sure our changes don't explode the UI.

It isn't clear how we will draw the rectangles and threshold indicators. We may not be able to draw them directly on the same axes as the plot, since we may not have access to that object. Instead we may have to create a dummy axes that is completely invisible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions