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

Home » Public Forums » archive » Using non-default symbols in IPLOT
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: Using non-default symbols in IPLOT [message #75077 is a reply to message #75014] Tue, 15 February 2011 12:43 Go to previous messageGo to previous message
fgg is currently offline  fgg
Messages: 67
Registered: April 2010
Member
One last question and I promise I'm done with this topic! :)

I actually have a vector of strings, say:

mysymbol=obj_new('idlgrtext',
['A','B','C',...],alignment=0.5,vertical_alignment=0.5,color
=[255,0,0],
font=obj_new('idlgrfont','courier',size=1000))

and I'd like to plot the 1st string as the symbol for the 1st point,
the 2nd string as the symbol for the 2nd point, and so on...

Do I have to create a loop for that? Or there is a simpler way?

If I do:

plot, x, y, sym_object=mysymbol, /scatter

with x and y having the same size as the vector of strings in
mysymbol, IDL plots all strings, superimposed, for every (x,y) pair.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: possible bug with center keyword option for FFT
Next Topic: reprojection

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

Current Time: Sat Oct 11 12:32:38 PDT 2025

Total time taken to generate the page: 0.55986 seconds