GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | Static Public Member Functions | List of all members
Gnuplot Class Reference

Public Member Functions

 Gnuplot (const std::string &style="points")
 set a style during construction More...
 
 Gnuplot (const std::vector< double > &x, const std::string &title="", const std::string &style="points", const std::string &labelx="x", const std::string &labely="y")
 
 Gnuplot (const std::vector< double > &x, const std::vector< double > &y, const std::string &title="", const std::string &style="points", const std::string &labelx="x", const std::string &labely="y")
 
 Gnuplot (const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z, const std::string &title="", const std::string &style="points", const std::string &labelx="x", const std::string &labely="y", const std::string &labelz="z")
 
Gnuplotcmd (const std::string &cmdstr)
 
Gnuplotoperator<< (const std::string &cmdstr)
 Sends a command to an active gnuplot session, identical to cmd() More...
 
Gnuplotshowonscreen ()
 
Gnuplotdisablescreen ()
 
Gnuplotsavetops (const std::string &filename="gnuplot_output")
 
Gnuplotsavetopdf (const std::string &filename="gnuplot_output", unsigned int font_size=12)
 
Gnuplotset_style (const std::string &stylestr="points")
 
Gnuplotset_smooth (const std::string &stylestr="csplines")
 
Gnuplotunset_smooth ()
 
Gnuplotset_pointsize (const double pointsize=1.0)
 
Gnuplotset_grid ()
 
Gnuplotunset_grid ()
 
Gnuplotset_multiplot (int rows, int cols)
 
Gnuplotunset_multiplot ()
 
Gnuplotset_samples (const int samples=100)
 
Gnuplotset_isosamples (const int isolines=10)
 
Gnuplotset_hidden3d ()
 
Gnuplotunset_hidden3d ()
 
Gnuplotset_contour (const std::string &position="base")
 
Gnuplotunset_contour ()
 
Gnuplotset_surface ()
 
Gnuplotunset_surface ()
 
Gnuplotset_legend (const std::string &position="default")
 
Gnuplotunset_legend ()
 
Gnuplotset_title (const std::string &title="")
 
Gnuplotunset_title ()
 Clears the title of a gnuplot session. More...
 
Gnuplotset_ylabel (const std::string &label="x")
 
Gnuplotset_xlabel (const std::string &label="y")
 
Gnuplotset_zlabel (const std::string &label="z")
 
Gnuplotset_xrange (const double iFrom, const double iTo)
 
Gnuplotset_yrange (const double iFrom, const double iTo)
 
Gnuplotset_zrange (const double iFrom, const double iTo)
 
Gnuplotset_xautoscale ()
 
Gnuplotset_yautoscale ()
 
Gnuplotset_zautoscale ()
 
Gnuplotset_xlogscale (const double base=10)
 
Gnuplotset_ylogscale (const double base=10)
 
Gnuplotset_zlogscale (const double base=10)
 
Gnuplotunset_xlogscale ()
 
Gnuplotunset_ylogscale ()
 
Gnuplotunset_zlogscale ()
 
Gnuplotset_cbrange (const double iFrom, const double iTo)
 
Gnuplotplotfile_x (const std::string &filename, const unsigned int column=1, const std::string &title="")
 
template<typename X >
Gnuplotplot_x (const X &x, const std::string &title="")
 
Gnuplotplotfile_xy (const std::string &filename, const unsigned int column_x=1, const unsigned int column_y=2, const std::string &title="", const unsigned int decimate=1)
 
template<typename X , typename Y >
Gnuplotplot_xy (const X &x, const Y &y, const std::string &title="", const unsigned int decimate=1)
 
Gnuplotplotfile_xy_err (const std::string &filename, const unsigned int column_x=1, const unsigned int column_y=2, const unsigned int column_dy=3, const std::string &title="")
 
template<typename X , typename Y , typename E >
Gnuplotplot_xy_err (const X &x, const Y &y, const E &dy, const std::string &title="")
 
template<typename X , typename Y , typename E >
Gnuplotplot_grid3d (const X &x, const Y &y, const E &mag, const std::string &title="")
 
Gnuplotplotfile_xyz (const std::string &filename, const unsigned int column_x=1, const unsigned int column_y=2, const unsigned int column_z=3, const std::string &title="")
 
template<typename X , typename Y , typename Z >
Gnuplotplot_xyz (const X &x, const Y &y, const Z &z, const std::string &title="")
 
Gnuplotplot_slope (const double a, const double b, const std::string &title="")
 
Gnuplotplot_equation (const std::string &equation, const std::string &title="")
 
Gnuplotplot_equation3d (const std::string &equation, const std::string &title="")
 
Gnuplotplot_image (const unsigned char *ucPicBuf, const unsigned int iWidth, const unsigned int iHeight, const std::string &title="")
 
Gnuplotplot_circle (double east, double north, double radius, const std::string &label="")
 
Gnuplotreplot (void)
 replot repeats the last plot or splot command. More...
 
Gnuplotreset_plot ()
 
Gnuplotreset_all ()
 
void remove_tmpfiles ()
 
bool is_valid ()
 

Static Public Member Functions

static bool set_GNUPlotPath (const std::string &path)
 
static void set_terminal_std (const std::string &type)
 

Detailed Description

Definition at line 75 of file gnuplot_i.h.

Constructor & Destructor Documentation

◆ Gnuplot()

Gnuplot::Gnuplot ( const std::string &  style = "points")
inlineexplicit

set a style during construction

Definition at line 695 of file gnuplot_i.h.

Member Function Documentation

◆ operator<<()

Gnuplot& Gnuplot::operator<< ( const std::string &  cmdstr)
inline

Sends a command to an active gnuplot session, identical to cmd()

Definition at line 225 of file gnuplot_i.h.

◆ replot()

Gnuplot& Gnuplot::replot ( void  )
inline

replot repeats the last plot or splot command.

Definition at line 639 of file gnuplot_i.h.

◆ unset_title()

Gnuplot& Gnuplot::unset_title ( )
inline

Clears the title of a gnuplot session.

Definition at line 434 of file gnuplot_i.h.


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