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

Home » Public Forums » archive » Supressing 0 in axis (icontour)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Supressing 0 in axis (icontour) [message #37839] Fri, 30 January 2004 09:13
Olaf Stetzer is currently offline  Olaf Stetzer
Messages: 39
Registered: September 2001
Member
Hello,

after playing around with itools I come
closer to the result I expect. Since
my data is better displayed with the y-axis
being logarythmic and icontour does not support
this I did this on my own:
Recalculating the axis data and generating some
useful tickvalues and -labels. But icontour is so
"smart" to add the tick mark at 0 (log 1) by its
own :-(

Is there one way tu supress this behaviour or
perhaps another way to get a log y-axis?
Another point: There is a property called
"Automatic [XY] axis range updates". Can I set
this to "false" from the program? It seems that
there is no keyword for that!

Thanks,

Olaf

Here is the code I use:
-------------------------
loadct,4,ncolors=256
rgb=intarr(3,256)
tvlct,rgb,/get
data_max=max(dN)
channels_log=alog(channels)

iContour, transpose(dN), time, channels_log, $
identifier=ID, $
xtitle='Me�zeit [s]', $
ytitle='Durchmesser [�m]', $
ytickvalues=alog([0.1,0.2,0.5,1,2,5,10]), $
ytickname=['0.1','0.2','0.5','1','2','5','10'], $
yminor=1, $
title=('PSC8 Experiment Nr. ' + strtrim(aktivierung,2)), $
rgb_table=rgb, $
n_levels=40, $
xrange=[0,max(time)], $
yrange=alog([0.1,10]), $
/fill
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Is there a way to detect if a program is running under IDL or the Virtual Machine?
Next Topic: ENVI/IDL on Linux Cluster

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

Current Time: Wed Oct 08 19:10:24 PDT 2025

Total time taken to generate the page: 0.00517 seconds