Skip to content

shapeworks::AnalysisUtils

Public Classes

Name
struct RankedSeries
one line of a ranked plot

Public Types

Name
enum class KeyCorner { BottomLeft, BottomRight}
which corner the key sits in, so it can be kept clear of the data

Public Functions

Name
ParticleSystemEvaluation get_local_particle_system(Session * session, int domain)
void create_plot(JKQTPlotter * plot, Eigen::VectorXd data, QString title, QString x_label, QString y_label)
void create_box_plot(JKQTPlotter * plot, Eigen::VectorXd data, QString title, QString x_label, QColor color =Qt::blue)
void create_ranked_plot(JKQTPlotter * plot, const std::vector< RankedSeries > & series, const std::vector< double > & reference_lines, QString title, QString x_label, QString y_label, bool log_y, KeyCorner key_corner =KeyCorner::BottomLeft)

Public Types Documentation

enum KeyCorner

Enumerator Value Description
BottomLeft
BottomRight

which corner the key sits in, so it can be kept clear of the data

Public Functions Documentation

function get_local_particle_system

static ParticleSystemEvaluation get_local_particle_system(
    Session * session,
    int domain
)

function create_plot

static void create_plot(
    JKQTPlotter * plot,
    Eigen::VectorXd data,
    QString title,
    QString x_label,
    QString y_label
)

function create_box_plot

static void create_box_plot(
    JKQTPlotter * plot,
    Eigen::VectorXd data,
    QString title,
    QString x_label,
    QColor color =Qt::blue
)

function create_ranked_plot

static void create_ranked_plot(
    JKQTPlotter * plot,
    const std::vector< RankedSeries > & series,
    const std::vector< double > & reference_lines,
    QString title,
    QString x_label,
    QString y_label,
    bool log_y,
    KeyCorner key_corner =KeyCorner::BottomLeft
)

Per-sample ranked plot: each series drawn as a line over the sample index, with optional horizontal reference lines. A log y axis keeps series of very different magnitude readable, and is ignored when any value is non-positive.


Updated on 2026-09-20 at 15:51:01 +0000