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