Minsky
minsky::LegendGeometry Struct Reference

#include <plotOptions.h>

Collaboration diagram for minsky::LegendGeometry:
Collaboration graph

Public Member Functions

 LegendGeometry ()=default
 
 LegendGeometry (const ecolab::Plot &plot)
 
void setLegendGeometry (ecolab::Plot &plot) const
 

Public Attributes

double legendLeft =0.9
 
double legendTop =0.95
 
double legendFontSz =0.03
 

Detailed Description

Definition at line 27 of file plotOptions.h.

Constructor & Destructor Documentation

◆ LegendGeometry() [1/2]

minsky::LegendGeometry::LegendGeometry ( )
default

◆ LegendGeometry() [2/2]

minsky::LegendGeometry::LegendGeometry ( const ecolab::Plot &  plot)
inline

Definition at line 31 of file plotOptions.h.

31  :
32  legendLeft(plot.legendLeft), legendTop(plot.legendTop), legendFontSz(plot.legendFontSz) {}

Member Function Documentation

◆ setLegendGeometry()

void minsky::LegendGeometry::setLegendGeometry ( ecolab::Plot &  plot) const
inline

Definition at line 33 of file plotOptions.h.

References legendFontSz, legendLeft, legendTop, and minsky::plot.

33  {
34  plot.legendLeft=legendLeft;
35  plot.legendTop=legendTop;
36  plot.legendFontSz=legendFontSz;
37  }

Member Data Documentation

◆ legendFontSz

double minsky::LegendGeometry::legendFontSz =0.03

Definition at line 29 of file plotOptions.h.

Referenced by setLegendGeometry().

◆ legendLeft

double minsky::LegendGeometry::legendLeft =0.9

Definition at line 29 of file plotOptions.h.

Referenced by setLegendGeometry().

◆ legendTop

double minsky::LegendGeometry::legendTop =0.95

Definition at line 29 of file plotOptions.h.

Referenced by setLegendGeometry().


The documentation for this struct was generated from the following file: