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

Home » Public Forums » archive » Re: TITLE property using object graphics
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: TITLE property using object graphics [message #77233] Mon, 15 August 2011 10:35 Go to previous message
Mike Potter is currently offline  Mike Potter
Messages: 19
Registered: August 2008
Junior Member
On Aug 15, 11:32 am, Mike Potter <m...@orionsound.com> wrote:
> On Aug 15, 8:51 am, Paul van Delst <paul.vande...@noaa.gov> wrote:
>
>
>
>
>
>> Hello,
>
>> IDL> print, !version
>> { x86 linux unix linux 8.1 Mar  9 2011      32      64}
>> IDL> theory = SIN(2.0*FINDGEN(200)*!PI/25.0)*EXP(-0.02*FINDGEN(200))
>> IDL> p1 = plot(theory, title="Test")
>> % Loaded DLM: XML.
>> IDL>
>
>> ...produces the example as expected.
>
>> Does ITTVIS/IDL still support WindowsXP for 8.whatever? There's no useful information on their website (seems you have
>> to login to get the more detailed product info) beyond saying it runs on Microsoft Windows.
>
>> cheers,
>
>> paulv
>
>> Mike Potter wrote:
>>> On Aug 14, 3:24 pm, Mike Potter <m...@orionsound.com> wrote:
>>>> I'm guessing I'm missing something simpe.  Being an old-school IDL
>>>> programmer I've decided to explore a bit of the object graphics
>>>> functions.   I immediately ran into a problem just cutting and pasting
>>>> from the help file examples.  Here's an example:
>
>>>> theory = SIN(2.0*FINDGEN(200)*!PI/25.0)*EXP(-0.02*FINDGEN(200))
>
>>>> p1 = plot(theory, title="Test")
>
>>>> When doing so I get an error message: "PLOT: Graphics window does not
>>>> exist".
>
>>>> If I just do the plot with no title it works fine.  If I then try:
>
>>>> p1.TITLE = "Test"
>
>>>> I again get the same error message.  If I "Print, P1" it gives me a
>>>> list of the properties; TITLE = <NullObject>
>
>>>> So what's up?
>
>>>> Thanks!
>>>> Mike Potter
>
>>> Additional info:
>
>>> IDL 8.1 - Windows XP- Hide quoted text -
>
>> - Show quoted text -
>
> Hi Paul - yes, 8.1 is supported for Windows XP SP2 and later.  I'm all
> up-to-date with updateds, etc.
>
> Mike- Hide quoted text -
>
> - Show quoted text -

Well, I just tried this again today and it works as advertized. I
have no idea what I did to change it's behavior. The only thing I'd
done was to run the two lines of code through IDL 8.0 - logged out
last night and back in this morning, fired up 8.1 and it worked.
Perhaps a variant of "plot" is hiding in some code I ran the other day
- but IDL's default library is first in my PATH list. Thanks to all
who offered help!

Mike Potter
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Big Horn Sheep Count
Next Topic: Reading 32-bit complex numbers in IDL (16-bit real / 16-bit imaginary)

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

Current Time: Thu Oct 09 06:03:34 PDT 2025

Total time taken to generate the page: 1.84163 seconds