CoolProp  4.2.5
An open-source fluid property and humid air property database
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
PlotCall Class Reference

#include <MPLPlot.h>

Public Member Functions

 PlotCall (std::vector< double > x, std::vector< double > y, Dictionary *dict=NULL)
 Save internal variables for this call to plot function, including the keyword argument function as a Dictionary instance. More...
 
std::string tostring ()
 return the string for this call, including the preceding import matplotlib.pyplot as plt and the following plt.show() More...
 

Public Attributes

Dictionary dict
 
std::vector< double > x
 
std::vector< double > y
 

Detailed Description

A class to contain the information for a call to plot() function

Definition at line 67 of file MPLPlot.h.

Constructor & Destructor Documentation

PlotCall::PlotCall ( std::vector< double >  x,
std::vector< double >  y,
Dictionary dict = NULL 
)
inline

Save internal variables for this call to plot function, including the keyword argument function as a Dictionary instance.

Definition at line 76 of file MPLPlot.h.

Member Function Documentation

std::string PlotCall::tostring ( )
inline

return the string for this call, including the preceding import matplotlib.pyplot as plt and the following plt.show()

Definition at line 93 of file MPLPlot.h.

Member Data Documentation

Dictionary PlotCall::dict

Definition at line 72 of file MPLPlot.h.

std::vector<double> PlotCall::x

Definition at line 73 of file MPLPlot.h.

std::vector<double> PlotCall::y

Definition at line 73 of file MPLPlot.h.


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