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

Home » Public Forums » archive » Attempt to call undefined method: 'IDLITSYMBOL::IS3D'
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: Attempt to call undefined method: 'IDLITSYMBOL::IS3D' [message #82489 is a reply to message #82400] Wed, 12 December 2012 14:25 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Alrighty, I've figured out the cause.

After the main plots (looping over some data) I plot simple grid lines
on teh first loop iteration (because the FG ticklen/gridstyle is
hopelessly busted in v8.2):

-----%<-----

...looping over "i"...

afn_plotref[2,i] = PLOT(f_afn.x, f_afn.y, $
TITLE='Band '+STRTRIM(band,2)+' CrIS Apodisation Function @ +Xmax', $
XTITLE='Optical delay (cm)', $
XRANGE=[xmax-delta,xmax+delta], $
YRANGE=[-0.01,0.1], $
COLOR=color, $
SYMBOL=symbol, $
LAYOUT=[1,3,3], $
OVERPLOT=overplot[2], $
/CURRENT)
IF ( i EQ 0 ) THEN BEGIN
pm = PLOT([xmax,xmax],afn_plotref[2,i].Yrange, $
LINESTYLE=1, $
OVERPLOT=afn_plotref[2,i], $
/CURRENT)
pm.Order, /SEND_TO_BACK
pz = PLOT(afn_plotref[2,i].Xrange,[0,0], $
LINESTYLE=1, $
OVERPLOT=afn_plotref[2,i], $
/CURRENT)
pz.Order, /SEND_TO_BACK
ENDIF

-----%<-----

If I comment out *both* the
pm.Order, /SEND_TO_BACK
and
pz.Order, /SEND_TO_BACK
statements, everything works.

Otherwise, I get the
Attempt to call undefined method: 'IDLITSYMBOL::IS3D'
error when I invoke the SAVE method on the graphic.

This little quest (and the idiosyncracies of FG in general) reminds me
of a question I had in my final Physics exam back in high school. I
don't remember the actual question, just our post-exam reactions to it
and our subsequent morphing of the problem to ridiculous proportions. It
sorta went like:

Facing due north, you start a ball rolling down a plane
inclined at 10deg and of length 10m. A westerly wind is
blowing at 2.5ms^-1. Using g=10.0ms^-2, what is the orbital
velocity of Jupiter?

Show all workings.

How are these things at all related?

:o)

cheers,

paulv



On 12/12/12 12:06, Paul van Delst wrote:
> Hello,
>
> I'm creating a graphics window and storing the id in a hash like so:
>
> gref[tag] = WINDOW( WINDOW_TITLE=tag, $
> DIMENSIONS = [600,800] )
>
> I then do a bunch of plotting and legend-ing in that window using the
> /CURRENT keyword.
>
> The "gref" variable is passed out of my procedure so that, if I decide
> to modify the plots (e.g. zoom, add arrows, text, whatever)
> interactively, I can still save it. I've done this in the past and it
> has always worked fine.
>
> Now when I try to do it I get an error:
>
> IDL> gref['afn'].save,'afn.png',height=800
> % SAVE: Attempt to call undefined method: 'IDLITSYMBOL::IS3D'.
> % Execution halted at: $MAIN$
>
> Has anyone seen this error before? Or explain it to me? I can find
> anything in the IDL help about either the object (IDLITSYMBOL) or the
> method (IS3D)
>
> Thanks for any info.
>
> cheers,
>
> paulv
>
>
> p.s. IDL> print, !version
> { x86 linux unix linux 8.2 Apr 10 2012 32 64}
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Select values from one array that match multiple values from an other array
Next Topic: IDL rectangular sparse matrices

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

Current Time: Wed Oct 08 20:05:20 PDT 2025

Total time taken to generate the page: 0.00589 seconds