Re: IDLgrText [message #35721] |
Fri, 11 July 2003 15:01 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Hadfield writes:
> It should be a warning to all of us as to what tennis, kids and marriage can
> do to you. Though not necessarily in that order.
It's the tennis that takes it out of you. I have
been serving another six week sentence for a sore
elbow, while my teammates have been beating everyone in
sight and qualifying for the state tournament later this
summer. Now, they are not sure they need me anymore. :-(
I thought my left-handed game was coming along
nicely until my wife, who plays tennis about
once every three or four years, managed to beat me
on her first try. Which brings up the subject of
marriage...
Cheers,
David
P.S. Let's just say I've just returned from a backpacking
trip with my youngest and I haven't yet decided whether
backpacking and the splendors of the Colorado high
country will be my new area of interest. (As opposed
to, say, object graphics tools.) :-)
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: IDLgrText [message #35722 is a reply to message #35721] |
Fri, 11 July 2003 14:18  |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
"Rick Towler" <rtowler@u.washington.edu> wrote in message
news:bel114$1o32$1@nntp6.u.washington.edu...
>> PS: A few years ago I remember d. fanning as one of the most contributor
>> to this newsgroup. Doesn't he here anymore?
>
> He is still around but I think the years have been hard on him. He talks
> less and less about IDL and he rambles on about tennis, kids, marriage...
> It should be a warning to all of us as to what IDL can do to you :o
It should be a warning to all of us as to what tennis, kids and marriage can
do to you. Though not necessarily in that order.
--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|
Re: IDLgrText [message #35731 is a reply to message #35722] |
Thu, 10 July 2003 17:39  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
"Nando" wrote in message...
>
> I'd like to have a message bar on the top/bottom of the screen accepting
> messages to be presented to the user in different colors according to a
> message severity.
>
> The problem is that I can't obtain the text available in whole graphic
> window, having the message clipped.
First I would suggest setting the /ONGLASS keyword for IDLgrText. From your
description I think this is what you are looking for. Check the docs for
details.
As for sizing the text so it fits on your screen you have a few options.
Setting the font explicitly to a smaller size via the FONT keyword, reducing
the text LOCATIONS Z value thus moving it away from the viewer (depends on
the IDLgrView PROJECTION setting), and adding the text to an instance of
IDLgrModel and then scaling/translating the text into position.
All of these options can be used alone or in combination and will move the
text around on your screen. I would probably put the text in a model then
scale and translate it into place. It might be a little convoluted but it
is easy :)
You may want to consider picking up Ronn Kling's "Power Graphics with IDL"
which is a great introduction to IDL's object graphics. His website is
www.kilvarock.com.
> PS: A few years ago I remember d. fanning as one of the most contributor
to
> this newsgroup. Doesn't he here anymore?
He is still around but I think the years have been hard on him. He talks
less and less about IDL and he rambles on about tennis, kids, marriage...
It should be a warning to all of us as to what IDL can do to you :o
But he still does have a great website wherein you will find many answers to
your object graphics questions. His website is www.dfanning.com.
Good luck!
-Rick
|
|
|