ClassesClassesClassesClasses | | | | Operators

gnuplot_open_filegnuplot_open_fileGnuplotOpenFilegnuplot_open_fileGnuplotOpenFileGnuplotOpenFile (Operator)

Name

gnuplot_open_filegnuplot_open_fileGnuplotOpenFilegnuplot_open_fileGnuplotOpenFileGnuplotOpenFile — Open a gnuplot file for visualization of images and control values.

Signature

gnuplot_open_file( : : FileName : GnuplotFileID)

Herror gnuplot_open_file(const char* FileName, Hlong* GnuplotFileID)

Herror T_gnuplot_open_file(const Htuple FileName, Htuple* GnuplotFileID)

Herror gnuplot_open_file(const HTuple& FileName, Hlong* GnuplotFileID)

void HGnuplot::GnuplotOpenFile(const HTuple& FileName)

void GnuplotOpenFile(const HTuple& FileName, HTuple* GnuplotFileID)

void HGnuplot::GnuplotOpenFile(const HString& FileName)

void HGnuplot::GnuplotOpenFile(const char* FileName)

void HOperatorSetX.GnuplotOpenFile(
[in] VARIANT FileName, [out] VARIANT* GnuplotFileID)

void HGnuplotX.GnuplotOpenFile([in] BSTR FileName)

static void HOperatorSet.GnuplotOpenFile(HTuple fileName, out HTuple gnuplotFileID)

void HGnuplot.GnuplotOpenFile(string fileName)

Description

gnuplot_open_filegnuplot_open_fileGnuplotOpenFilegnuplot_open_fileGnuplotOpenFileGnuplotOpenFile allows the output of images and control values in a format which can be later processed by gnuplot. The parameter FileNameFileNameFileNameFileNameFileNamefileName determines the base-name of the files to be created by calls to gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImage. gnuplot_open_filegnuplot_open_fileGnuplotOpenFilegnuplot_open_fileGnuplotOpenFileGnuplotOpenFile generates a gnuplot control file with the name <Filename>.gp, in which the respective plot commands are written. Each image plotted by gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImage (or control values plotted by gnuplot_plot_ctrlgnuplot_plot_ctrlGnuplotPlotCtrlgnuplot_plot_ctrlGnuplotPlotCtrlGnuplotPlotCtrl) creates a data file with the name Filename.dat.<Number>, where Number is the number of the plot in the current sequence. The generated control file can later be edited to create the desired effect. After the last plot gnuplot_closegnuplot_closeGnuplotClosegnuplot_closeGnuplotCloseGnuplotClose has to be called in order to close all open files. The corresponding identifier for the gnuplot output stream is returned in GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileID.

Parallelization

This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.

Parameters

FileNameFileNameFileNameFileNameFileNamefileName (input_control)  filename.write HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Base name for control and data files.

File extension: .gp

GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileID (output_control)  gnuplot_id HGnuplot, HTupleHTupleHGnuplot, HTupleHGnuplotX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Identifier for the gnuplot output stream.

Result

gnuplot_open_filegnuplot_open_fileGnuplotOpenFilegnuplot_open_fileGnuplotOpenFileGnuplotOpenFile returns the value 2 (H_MSG_TRUE) if the control file could be opened. Otherwise, an exception is raised.

Possible Successors

gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImage, gnuplot_closegnuplot_closeGnuplotClosegnuplot_closeGnuplotCloseGnuplotClose

Alternatives

gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipe

See also

gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipe, gnuplot_closegnuplot_closeGnuplotClosegnuplot_closeGnuplotCloseGnuplotClose, gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImage

Module

Foundation


ClassesClassesClassesClasses | | | | Operators