#!/home/lab391/Ureka/variants/common/bin/python #Here is a super simple plotting script. Run this interactively by cutting # and pasting the text below into the pyraf environment. import numpy as np import math from pylab import * x = [1,2,3] y = [5,6,7] axis([-2,4,0,10]) plot(x,y,'o') xlabel('x') ylabel('y') title("Simple Plot") ion() # returns to command line show() # shows plot # if you want to add more plots to the plot use draw(): xx=arange(-10,3,.1) yy=xx**2 plot(xx,yy,'-') draw()