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

Home » Public Forums » archive » 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
TITLE property using object graphics [message #77251] Sun, 14 August 2011 12:24
Mike Potter is currently offline  Mike Potter
Messages: 19
Registered: August 2008
Junior Member
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
[Message index]
 
Read Message
Previous Topic: Re: Reading 32-bit complex numbers in IDL (16-bit real / 16-bit imaginary)
Next Topic: Big Horn Sheep Count

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

Current Time: Wed Oct 08 19:02:16 PDT 2025

Total time taken to generate the page: 0.00397 seconds