;+ ;cutplot,x,y,xout,yout,_EXTRA=ex ;a little pro to cut out a section of a plot you like ; by Conor Laver 06/09/2006 ; written during World Cup '06! ;- PRO trimx,x,y,xrange,xout,yout,_EXTRA=ex mindex=min(where(x gt xrange[0])) madex=min(where(x gt xrange[1])) xout=x[mindex:madex] yout=y[mindex:madex] window,9,title='Your nicely cut plot!!' plot,xout,yout end