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

Home » Public Forums » archive » using LOCATIONS keyword of IDLgrText?
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
using LOCATIONS keyword of IDLgrText? [message #52404] Fri, 02 February 2007 06:36
Laurens is currently offline  Laurens
Messages: 41
Registered: May 2006
Member
Hi, once again,

I'm starting to feel sorry for myself for not being able to find what I
want to know; I kinda kn�w that the solution should be somewhere in the
groups and somehow I think it could be constructed by all the
J.D.-Smith-bracket-fun on David's site, but I can't make anything out of
it (call me stupid lol).

Problem: I'm having an IDLgrText-object. I need multiple texts displayed
on a curve, so I already have an array of strings for that (keyword
STRINGS). I'm also creating an array for the positions for each string:

newPos = [x,y,z]
IF (n_elements(posArray) EQ 0) THEN $
posArray = [newPos] $
ELSE $
posArray = [posArray,[newPos]]

IDLgrText->SetProperty, POSITIONS=posArray

Somehow though, that doesn't work; the first text is displayed correctly
but the next ones go to 0,0,0 which tells me that IDL doesn't like the
positions somehow.

Is my expansion of the Array faulty or does the POSITIONS keyword just
not work :-) (one can always hope its not his own fault, right :P)

I'm thankful once again :-)


Cheers, Laurens
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Removing fields from a structure
Next Topic: Re: TextWrangler/BBEdit IDL Language module

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

Current Time: Wed Oct 08 17:37:38 PDT 2025

Total time taken to generate the page: 0.00544 seconds