gnuplot_plot_imageT_gnuplot_plot_imageGnuplotPlotImageGnuplotPlotImage (Operator)

Name

gnuplot_plot_imageT_gnuplot_plot_imageGnuplotPlotImageGnuplotPlotImage — Ausgabe von Bildern durch gnuplot.

Warnung

gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImageGnuplotPlotImage ist veraltet und wird nur aus Gründen der Rückwärtskompatibilität zur Verfügung gestellt.

Signatur

gnuplot_plot_image(Image : : GnuplotFileID, SamplesX, SamplesY, ViewRotX, ViewRotZ, Hidden3D : )

Herror T_gnuplot_plot_image(const Hobject Image, const Htuple GnuplotFileID, const Htuple SamplesX, const Htuple SamplesY, const Htuple ViewRotX, const Htuple ViewRotZ, const Htuple Hidden3D)

void GnuplotPlotImage(const HObject& Image, const HTuple& GnuplotFileID, const HTuple& SamplesX, const HTuple& SamplesY, const HTuple& ViewRotX, const HTuple& ViewRotZ, const HTuple& Hidden3D)

void HGnuplot::GnuplotPlotImage(const HImage& Image, Hlong SamplesX, Hlong SamplesY, const HTuple& ViewRotX, const HTuple& ViewRotZ, const HString& Hidden3D) const

void HGnuplot::GnuplotPlotImage(const HImage& Image, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const HString& Hidden3D) const

void HGnuplot::GnuplotPlotImage(const HImage& Image, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const char* Hidden3D) const

void HGnuplot::GnuplotPlotImage(const HImage& Image, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const wchar_t* Hidden3D) const   (Nur Windows)

void HImage::GnuplotPlotImage(const HGnuplot& GnuplotFileID, Hlong SamplesX, Hlong SamplesY, const HTuple& ViewRotX, const HTuple& ViewRotZ, const HString& Hidden3D) const

void HImage::GnuplotPlotImage(const HGnuplot& GnuplotFileID, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const HString& Hidden3D) const

void HImage::GnuplotPlotImage(const HGnuplot& GnuplotFileID, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const char* Hidden3D) const

void HImage::GnuplotPlotImage(const HGnuplot& GnuplotFileID, Hlong SamplesX, Hlong SamplesY, double ViewRotX, double ViewRotZ, const wchar_t* Hidden3D) const   (Nur Windows)

static void HOperatorSet.GnuplotPlotImage(HObject image, HTuple gnuplotFileID, HTuple samplesX, HTuple samplesY, HTuple viewRotX, HTuple viewRotZ, HTuple hidden3D)

void HGnuplot.GnuplotPlotImage(HImage image, int samplesX, int samplesY, HTuple viewRotX, HTuple viewRotZ, string hidden3D)

void HGnuplot.GnuplotPlotImage(HImage image, int samplesX, int samplesY, double viewRotX, double viewRotZ, string hidden3D)

void HImage.GnuplotPlotImage(HGnuplot gnuplotFileID, int samplesX, int samplesY, HTuple viewRotX, HTuple viewRotZ, string hidden3D)

void HImage.GnuplotPlotImage(HGnuplot gnuplotFileID, int samplesX, int samplesY, double viewRotX, double viewRotZ, string hidden3D)

Beschreibung

gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImageGnuplotPlotImage gibt Bilder unter Verwendung von gnuplot als 3D-Plots aus. Falls vorher ein gnuplot-Unterprozess mittels gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipe gestartet wurde, erfolgt die Darstellung in einem gnuplot-Fenster. Ansonsten erfolgt die Ausgabe in eine Datei, die später mit gnuplot verarbeitet werden kann. In beiden Fällen wird der gnuplot-Ausgabestrom durch GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileID bestimmt. Die Parameter SamplesXSamplesXSamplesXSamplesXsamplesX und SamplesYSamplesYSamplesYSamplesYsamplesY geben an, wieviele Datenpunkte in x- bzw. y-Richtung an gnuplot ausgegeben werden sollen. Sie sind vollkommen analog zu den Variablen samples und isosamples in gnuplot. Mit den Parametern ViewRotXViewRotXViewRotXViewRotXviewRotX und ViewRotZViewRotZViewRotZViewRotZviewRotZ lässt sich die Position des Beobachters festlegen. ViewRotXViewRotXViewRotXViewRotXviewRotX gibt die Rotation des Koordinatensystems um die x-Achse an. Dies entspricht im wesentlichen der Neigung des Plots. ViewRotZViewRotZViewRotZViewRotZviewRotZ gibt die Rotation des Plots um die z-Achse an. Diese beiden Parameter entsprechen den ersten beiden Parametern des 'set view'-Befehls von gnuplot. Hidden3DHidden3DHidden3DHidden3Dhidden3D gibt an, ob die verdeckten Oberflächenteile entfernt werden sollen oder nicht. Dies entspricht dem 'set hidden3d'-Befehl von gnuplot. Falls ein einziges Bild übergeben wird, erfolgt die Ausgabe in einen separaten Plot. Falls mehrere Bilder übergeben werden, werden alle in einem einzigen Plot dargestellt.

Ausführungsinformationen

Parameter

ImageImageImageImageimage (input_object)  singlechannelimage objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real)

Auszugebendes Bild.

GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileID (input_control)  gnuplot HGnuplot, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Identifikator für den gnuplot-Ausgabestrom.

SamplesXSamplesXSamplesXSamplesXsamplesX (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Anzahl der Datenpunkte in x-Richtung.

Defaultwert: 64

Typischer Wertebereich: 2 ≤ SamplesX SamplesX SamplesX SamplesX samplesX ≤ 10000

Restriktion: SamplesX >= 2

SamplesYSamplesYSamplesYSamplesYsamplesY (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Anzahl der Datenpunkte in y-Richtung.

Defaultwert: 64

Typischer Wertebereich: 2 ≤ SamplesY SamplesY SamplesY SamplesY samplesY ≤ 10000

Restriktion: SamplesY >= 2

ViewRotXViewRotXViewRotXViewRotXviewRotX (input_control)  number HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Rotation des Plots um die x-Achse.

Defaultwert: 60

Typischer Wertebereich: 0 ≤ ViewRotX ViewRotX ViewRotX ViewRotX viewRotX ≤ 180

Minimale Schrittweite: 0.01

Empfohlene Schrittweite: 10

Restriktion: 0 <= ViewRotX && ViewRotX <= 180

ViewRotZViewRotZViewRotZViewRotZviewRotZ (input_control)  number HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Rotation des Plots um die z-Achse.

Defaultwert: 30

Typischer Wertebereich: 0 ≤ ViewRotZ ViewRotZ ViewRotZ ViewRotZ viewRotZ ≤ 360

Minimale Schrittweite: 0.01

Empfohlene Schrittweite: 10

Restriktion: 0 <= ViewRotZ && ViewRotZ <= 360

Hidden3DHidden3DHidden3DHidden3Dhidden3D (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Ausgabe als hidden-surface-plot.

Defaultwert: 'hidden3d' "hidden3d" "hidden3d" "hidden3d" "hidden3d"

Werteliste: 'hidden3d'"hidden3d""hidden3d""hidden3d""hidden3d", 'nohidden3d'"nohidden3d""nohidden3d""nohidden3d""nohidden3d"

Ergebnis

gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImageGnuplotPlotImage liefert den Wert 2 (H_MSG_TRUE), falls GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileID ein gültiger gnuplot-Ausgabestrom ist und die Datei für den aktuellen plot erzeugt werden konnte. Ansonsten wird eine Fehlerbehandlung durchgeführt.

Vorgänger

gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipe, gnuplot_open_filegnuplot_open_fileGnuplotOpenFileGnuplotOpenFileGnuplotOpenFile

Nachfolger

gnuplot_closegnuplot_closeGnuplotCloseGnuplotCloseGnuplotClose

Siehe auch

gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipe, gnuplot_open_filegnuplot_open_fileGnuplotOpenFileGnuplotOpenFileGnuplotOpenFile, gnuplot_closegnuplot_closeGnuplotCloseGnuplotCloseGnuplotClose

Modul

Foundation