Home »
Public Forums »
archive »
TITLE property using object graphics
| TITLE property using object graphics [message #77251] |
Sun, 14 August 2011 12:24 |
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
|
|
|
|
Current Time: Tue Dec 02 10:24:50 PST 2025
Total time taken to generate the page: 0.32112 seconds