[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

axis



Hi

I have  a small problem using the axis procedure.
I don't know why my third y-axis appears as
log-axis without setting the /ylog keyword.
It probably comes from the /ylog keyword
in the second y-axis.
Is there a clean solution for this problem apart from
switching the code for the 2nd and 3rd axis?

Thank you

Mirko


pro aufloesung
device,decomposed=0
loadct,12

blende=[0.05	,0.1	,0.2	,0.5	,1.0	,2.0 ]
fwhm=  [0.2323	,0.2347	,0.235	,0.244	,0.273	,0.371]
Int=   [15.7	,31.8	,60	,152	,311	,629]
pzu=[13.16,9.74,8.07,7.11,5.99,4.69]



plot,blende,fwhm,xstyle=1,/xlog,color=0,background=255$
,yrange=[0.22,0.38],ystyle=9,position=[0.15,0.15,0.75,0.95],$
ytitle='FWHM',charsize=1.1,xrange=[0.03,3.0],psym=-5,$
xtitle='Detektorblende [mm]' ,yticks=8,yminor=2



;======2. y-axis
axis,yaxis=1,yrange=[10,1000],/save,ystyle=1,/ylog, color=18$
,ytitle='Peakintensität ',charsize=1.1
oplot,blende,int,color=18,psym=-4
print, blende

;==========3. y-axis    log y-axis ???
axis,8,yaxis=1,yrange=[4,14],/save,ystyle=1, color=180$
 ,ytitle='Peak/Untergrund ',charsize=1.1
oplot,blende,pzu,color=180,psym=-5

end


Sent via Deja.com http://www.deja.com/
Before you buy.