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 styles for two-dimensional plots

Computer Facility University of Hawaii at Manoa
College of Engineering

When drawing several plots at once, gnuplot draws each plot using different colors. The default style for data plots uses dots, while the default style for function plots uses lines. Different plot styles can be defined in the plot command. The format for a style definition is as follows:

with styletype {linetype} {pointtype}
Where styletype is one of the following: lines, points, linespoints, impulses, dots, steps, errorbars, boxes and boxerrorbars. (You can abbreviate these terms to the shortest unique form, such as linesp for linespoints.) This image shows you all of the 9 styles listed above:
This image shows you different line colors and point styles:

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.