power,'_kin','hel_kin',k=k,spec1=spec1,spec2=spec2,i=n,tt=t,/noplot & print,n ; ; $Id: ppower_all.pro,v 1.2 2008/03/24 05:55:19 brandenb Exp $ ; ; This routine is used to view all power spectra ; that were written during the run (controlled by dspec) ; The plot range yr is set to a default value. ; The time interval of plotting is "w" (default value) ; ; 5-oct-02/axel: written ; spawn,'if (! -f param.pro) touch param.pro' @param xr=[1,max(k)] yr=[1e-8,1e-1] ; default,yr,[1e-15,1e-0] default,w,.01 default,t1,.0 ; for i=0,n-2 do begin if(t(i) ge t1) then begin plot_oo,k,spec1(*,i),xr=xr,yr=yr,tit='t='+str(t(i)) oplot,k,abs(.5/k*spec2(*,i)),col=122,li=2 kk=[4,20] & oplot,kk,.02/kk^1.66667 print,i wait,w end end ; print,'E_K (white), E_M (red), E_T (yellow)' END