; IDL Version 8.0, Microsoft Windows (Win32 x86 m32) ; Journal File for nemef1am@HLX01 ; Working directory: c:\temp ; Date: Wed Oct 30 17:25:47 2013 print,sin(!pi) ;-8.74228e-008 a = sin(!pi) print,'asdas' ;asdas print,randomu(seed,10) ; 0.380829 0.585890 0.972670 0.000931988 0.419767 0.0225677 0.827203 0.331974 ; 0.953859 0.663930 seed = 1000L print,randomu(seed,5) ; 0.190594 0.464514 0.928778 0.502077 0.436495 print,randomu(seed,5) ; 0.964891 0.692896 0.698186 0.707129 0.709967 help,seed seed = 1000L print,randomu(seed,5) ; 0.190594 0.464514 0.928778 0.502077 0.436495 print,randomu(seed,5) ; 0.964891 0.692896 0.698186 0.707129 0.709967 x = fix(6*randomu(seed,10000))+1 print,min(x),max(x) ; 1 6 print,mean(x) ; 3.51060 y = fix(6*randomu(seed,10000))+1 soucet = x+y plot,x h = histogram(soucet,min=2,max=12,binsize=1,locations=osax) print,osax ; 2 3 4 5 6 7 8 9 10 11 12 print,h ; 282 541 765 1099 1442 1682 1453 1114 824 ; 558 240 print,282./10000 ; 0.0282000 print,1./36 ; 0.0277778 plot,osax,h,psym=10 plot,osax,h/10000.,psym=10 x = randomn(seed,10000) plot,x h = histogram(x,min=-5,max=5,binsize=0.5,locations=osax) plot,osax,h,psym=10 h = histogram(x,min=-5,max=5,binsize=1.,locations=osax) plot,osax,h,psym=10 plot,osax,h,psym=10,xstyle=1 print,osax ; -5.00000 -4.00000 -3.00000 -2.00000 -1.00000 0.000000 1.00000 2.00000 ; 3.00000 4.00000 5.00000 print,h ; 1 20 208 1308 3442 3469 1331 208 13 ; 0 0 help,where((x ge -5) and (x lt -4)) help,where((x ge -4) and (x lt -3)) osax += 0.5 plot,osax,h,psym=10 plot,indgen(10) plot,findgen(10)^2 print,findgen(10) ; 0.000000 1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 ; 8.00000 9.00000 print,findgen(10)^2 ; 0.000000 1.00000 4.00000 9.00000 16.0000 25.0000 36.0000 49.0000 ; 64.0000 81.0000 x = findgen(10) y = findgen(10)^2 plot,x,y plot,x,y,psym=10 plot,x,y,psym=4 plot,x,y,psym=5 plot,x,y,psym=6 plot,x,y,psym=2 plot,x,y,psym=7 plot,x,y,psym=9 ; % PLOT: PSYM (plotting symbol) out of range plot,x,y,psym=4 plot,x,y,psym=-4 plot,x,y,linestyle=2 plot,x,y,linestyle=3 plot,x,y,linestyle=4 plot,x,y,linestyle=5 plot,x,y,linestyle=5,thick=5 plot,x,y,linestyle=5,thick=5,/isotropic x+=1 y+=1 plot,x,y,/xlog plot,x,y,/ylog plot,x,y,/xlog,/ylog plot,x,y,title='TITLE' plot,x,y,title='TITLE',subtitle='SUBTITLE' plot,x,y,title='TITLE',subtitle='SUBTITLE',xtitle='Osa X' plot,x,y,xtitle='Osa X' plot,x,y,xtitle='Osa X',ytitle='Osa Y' plot,x,y,xtitle='Osa X',ytitle='Osa Y',charsize=2 plot,x,y,xtitle='Osa X',ytitle='Osa Y',charsize=0.5 plot,x,y,xtitle='Osa X',ytitle='Osa Y',xcharsize=2 plot,x,y,xtitle='Osa X',ytitle='Osa Y',xcharsize=2,ymargin=[100,10] plot,x,y,xtitle='Osa X',ytitle='Osa Y',xcharsize=2,ymargin=[10,3] plot,x,y,xtitle='Osa X',ytitle='Osa Y',xcharsize=2,ymargin=[10,3],xmargin=[5,5] plot,x,y,xtitle='Osa X',ytitle='Osa Y',xcharsize=2,ymargin=[10,3],xmargin=[15,15] plot,x,y,xtitle='Osa X',ytitle='Osa Y',position=[100,100,400,400] ; % PLOT: Data coordinate system not established. plot,x,y,xtitle='Osa X',ytitle='Osa Y',position=[100,100,400,400],/device plot,x,y,xtitle='Osa X',ytitle='Osa Y',position=[0.3,0.3,0.7,0.7],/normal plot,x,y plot,x,y,xrange=[2,8] plot,x,y,xrange=[2,80] plot,x,y,xrange=[2,79] plot,x,y,xrange=[2,79],xstyle=1 plot,x,y,xrange=[2,79],xstyle=2 plot,x,y,xrange=[2,79],xstyle=4 plot,x,y,xrange=[2,79],xstyle=8 plot,x,y+100 plot,x,y+100,ystyle=16 plot,x,y+100,/ynozero plot,x,y+100,ystyle=5 plot,x,y plot,x,y,xticks=2 plot,x,y,xticks=2,xminor=1 plot,x,y,xticks=2,xminor=2 plot,x,y plot,x,y,xticklen=0.1 plot,x,y,xticklen=0.5 plot,x,y,xticklen=1 plot,x,y,xticklen=1,yticklen=1 plot,x,y,xticklen=-0.05 plot,x,y,min_value=10 plot,x,y,min_value=10,max_value=70 x = findgen(10000) y = x^2 plot,x,y,psym=3 plot,x,y,psym=3,nsum=100 plot,x,y,psym=3,nsum=100,xrange=[0,100],yrange=[0,1000] plot,x,y,psym=4,nsum=100,xrange=[0,100],yrange=[0,1000] plot,x,y plot,x,y,clip=[4000,4e7,8000,8e7] r = replicate(1.,100) theta = dindgen(100)/99*!dpi/2 plot,r,theta,/polar x = findgen(10) y = x^2 plot,x,y,/nodata oplot,x,y oplot,x,y^23 ; % Program caused arithmetic error: Floating overflow oplot,x,y^2 plot,x,y plot,x,y^2 plot,x,y plot,x,y^2,/noerase plot,x,y plot,x,y^2 plot,x,y,/noerase device,decomposed=1 plot,x,y,color='0000FF'x plot,x,y,color='00FF00'x plot,x,y,/nodata oplot,x,y,color='0000FF'x oplot,x,y^2,color='00FF00'x device,decomposed=0 tvlct,255,0,0,10 plot,x,y,color=10 tvlct,rp,gp,bp,/get help,rp,gp,bp plot,rp tvlct,rp,gp,bp xpalette tvlct,rp,gp,bp,/get xloadct xpalette loadct,39 xpalette plot,x,y,ystyle=4 plot,x,y,ystyle=8 plot,x,y,ystyle=8,ytit='SKALA 1' axis,10,0,/yaxis,yrange=[0,10],ystyle=1,ytit='SKALA 2',color=254,/save plot,findgen(10),color=254 plot,x,y,ystyle=8,ytit='SKALA 1' axis,10,0,/yaxis,yrange=[0,10],ystyle=1,ytit='SKALA 2',color=254,/save oplot,findgen(10),color=254 plot,dindgen(101),dindgen(101)/100*2*!dpi,/polar plot,dindgen(101),dindgen(101)/100*2*!dpi,/polar,xstyle=4,ystyle=4 axis,0,0,/xaxis axis,0,-50,xaxis=0 axis,0,0,yaxis=0 axis,0,0,yaxis=1 plot,x,y plots,-0.1,50,psym=7 plots,4,60,/continue plots,0.1,50,psym=7 plots,4,60,/continue plots,[0.1],[50],psym=7 plots,4,60,/continue plots,[4,5],[60,60] plots,8,80,/continue plots,indgen(256),indgen(256),color=indgen(256) plot,indgen(256),/nodata plots,indgen(256),indgen(256),color=indgen(256) plot,indgen(10) plot,indgen(20),/overplot ; % Keyword OVERPLOT not allowed in call to: PLOT plot,indgen(20),/over_plot ; % Keyword OVER_PLOT not allowed in call to: PLOT