Back to demo index

gnuplot demo script: param.dem

autogenerated by webify.pl on Sun Feb 12 19:55:25 2012
gnuplot version gnuplot 4.6 patchlevel 0
#
# $Id: param.dem,v 1.5 2003/10/17 15:02:21 mikulik Exp $
#
# Show some of the new parametric capabilities.
#
set parametric
set dummy t
set autoscale
set samples 160
set title ""
set key box
set key below
plot t,sin(t)/t title "t,sin(t)/t or sin(x)/x"

Click here for minimal script to generate this plot




plot sin(t)/t,t

Click here for minimal script to generate this plot




plot sin(t),cos(t)

Click here for minimal script to generate this plot




set xrange [-3:3]
set yrange [-3:3]
set title "Parametric Conic Sections"
plot -t,t,cos(t),cos(2*t),2*cos(t),sin(t),-cosh(t),sinh(t)
set title ""

Click here for minimal script to generate this plot




set xrange [-5:5]
set yrange [-5:5]
plot tan(t),t,t,tan(t)

Click here for minimal script to generate this plot




set trange [0.00001:3]
plot t,log(t),-t,log(t),sin(t),t**2,-sin(t),t**2

Click here for minimal script to generate this plot




set autoscale x
set yrange [-1.5:1.5]
set trange [0.0001:10*pi]
plot sin(t)/t,cos(t)/t

Click here for minimal script to generate this plot




# undo what we've done above