gnuplot_plot_funct_1d ( : : GnuplotFileID, Function : )

Plot a function using gnuplot.

gnuplot_plot_ctrl displays a function of control values using gnuplot. If there is an active gnuplot sub-process (started with gnuplot_open_pipe), the image is displayed in a gnuplot window. Otherwise, the image is output to a file, which can be later read by gnuplot. In both cases the gnuplot output stream is identified by GnuplotFileID.


Parameters

GnuplotFileID (input_control)
gnuplot_id -> integer
Identifier for the gnuplot output stream.

Function (input_control)
function_1d-array -> real / integer
Function to be plotted.


Result

gnuplot_plot_ctrl returns 2 (H_MSG_TRUE) if GnuplotFileID is a valid gnuplot output stream, and if the data file for the current plot could be opened. Otherwise, an exception handling is raised.


Parallelization Information

gnuplot_plot_funct_1d is processed completely exclusively without parallelization.


Possible Predecessors

gnuplot_open_pipe, gnuplot_open_file


Possible Successors

gnuplot_close


Alternatives

gnuplot_plot_ctrl


See also

gnuplot_open_pipe, gnuplot_open_file, gnuplot_close


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH