#!/bin/sh # jottable Y 20 -3.1415 3.1415 \ | column -n \ | plottable Number,Y title "Simple Graph" jottable X 20 -3.1415 3.1415 | column -a Y Z Sin Cos \ | compute 'Y = log(X*X)/2 Z = .1*X Sin=sin(X) Cos=cos(X)' \ | plottable toptitle "Example of plottable" \ subtitle "Three curves generated with starbase commands"\ subsubtitle "Quite silly data" \ X,Y color red err 4% herr Z key "Wacky Data" \ X,Sin color blue smooth key Sin \ X,Cos color cyan lstyle 1 key Cos \ xtitle "-PI to +PI" \ ytitle "Here is the nicely labeled Y Axis" \ xaxis min -3.14 max 3.14 \ keybox pos br \ jottable X 20 \ | column -a Y \ | compute 'Y = X^5' \ | plottable X,Y color green \ title "Log plot of X^5" \ xtitle "X" \ ytitle "X^5" \ yaxis grid log \ xaxis grid max 20 jottable X 750 \ | column -a Y \ | compute 'X = gresid(5) Y = gresid(2)' \ | plottable X,Y marker circle \ title "Scatter Plot" \ xaxis min -15 max 15 \ yaxis min -15 max 15 jottable X 20 \ | column -a Y \ | compute 'Y = X^5' \ | plottable pagesize 8 5 \ X,Y color green \ toptitle "Log plot of X^5 On a width page" \ xtitle "X" \ ytitle "X^5" \ yaxis grid log \ xaxis grid max 20