#!/usr/X11R6/bin/robot # polynomial plus Gaussian fit to data n ! new page reset ! reset to defaults type ! input data The title X axis label Y axis label -30 10 2 -12.3 9 3 0.0 9 0.4 10 20 1 20 30 1 30 40 1 40 20 1 50 10 1 60 10 2 72 11 3 83 8 4 # Put the main title in the center centertitle g curfit # fit a curve polynomial 10 1 gauss 10 20 10 end color red # change color to red plotcurd # plot the fitted curve as a dashed line return