![]() Set_terminal_std (const std::string &type) Optional function: set Gnuplot path manual attention: for windows: path with slash '/' not backslash '\' Set_GNUPlotPath (const std::string &path) Resets a gnuplot session and sets all variables to default Resets a gnuplot session (next plot will erase previous ones) Replot repeats the last plot or splot command. Plot_image (const unsigned char *ucPicBuf, const unsigned int iWidth, const unsigned int iHeight, const std::string &title="") ![]() Plot an equation supplied as a std::string z=f(x,y), write only the function f(x,y) not z the independent variables have to be x and y Plot_equation3d (const std::string &equation, const std::string &title="") Plot an equation supplied as a std::string y=f(x), write only the function f(x) not y the independent variable has to be x binary operators: ** exponentiation, * multiply, / divide, + add, - substract, % modulo unary operators: - minus, ! factorial elementary functions: rand(x), abs(x), sgn(x), ceil(x), floor(x), int(x), imag(x), real(x), arg(x), sqrt(x), exp(x), log(x), log10(x), sin(x), cos(x), tan(x), asin(x), acos(x), atan(x), atan2(y,x), sinh(x), cosh(x), tanh(x), asinh(x), acosh(x), atanh(x) special functions: erf(x), erfc(x), inverf(x), gamma(x), igamma(a,x), lgamma(x), ibeta(p,q,x), besj0(x), besj1(x), besy0(x), besy1(x), lambertw(x) statistical fuctions: norm(x), invnorm(x) Plot_equation (const std::string &equation, const std::string &title="") Plot an equation of the form: y = ax + b, you supply a and b Plot_slope (const float a, const float b, const std::string &title="") Plot_xyz (const X &x, const Y &y, const Z &z, const std::string &title="") Plotfile_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="") Plot_xy_err (const X &x, const Y &y, const E &dy, const std::string &title="") Plot x,y pairs with dy errorbars: x y dy from file Plotfile_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="") Plot_xy (const X &x, const Y &y, const std::string &title="") Plotfile_xy (const std::string &filename, const unsigned int column_x=1, const unsigned int column_y=2, const std::string &title="") ![]() Plot_x (const X &x, const std::string &title="") Plotfile_x (const std::string &filename, const unsigned int column=1, const std::string &title="") Set_cbrange (const float iFrom, const float iTo) Turns on/off log scaling for the specified zaxis (logscale is not set by default) Turns on/off log scaling for the specified yaxis (logscale is not set by default) Turns on/off log scaling for the specified xaxis (logscale is not set by default) Set_zrange (const float iFrom, const float iTo) Set_yrange (const float iFrom, const float iTo) Set_xrange (const float iFrom, const float iTo) Set_zlabel (const std::string &label="z") Set_xlabel (const std::string &label="y") Set_ylabel (const std::string &label="x") Sets and clears the title of a gnuplot sessionĬlears the title of a gnuplot session The title is not set by default. Switches legend off attention:legend is set by default. Switches legend on/off position: inside/outside, left/center/right, top/center/bottom, nobox/box Set_legend (const std::string &position="default") Surface is set by default, it disables the display of surfaces (for 3d plot) Set_contour (const std::string &position="base")Įnables/disables contour drawing for surfaces (for 3d plot) base, surface, bothĬontour is not set by default, it disables contour drawing for surfacesĮnables/disables the display of surfaces (for 3d plot) Set isoline density (grid) for plotting functions as surfaces (for 3d plots)Įnables/disables hidden line removal for surface plotting (for 3d plot) Set sampling rate of functions, or for interpolating data Scales the size of the points used in plots Set_pointsize (const float pointsize=1.0) Unset smooth attention: smooth is not set by default Operator 0), sbezier, unique, frequency (works only with plot_x, plot_xy, plotfile_x, plotfile_xy (if smooth is set, set_style has no effekt on data plotting) Gnuplot (const std::vector &x, const std::vector &y, const std::vector &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")ĭestructor: needed to delete temporary files Gnuplot (const std::vector &x, const std::vector &y, const std::string &title="", const std::string &style="points", const std::string &labelx="x", const std::string &labely="y") Gnuplot (const std::vector &x, const std::string &title="", const std::string &style="points", const std::string &labelx="x", const std::string &labely="y") Gnuplot (const std::string &style="points")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |