Plotting three-dimensional data files
Please read the section on data files for the format for data files mentioned here.
The syntax of the splot command for plotting a
three-dimensional set of data is as follows: splot {ranges} "datafile" {using data-format} {index i} {title "title text"} {style}If several plots are to be plotted, subsequent data plots (or functions) can be specified, separated by commas. The optional sections are shown with braces. Note that only one set of ranges can be specified, as the subsequent plots (or data plots) use the same range. Data plots can either have just the z coordinate specified, in which case the X and Y coordinates are determined by the position in the file, or X, Y, and Z coordinates may be specified. In the case where all three coordinates are specified, you must use the set parametric command to set gnuplot to use the plot parameters. For both cases, a blank line is used to separate different sets of data. A sample file was plotted using the following command: set parametric |
Author: Ben Yoshino (ben@wiliki.eng.hawaii.edu)Comments, Questions? | E-mail: webmaster@wiliki.eng.hawaii.edu Last updated on Thursday, August %.1d, 2002 Copyright © 2001 University of Hawai`i, College of Engineering, Computer Facility All rights reserved. |