#!/bin/sh
# 
# Slightly more complex plot. Data contains 3 columns.
# Plot contains col2(z) vs col1(y) as a line, with col4(w) as labels
# at the points (col1,col3) or (v,y)
# 
# This is what the data looks like:
#
# y	z	v	w
# -	-	-	-
# 1	2	3	*
# 2	3	4	**
# 3	4	5	***
# 4	5	6	v
# 5	6	7	vi
scat \
	-X "X-axis" \
	-Y "Y-axis" \
	-x0,5,.5 \
	-y 0,10,1 \
	-L w \
	-H "Sample x/y-plot" \
	< data.3
#
# Note the use of -X and -Y to define axis labels.
# The Y-axis label is not rotated unless the -E option is added to
# the scat command-line. In this case, extended commands must be
# supported by the plot-filter used.
