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

Home » Public Forums » archive » PLOTS versus POLYLINE
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: PLOTS versus POLYLINE [message #82178 is a reply to message #82107] Wed, 21 November 2012 07:15 Go to previous messageGo to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On Wednesday, November 21, 2012 3:22:14 AM UTC-7, alx wrote:
> Le mardi 20 novembre 2012 20:33:14 UTC+1, Brian McNoldy a écrit :
>
>> I have admittedly not tinkered around much yet with IDL's snazzy new graphics capabilities (map, text, polygon, etc), but was going to give it a try and convert a fairly simple program to the new format. In my example, a map is drawn, then various annotations are added, and lots of lines are added to the map (storm tracks). The tracks are in lat/lon coordinates of course, but must be treated carefully (I don't want to just throw the entire vector of coordinates at it at once). Previously, I accomplished this with PLOTS (and /CONTINUE), and looped over the points, treating them as necessary.
>
>>
>
>>
>
>>
>
>> I can't find a function in the new graphics environment to do something similar, but am probably just missing something obvious. POLYLINE seemed like the correct avenue, but it's not cooperating.
>
>>
>
>>
>
>>
>
>> Any guidance would be much appreciated!
>
>
>
> I am not fully experienced in using POLYLINE function. But I guess that you can do what you want by using its GETDATA/SETDATA and CONVERTCOORD methods, as well as the CONNECTIVITY keyword.
>
> Adding, modifying and retrieving graphic components is the power of IDL object graphics.
>
> alx.

Thank you, Alain -- I agree, SetData is the key:

http://www.exelisvis.com/docs/SetData_Method.html

Brian, if you'd be interested, maybe we could work together to make an example that could be included in the Help?

mp

P.S. (and totally OT) Brian, I saw a few of your recent posts on the Capital Weather Gang blog. Cool! My friend Greg Postel used to blog there, but he recently took a job with The Weather Channel.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SMOOTH or TS_SMOOTH
Next Topic: picking an option with radio buttons

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

Current Time: Wed Oct 08 19:04:47 PDT 2025

Total time taken to generate the page: 0.00398 seconds