gnuplot_plot_imageT_gnuplot_plot_imageGnuplotPlotImageGnuplotPlotImagegnuplot_plot_image (Operator)
Name
gnuplot_plot_imageT_gnuplot_plot_imageGnuplotPlotImageGnuplotPlotImagegnuplot_plot_image — Ausgabe von Bildern durch gnuplot.
Warnung
gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImageGnuplotPlotImagegnuplot_plot_image ist veraltet und wird nur aus Gründen
der Rückwärtskompatibilität zur Verfügung gestellt.
Signatur
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_imageGnuplotPlotImageGnuplotPlotImageGnuplotPlotImagegnuplot_plot_image gibt Bilder unter Verwendung von gnuplot
als 3D-Plots aus. Falls vorher ein gnuplot-Unterprozess mittels
gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipegnuplot_open_pipe 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
GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileIDgnuplot_file_id bestimmt. Die Parameter
SamplesXSamplesXSamplesXSamplesXsamplesXsamples_x und SamplesYSamplesYSamplesYSamplesYsamplesYsamples_y geben an, wie viele
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 ViewRotXViewRotXViewRotXViewRotXviewRotXview_rot_x und
ViewRotZViewRotZViewRotZViewRotZviewRotZview_rot_z lässt sich die Position des Beobachters
festlegen. ViewRotXViewRotXViewRotXViewRotXviewRotXview_rot_x gibt die Rotation des
Koordinatensystems um die x-Achse an. Dies entspricht im
wesentlichen der Neigung des Plots. ViewRotZViewRotZViewRotZViewRotZviewRotZview_rot_z gibt die
Rotation des Plots um die z-Achse an. Diese beiden Parameter
entsprechen den ersten beiden Parametern des 'set view'-Befehls von
gnuplot. Hidden3DHidden3DHidden3DHidden3Dhidden3Dhidden_3d 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
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
ImageImageImageImageimageimage (input_object) singlechannelimage → objectHImageHObjectHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real)
Auszugebendes Bild.
GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileIDgnuplot_file_id (input_control) gnuplot → HGnuplot, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Identifikator für den gnuplot-Ausgabestrom.
SamplesXSamplesXSamplesXSamplesXsamplesXsamples_x (input_control) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Anzahl der Datenpunkte in x-Richtung.
Defaultwert: 64
Typischer Wertebereich: 2
≤
SamplesX
SamplesX
SamplesX
SamplesX
samplesX
samples_x
≤
10000
Restriktion: SamplesX >= 2
SamplesYSamplesYSamplesYSamplesYsamplesYsamples_y (input_control) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Anzahl der Datenpunkte in y-Richtung.
Defaultwert: 64
Typischer Wertebereich: 2
≤
SamplesY
SamplesY
SamplesY
SamplesY
samplesY
samples_y
≤
10000
Restriktion: SamplesY >= 2
ViewRotXViewRotXViewRotXViewRotXviewRotXview_rot_x (input_control) number → HTupleUnion[int, float]HTupleHtuple (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
view_rot_x
≤
180
Minimale Schrittweite: 0.01
Empfohlene Schrittweite: 10
Restriktion: 0 <= ViewRotX && ViewRotX <= 180
ViewRotZViewRotZViewRotZViewRotZviewRotZview_rot_z (input_control) number → HTupleUnion[int, float]HTupleHtuple (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
view_rot_z
≤
360
Minimale Schrittweite: 0.01
Empfohlene Schrittweite: 10
Restriktion: 0 <= ViewRotZ && ViewRotZ <= 360
Hidden3DHidden3DHidden3DHidden3Dhidden3Dhidden_3d (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Ausgabe als hidden-surface-plot.
Defaultwert:
'hidden3d'
"hidden3d"
"hidden3d"
"hidden3d"
"hidden3d"
"hidden3d"
Werteliste: 'hidden3d'"hidden3d""hidden3d""hidden3d""hidden3d""hidden3d", 'nohidden3d'"nohidden3d""nohidden3d""nohidden3d""nohidden3d""nohidden3d"
Ergebnis
gnuplot_plot_imagegnuplot_plot_imageGnuplotPlotImageGnuplotPlotImageGnuplotPlotImagegnuplot_plot_image liefert den Wert TRUE, falls
GnuplotFileIDGnuplotFileIDGnuplotFileIDGnuplotFileIDgnuplotFileIDgnuplot_file_id 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_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipegnuplot_open_pipe,
gnuplot_open_filegnuplot_open_fileGnuplotOpenFileGnuplotOpenFileGnuplotOpenFilegnuplot_open_file
Nachfolger
gnuplot_closegnuplot_closeGnuplotCloseGnuplotCloseGnuplotClosegnuplot_close
Siehe auch
gnuplot_open_pipegnuplot_open_pipeGnuplotOpenPipeGnuplotOpenPipeGnuplotOpenPipegnuplot_open_pipe,
gnuplot_open_filegnuplot_open_fileGnuplotOpenFileGnuplotOpenFileGnuplotOpenFilegnuplot_open_file,
gnuplot_closegnuplot_closeGnuplotCloseGnuplotCloseGnuplotClosegnuplot_close
Modul
Foundation