gnuplot_plot_funct_1dT_gnuplot_plot_funct_1dGnuplotPlotFunct1dGnuplotPlotFunct1dgnuplot_plot_funct_1d (算子)

名称

gnuplot_plot_funct_1dT_gnuplot_plot_funct_1dGnuplotPlotFunct1dGnuplotPlotFunct1dgnuplot_plot_funct_1d — 使用 gnuplot 绘制函数。

警告

gnuplot_plot_funct_1dgnuplot_plot_funct_1dGnuplotPlotFunct1dGnuplotPlotFunct1dGnuplotPlotFunct1dgnuplot_plot_funct_1d 已过时,仅出于向后兼容性考虑而保留。

签名

gnuplot_plot_funct_1d( : : GnuplotFileID, Function : )

Herror T_gnuplot_plot_funct_1d(const Htuple GnuplotFileID, const Htuple Function)

void GnuplotPlotFunct1d(const HTuple& GnuplotFileID, const HTuple& Function)

void HGnuplot::GnuplotPlotFunct1d(const HFunction1D& Function) const

void HFunction1D::GnuplotPlotFunct1d(const HGnuplot& GnuplotFileID) const

static void HOperatorSet.GnuplotPlotFunct1d(HTuple gnuplotFileID, HTuple function)

void HGnuplot.GnuplotPlotFunct1d(HFunction1D function)

void HFunction1D.GnuplotPlotFunct1d(HGnuplot gnuplotFileID)

def gnuplot_plot_funct_1d(gnuplot_file_id: HHandle, function: Sequence[Union[float, int]]) -> None

描述

gnuplot_plot_ctrlgnuplot_plot_ctrlGnuplotPlotCtrlGnuplotPlotCtrlGnuplotPlotCtrlgnuplot_plot_ctrl displays a function of control values using gnuplot. If there is an active gnuplot sub-process (started with gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipegnuplot_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 GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileIDgnuplot_file_id

执行信息

参数

GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileIDgnuplot_file_id (输入控制)  gnuplot HGnuplot, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Identifier for the gnuplot output stream.

FunctionFunctionFunctionFunctionfunctionfunction (输入控制)  function_1d HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Function to be plotted.

结果

gnuplot_plot_ctrlgnuplot_plot_ctrlGnuplotPlotCtrlGnuplotPlotCtrlGnuplotPlotCtrlgnuplot_plot_ctrl returns 2 ( H_MSG_TRUE) if GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileIDgnuplot_file_id is a valid gnuplot output stream, and if the data file for the current plot could be opened.否则,将抛出异常。

可能的前趋

gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipegnuplot_open_pipe, gnuplot_open_filegnuplot_open_fileGnuplotOpenFileGnuplotOpenFileGnuplotOpenFilegnuplot_open_file

可能的后继

gnuplot_closegnuplot_closeGnuplotCloseGnuplotCloseGnuplotClosegnuplot_close

替代

gnuplot_plot_ctrlgnuplot_plot_ctrlGnuplotPlotCtrlGnuplotPlotCtrlGnuplotPlotCtrlgnuplot_plot_ctrl

另见

gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipegnuplot_open_pipe, gnuplot_open_filegnuplot_open_fileGnuplotOpenFileGnuplotOpenFileGnuplotOpenFilegnuplot_open_file, gnuplot_closegnuplot_closeGnuplotCloseGnuplotCloseGnuplotClosegnuplot_close

模块

基础