[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: axis
- Subject: Re: axis
- From: Martin Schultz <martin.schultz(at)dkrz.de>
- Date: Tue, 05 Sep 2000 16:30:22 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: Max-Planck-Institut fuer Meteorologie, Hamburg
- References: <8p2na0$b92$1@nnrp1.deja.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:21276
loeh@my-deja.com wrote:
>
Oh, this is a loooooong-standing "feature" of IDL (David, how
could you forget?). Just set !y.type to 0 before the 3rd axis
command, and you will get a linear axis.
Cheers,
Martin
> 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 ???
!Y.Type = 0 ;; <=============== H E R E
======================
> 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.
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie
[[
[[ Bundesstr. 55, 20146 Hamburg
[[
[[ phone: +49 40 41173-308
[[
[[ fax: +49 40 41173-298
[[
[[ martin.schultz@dkrz.de
[[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[