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

Home » Public Forums » archive » Problem setting up emacs idl-shell
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: problem set [message #10715 is a reply to message #6232] Tue, 13 January 1998 00:00 Go to previous messageGo to previous message
f055 is currently offline  f055
Messages: 29
Registered: April 1995
Junior Member
In article <34BA75F2.41C6@io.harvard.edu>, Martin Schultz <mgs@io.harvard.edu> writes:
-(1) The contours are artificially closed near the boundaries of the
-plot, producing vertical lines which distract the reader,

You could try adding missing=!values.f_nan as an additional parameter in
your call to the trigrid function. It should set the values around the
edges and outside the region of data coverage to the NaN missing code rather
than to the default of zero. They then won't be contoured. In fact, the
lines will stop short of the edges - something that you may not want
either! But, having set them to NaN during the gridding phase, you could
then apply some smoothing to the gridded field (taking into account the
fact that you have some NaN values - e.g. with

smoothfactor=3 ;(the higher the value, the greater the smoothing)
fdsmooth=smooth(fd,smoothfactor,/nan,/edge_truncate)

which will infill some of the missing regions with nearby/adjacent
non-missing values (and will, of course, also smooth the field).

Hope that's of some help

Tim


......................... Dr Tim Osborn . t.osborn@uea.ac.uk
.... ___/.. __ /.. /.. /. Senior Research Associate . phone:01603 592089
... /..... /. /.. /.. /.. Climatic Research Unit . fax: 01603 507784
.. /..... __/.. /.. /... School of Environmental Sciences.
. /..... /\ ... /.. /.... University of East Anglia .
____/.._/..\_..____/..... Norwich NR4 7TJ .
......................... UK .
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Fortran -> IDL translator
Next Topic: How to setup true color PS printing?

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

Current Time: Sat Oct 11 07:46:47 PDT 2025

Total time taken to generate the page: 0.08468 seconds