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 #81400 is a reply to message #81311] Fri, 07 September 2012 12:40 Go to previous messageGo to previous message
sivan is currently offline  sivan
Messages: 13
Registered: August 2012
Junior Member
On Friday, September 7, 2012 5:06:48 PM UTC+3, Craig Markwardt wrote:
> On Friday, September 7, 2012 3:17:58 AM UTC-4, sivan wrote:
>
>> On Thursday, September 6, 2012 10:41:22 PM UTC+3, Craig Markwardt wrote:
>
> ...
>
>>
>
>>> The points are equally spaced in path length, where path length between data values is defined by the pythagorean theorem. It's doing what you asked it to do. But the pythagorean theorem doesn't really make sense when X is tempoerature and Y is log_g, does it?
>
>>
>
>>>
>
>>
>
>>>
>
>>
>
>>>
>
>>
>
>>> 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.
>
> ...
>
>>
>
>>
>
>> by the way, i visited your homepage and found out that you were a PhD student of Hakkı Ögelman. He was one of the most precious professors in my country, Turkey.
>
>
>
> Thanks for your kind words.
>
>
>
>> whatever, as you mentioned above, pythagorean theorem doesn't make sense.
>
>>
>
>> do you have any idea how to do what i wanted?
>
>
>
> Yes. I described it above. "If you want equidistant points in plot space..."
>
>
>
> CM

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?

thanks in advice,

sivan.
[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: Sat Oct 11 00:12:30 PDT 2025

Total time taken to generate the page: 0.24356 seconds