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

Home » Public Forums » archive » TriGrid?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
TriGrid? [message #18459] Fri, 07 January 2000 00:00 Go to next message
John D. Sample is currently offline  John D. Sample
Messages: 11
Registered: August 1999
Junior Member
This built-in procedure seems to have a bug when regularly gridded data
is passed in.

I'm trying to create a generic graphing routine which accepts regularly, or
irregularly-gridded data, so I run every thing through TRIANGULATE followed
by TRIGRID, and frequently find the x or y values set to zero on the borders
of the plot region. Randomly changing NX or NY seems to be a manual
work-around.

Any similar experiences or suggestions?

Chip Sample
Re: TriGrid? [message #18625 is a reply to message #18459] Sun, 16 January 2000 00:00 Go to previous messageGo to next message
marc schellens[2] is currently offline  marc schellens[2]
Messages: 1
Registered: January 2000
Junior Member
"John D. Sample" wrote:
>
> This built-in procedure seems to have a bug when regularly gridded data
> is passed in.
>
> I'm trying to create a generic graphing routine which accepts regularly, or
> irregularly-gridded data, so I run every thing through TRIANGULATE followed
> by TRIGRID, and frequently find the x or y values set to zero on the borders
> of the plot region. Randomly changing NX or NY seems to be a manual
> work-around.
>
> Any similar experiences or suggestions?
>
> Chip Sample

I made similar experience, but in my case the triangulate routine works
wrong. And as only solution I add some random values to x and y
parameters.
With some data the triangulate routine even stops the whole idl session
(no Ctrl-C).

greetings,
:-) marc
Re: TriGrid? [message #18670 is a reply to message #18459] Thu, 20 January 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Chip (sample@idcomm.com) writes:

> Eventually I learned that TRIGRID accepts irregularly-gridded data
> but assumes the data is spread over a rectangular domain. My data
> was actually on a regular grid but limited to a quarter circle. TRIANGULATE
> and TRIGRID don't work in this case.

I'm not from Missouri, but I would have to see this to
believe it. :-)

I'm certain you end up with a rectangular array, but
I can't see why it wouldn't handle data in a quarter
circle.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: TriGrid? [message #18672 is a reply to message #18459] Thu, 20 January 2000 00:00 Go to previous message
John D. Sample is currently offline  John D. Sample
Messages: 11
Registered: August 1999
Junior Member
Eventually I learned that TRIGRID accepts irregularly-gridded data
but assumes the data is spread over a rectangular domain. My data
was actually on a regular grid but limited to a quarter circle. TRIANGULATE
and TRIGRID don't work in this case.

Chip

----------
In article <3881CF06.BC372778@hotmail.com>, marc schellens
<marc@postman.riken.go.jp> wrote:


> "John D. Sample" wrote:
>>
>> This built-in procedure seems to have a bug when regularly gridded data
>> is passed in.
>>
>> I'm trying to create a generic graphing routine which accepts regularly, or
>> irregularly-gridded data, so I run every thing through TRIANGULATE followed
>> by TRIGRID, and frequently find the x or y values set to zero on the borders
>> of the plot region. Randomly changing NX or NY seems to be a manual
>> work-around.
>>
>> Any similar experiences or suggestions?
>>
>> Chip Sample
>
> I made similar experience, but in my case the triangulate routine works
> wrong. And as only solution I add some random values to x and y
> parameters.
> With some data the triangulate routine even stops the whole idl session
> (no Ctrl-C).
>
> greetings,
> :-) marc
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 5.3 on HP-UX 10.20
Next Topic: Re: DOS print command

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

Current Time: Wed Oct 08 19:29:02 PDT 2025

Total time taken to generate the page: 0.00697 seconds