# Defining the 2D plot limits setxylimits -10 30 -0.4 1.2 # Drawing a gaussian using the predefined limits and no default title func exp(-(x-2)*(x-2)/12.) -10 20 100 xylimits,orange,normalline,notit # Setting the top and bottom titles settitle 'addelts.pic : Top Title ' 'Bottom Title (addelts.pic) ' siennared # Superimposing a sin(x)/x function func sin(x)/x 0.1 30 100 green,same # Adding a text string and a line to the display addtext 15 0.2 'f(x) = sin(x)/x' gold,boldfont,bigfont,timesfont addline 0 0.8 20 0.2 red # Rectangle drawing addfrect 5 0.85 10 0.95 navyblue addrect 7 1.05 8 0.75 purple # Drawing circles addfcirc 18 0.75 0.25 violet addfcirc 18 0.75 0.15 violetred addfcirc 18 0.75 0.07 magenta addfcirc 22 0.55 0.10 blueviolet addfcirc 26 0.55 0.10 darkviolet # Make an Encapsulated Postscript file (eps) pssetfilename w2eps addelts.eps