Minsky: 3.17.0
schema1::Plot Struct Reference

#include <schema1.h>

Inheritance diagram for schema1::Plot:
Inheritance graph
Collaboration diagram for schema1::Plot:
Collaboration graph

Public Types

typedef ecolab::Plot::Side Side
 

Public Member Functions

 Plot ()
 
 Plot (int id, const schema0::PlotWidget &p)
 
- Public Member Functions inherited from schema1::SPoly< schema1::Plot, Item >
SPolyoperator= (const SPoly &)=default
 
SPolyclone () const override
 
string type () const override
 
void xml_pack (xml_pack_t &x, const string &d) const override
 
void xml_unpack (xml_unpack_t &x, const string &d) override
 
void json_pack (json_pack_t &x, const string &d) const override
 
void json_unpack (json_unpack_t &x, const string &d) override
 
- Public Member Functions inherited from schema1::Item
 Item (int id=-1)
 
template<class T >
 Item (int id, const T &it)
 
string typeName () const
 
- Public Member Functions inherited from schema1::SPoly< Item, SPolyBase >
SPolyoperator= (const SPoly &)=default
 
SPolyclone () const override
 
string type () const override
 
void xml_pack (xml_pack_t &x, const string &d) const override
 
void xml_unpack (xml_unpack_t &x, const string &d) override
 
void json_pack (json_pack_t &x, const string &d) const override
 
void json_unpack (json_unpack_t &x, const string &d) override
 

Public Attributes

vector< int > ports
 
shared_ptr< Sidelegend
 
bool logx {0}
 
bool logy {0}
 
string title
 
string xlabel
 
string ylabel
 
string y1label
 
- Public Attributes inherited from schema1::Item
int id
 
string detailedText
 commentary and short commentary on this item More...
 
string tooltip
 

Detailed Description

Definition at line 150 of file schema1.h.

Member Typedef Documentation

◆ Side

typedef ecolab::Plot::Side schema1::Plot::Side

Definition at line 152 of file schema1.h.

Constructor & Destructor Documentation

◆ Plot() [1/2]

schema1::Plot::Plot ( )
inline

Definition at line 157 of file schema1.h.

157 {}

◆ Plot() [2/2]

schema1::Plot::Plot ( int  id,
const schema0::PlotWidget p 
)
inline

Definition at line 158 of file schema1.h.

158  :
159  Item(id), ports(p.ports.begin(),p.ports.end()), logx(p.logx), logy(p.logy) {}
vector< int > ports
Definition: schema1.h:153
ecolab::array< int > ports
Definition: schema0.h:186
Item(int id=-1)
Definition: schema1.h:99
bool logy
logarithmic plots (x/y axes)
Definition: schema0.h:180

Member Data Documentation

◆ legend

shared_ptr<Side> schema1::Plot::legend

Definition at line 154 of file schema1.h.

Referenced by schema2::Item::Item().

◆ logx

bool schema1::Plot::logx {0}

Definition at line 155 of file schema1.h.

Referenced by schema2::Item::Item().

◆ logy

bool schema1::Plot::logy {0}

Definition at line 155 of file schema1.h.

Referenced by schema2::Item::Item().

◆ ports

vector<int> schema1::Plot::ports

Definition at line 153 of file schema1.h.

Referenced by schema2::Item::Item().

◆ title

string schema1::Plot::title

Definition at line 156 of file schema1.h.

◆ xlabel

string schema1::Plot::xlabel

Definition at line 156 of file schema1.h.

Referenced by schema2::Item::Item().

◆ y1label

string schema1::Plot::y1label

Definition at line 156 of file schema1.h.

Referenced by schema2::Item::Item().

◆ ylabel

string schema1::Plot::ylabel

Definition at line 156 of file schema1.h.

Referenced by schema2::Item::Item().


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