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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: TITLE property using object graphics [message #77233] Mon, 15 August 2011 10:35
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
Re: TITLE property using object graphics [message #77236 is a reply to message #77233] Mon, 15 August 2011 08:32 Go to previous message
Mike Potter is currently offline  Mike Potter
Messages: 19
Registered: August 2008
Junior Member
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
Re: TITLE property using object graphics [message #77239 is a reply to message #77236] Mon, 15 August 2011 05:51 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
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
Re: TITLE property using object graphics [message #77243 is a reply to message #77239] Sun, 14 August 2011 13:31 Go to previous message
Mike Potter is currently offline  Mike Potter
Messages: 19
Registered: August 2008
Junior Member
On Aug 14, 4:14 pm, David Fanning <n...@idlcoyote.com> wrote:
> Mike Potter writes:
>> BTW - using IDL 8.1 & Windows XP
>
> Seems to work OK with IDL 8.1 and Windows 7. I guess
> the Coyote Graphics routines will work anywhere, probably:
>
>    theory = SIN(2.0*FINDGEN(200)*!PI/25.0)*EXP(-0.02*FINDGEN(200))
>    p1 = cgsPlot(theory, title="Test")
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")


Thanks David - indeed it does work with cgsPlot. It seems likely a
bug in IDL 8.1 since it seems to work just fine in IDL 8.0

Mike Potter
Re: TITLE property using object graphics [message #77246 is a reply to message #77243] Sun, 14 August 2011 13:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mike Potter writes:

> BTW - using IDL 8.1 & Windows XP

Seems to work OK with IDL 8.1 and Windows 7. I guess
the Coyote Graphics routines will work anywhere, probably:

theory = SIN(2.0*FINDGEN(200)*!PI/25.0)*EXP(-0.02*FINDGEN(200))
p1 = cgsPlot(theory, title="Test")

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: TITLE property using object graphics [message #77247 is a reply to message #77246] Sun, 14 August 2011 12:27 Go to previous message
Mike Potter is currently offline  Mike Potter
Messages: 19
Registered: August 2008
Junior Member
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
Re: TITLE property using object graphics [message #77248 is a reply to message #77247] Sun, 14 August 2011 12:47 Go to previous message
Mike Potter is currently offline  Mike Potter
Messages: 19
Registered: August 2008
Junior Member
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

BTW - using IDL 8.1 & Windows XP
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 15:12:03 PDT 2025

Total time taken to generate the page: 0.00610 seconds