Re: Simple question on tickname [message #2113] |
Wed, 01 June 1994 23:13  |
stl
Messages: 70 Registered: February 1994
|
Member |
|
|
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)
|
|
|
Re: Simple question on tickname [message #2169 is a reply to message #2113] |
Sat, 04 June 1994 12:21  |
meyers
Messages: 5 Registered: June 1993
|
Junior Member |
|
|
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
|
|
|
Re: Simple question on tickname [message #2185 is a reply to message #2113] |
Fri, 03 June 1994 06:47  |
landers
Messages: 45 Registered: May 1993
|
Member |
|
|
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
|
|
|