Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
In article <2siekh$dic@mailer.fsu.edu> meyers@lorenz.ocean.fsu.edu (Steve Meyers) writes: > After setting !(xy).tickname=[<my labels>] > how do I free the tickname so the automatic labeling > resumes? > > thanks in advance. > > -Steve Hi, good question! Well I just played with this and got a solution. First, I would suggest saving the value of ![xy]tickname before you set it, and then afterwards restore the value (this way your application wont change the system variable. If you don't care what it was before, then the following seem to work: ![xy].tickname = strarr(30) Seems that a good rule of thumb is to look at the system variables value when you start idl (to get the default settings) -stephen -- Stephen C Strebel / SKI TO DIE stl@maz.sma.ch / and Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT 01 256 93 85 / (and pray for snow)
In article <2sjtasINNjk@i32.sma.ch>, stl@sma.ch (Stephen Strebel) writes: [ snip ] |> Seems that a good rule of thumb is to look at the system variables value |> when you start idl (to get the default settings) I find this useful... In my wavestartup file (I don't know what the corresponding IDL startup file is), I have: SAVE, Filename='/home/Wave/system.vars', /System Then, I have a 'clean.com' script that does (among other things): RESTORE, '/home/Wave/system.vars' This makes a very convenient way of restoring all the system variables. It's a bit overkill to save them every time I start WAVE, but this way it's a no-brainer when WAVE upgrades, and the SAVE file format and system variables change.... ;Dave
In article <1994Jun3.134729.6035@mksol.dseg.ti.com> landers@tsunami.dseg.ti.com (David Landers) writes: > In article <2sjtasINNjk@i32.sma.ch>, stl@sma.ch (Stephen Strebel) writes: > [ snip ] > > |> Seems that a good rule of thumb is to look at the system variables value > |> when you start idl (to get the default settings) > > I find this useful... In my wavestartup file (I don't know what the > corresponding IDL startup file is), I have: > > SAVE, Filename='/home/Wave/system.vars', /System > > Then, I have a 'clean.com' script that does (among other things): > > RESTORE, '/home/Wave/system.vars' > > This makes a very convenient way of restoring all the system variables. It's > a bit overkill to save them every time I start WAVE, but this way it's a > no-brainer when WAVE upgrades, and the SAVE file format and system variables > change.... > > ;Dave Thanks for the idea, gents. -Steve