#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#DOCUMENT:      fig.com
#REV:           0 
#DATE:          05/17/96 
#DEPENDENCIES:  graph1, graph2
#ORIGINATOR:    Joseph Kolibal
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#TO GENERATE A POSTSCRIPT FILE USING gnuplot, SO THAT THE FILE IS SCALED
#CORRECTLY. INVOKE gnuplot. THEN load 'fig.com' WHERE fig.com
#IS THE NAME OF THE COMMAND FILE. TO EXAMINE MORE OPTIONS, USE help set COMMAND
#IN gnuplot.
#
#
#TO PLOT THE FILES CNF
#
#SETUP AXIS LABELS.
# Examples:
#set title "Plot Function" 0.0,0.5
#set xlabel "x" 
#set ylabel "f(x)" 0.0,0
#set noclabel
#set noborder
#set tics out
# THE COMMAND noxzeroaxis AND noyzeroaxis TURNS OF AXES IN A PLOT.
set xzeroaxis
set noyzeroaxis
set nolog
set nolabel
#
#SETUP THE PLOT SIZE.
# For the LaTeX and Fig terminals the default size (scale factor 1,1) # is 5 inches wide by 3 inches high. The big Fig terminal (`bfig`) is 7
# inches wide by 5 inches high. The postscript default is landscape mode
# 10 inches wide and 7 inches high.
# Note that the size of the plot includes the space used by the labels;
# the plotting area itself is smaller.
# Size scales the size of the image, by those factors depending on the style
# chosen.
#
# Examples
#set size 0.5,0.74
#set size 0.7,0.74
# FOR SLIDES:
#set size 0.89, 1.280
#set size 1.0, 1.0
set size 1.0, 0.7
set function style lines 
#
#
#SETUP THE TERMINAL AND ORIENTATION.
# Examples:
#
#set term postscript portrait "Times-Roman" 12
#set term postscript landscape "Times-Roman" 12
# FOR SLIDES:
#set term postscript eps "Times-Roman" 26
#set term postscript color "Times-Roman" 16
#set term postscript portrait monochrome solid "Helvetica" 7
set term postscript eps color solid "Helvetica" 20
#set term postscript eps  "Helvetica" 20
#set term postscript eps  "Helvetica" 20
#
#set term postscript eps "Helvetica" 12 
#
#SETUP THE FILENAME.
# THE COMMAND notitle AFTER THE FILENAME IN THE plot COMMAND TURNS OFF THE
# LEGEND.
set output 'slim.ps'
set samples 5000
plot [-15:-3]  sqrt(x*x+4*x -1) + x notitle lw 4 lt 3  with lines, sqrt(x*x+4*x -1) notitle lw 4 lt 2 with lines, x notitle lw 4 lt 5 with lines
 

# CLEAN UP:
#
set nolog
set auto
set title "" 0,0
set xlabel "" 0,0
set ylabel "" 0,0
set zlabel "" 0,0
#
#
#
#
#
#
#
#
#
#
 


