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

Home » Public Forums » archive » evenly spaced vector
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: evenly spaced vector [message #81394 is a reply to message #81182] Fri, 07 September 2012 20:40 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Friday, September 7, 2012 3:40:25 PM UTC-4, sivan wrote:
> On Friday, September 7, 2012 5:06:48 PM UTC+3, Craig Markwardt wrote:
...
>>>> If you want equidistantly sampled points in *plot* space, then you need to transform to device coordinates first, then do your arcsampling.
...
>>>> Some warnings. ARCSAMPLE uses SPL_INTERP(), which has some overshoot for rapidly varying functions like yours. You may not want that. Also, you used David's original code which sets the endpoint slopes to AVGSLOPEX and AVGSLOPEY, but that assumes that it's still a closed curve. Yours is not a closed curve. For your open curves, you should revert to natural splines where the slope is not specified at the endpoints.
...
>> Yes. I described it above. "If you want equidistant points in plot space..."
...
> yes. i'd be perfect if i could place equidistant points along the curve (isochrone).
>
> you said that i needed to transform to device coordinates first, then did my arcsampling. it seems a little complicated to me. how can i do it?

Read about the IDL function CONVERT_COORD. You have data in DATA space and want to convert to DEVICE space before arcsampling.
[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
Previous Topic: Re: ArcGIS-like tool dialog box template
Next Topic: Re: Managing several object instances

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

Current Time: Fri Oct 10 23:56:41 PDT 2025

Total time taken to generate the page: 1.28355 seconds