TriGrid? [message #18459] |
Fri, 07 January 2000 00:00  |
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 #18670 is a reply to message #18459] |
Thu, 20 January 2000 00:00  |
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  |
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
|
|
|