1 xy: [[10,.6],[20,.9],[30,1.1],[40,1.3],[50,1.4]]$
2 plot2d ([[discrete,xy], 2*%pi*sqrt(l/980)], [l,0,50], [style,points,lines],
3 [color,red,blue], [point_type,asterisk], [legend,"experiment","theory"],
4 [xlabel,"pendulum's length (cm)"], [ylabel, "period (s)"],
5 [pdf_file,"./plotting16.pdf"]);
6 plot2d ([[discrete,xy], 2*%pi*sqrt(l/980)], [l,0,50], [style,points,lines],
7 [color,red,blue], [point_type,asterisk], [legend,"experiment","theory"],
8 [xlabel,"pendulum's length (cm)"], [ylabel, "period (s)"],
9 [png_file,"./plotting16.png"]);