Re: TITLE property using object graphics [message #77233] |
Mon, 15 August 2011 10:35 |
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  |
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  |
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  |
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  |
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  |
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  |
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
|
|
|