Skip to main content

simple_plot.pro


!p.color=0
!p.background=255
x=findgen(10)
x2=x^2
plot, x, x2, psym=-1, xtitle = 'Some title text', ytitle = 'Some more title text', title = 'Simple plot', yrange=[0,1000]
x3=x^3
oplot,x,x3,linestyle=1, psym=-2
END