College of Engineering Logo Web Server Logs Student Server Logs Orange bar Main Page General Information Special Events Programs Research Student Information Computer Facility Outreach Xtreme Engineering Jobs Available

Setting the format for three-dimensional data plots

Computer Facility University of Hawaii at Manoa
College of Engineering

The data file section describes the columns that a gnuplot data file can use. Depending on the number of columns, the plotted values can vary.

  • One column: The value is used for the Z value. (The X values start from 0, and are incremented by 1, Y values also start from 0, and are incremented by 1 by each set of data separated by a blank line.)
  • Three columns: The three values are used for the X, Y and Z values, respectively.
In addition to these pre-defined formats within the file, you can also specify which columns would be used within the data file with the using option of the plot command. The argument following this is a list of colon-separated columns, and up to 4 columns may be specified for the purposes outlined above. For example, the command
splot "datafile" using 2:4:6
would use column 5 for the X value, column 3 for the Y value, and column 8 for the Z value.

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.