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

Home » Public Forums » archive » Re: correct way to use INTERPOLATE function
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: correct way to use INTERPOLATE function [message #55978 is a reply to message #55977] Fri, 21 September 2007 12:51 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ryan. writes:

> I'm aware of how to set it. I guess my comment wasn't too clear. I
> meant to say that I get the same result whether I use the INTERP
> keyword or not.
>
> Does your statement work as it is?

No, this is pseudocode. :-)

Try this:

s = [10.3, 9.6, 9.2, 8.5, 7.7, 6.9, 5.8, 5.4, 4.7, 4.1]
l = Findgen(100) * 0.5
P.MULTI=[0,1,2]
Window
Plot, Congrid(s, N_Elements(l))
Plot, Congrid(s, N_Elements(l), /INTERP)
!P.MULTI=0

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: News server
Next Topic: 'object' in IDL terminalogy

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

Current Time: Sat Oct 11 00:52:12 PDT 2025

Total time taken to generate the page: 0.80296 seconds