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 #82186 is a reply to message #82107] Wed, 21 November 2012 02:22 Go to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
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.
[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: Sun Oct 12 07:35:38 PDT 2025

Total time taken to generate the page: 1.01549 seconds