comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » axis labels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: axis [message #21578 is a reply to message #21576] Tue, 05 September 2000 07:30 Go to previous messageGo to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
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=
> fwhm=
> Int=
> pzu=
>
> plot,blende,fwhm,xstyle=1,/xlog,color=0,background=255$
> ,yrange=,ystyle=9,position=,$
> ytitle='FWHM',charsize=1.1,xrange=,psym=-5,$
> xtitle='Detektorblende ' ,yticks=8,yminor=2
>
> ;======2. y-axis
> axis,yaxis=1,yrange=,/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=,/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
[[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: String/integer use in variable definitions
Next Topic: Re: String/integer use in variable definitions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 11:11:20 PDT 2025

Total time taken to generate the page: 1.59862 seconds