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

Home » Public Forums » archive » Re: disappearing levels in CONTOUR
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
Re: disappearing levels in CONTOUR [message #7415] Tue, 12 November 1996 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mewlissa Nischan <nischan@ll.mit.edu> writes:

> I am having a problem with IDL's contour function. The data that I'm
> contouring has latitude and longitude as its coordinates, and I
> overplot that onto a US map using the map_set function. The problem
> is: the data only covers a 5x10 deg square. when I use map_set with
> the lat. and long. limits set to show the whole country, the data
> contours fine (I'm using filled contours), but when I change the
> map_set limits to only plot the lat. and long. that my data covers, not
> all of the levels are being "filled in" with color.

Have you tried using the CELL_FILL keyword instead of the FILL keyword?
This seems to give me better performance when I zoom into my data
as you describe.

David

*************************************************
* David Fanning, Ph.D.
* 2642 Bradbury Court, Fort Collins, CO 80521
* Phone: 970-221-0438 Fax: 970-221-4762
* E-Mail: davidf@dfanning.com
*
* Sometimes I go about pitying myself, and all along my
* soul is being blown by great winds across the sky.
* -- Ojibway saying
************************************************
Re: disappearing levels in CONTOUR [message #7420 is a reply to message #7415] Tue, 12 November 1996 00:00 Go to previous message
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
> Hello, All
>
> I am having a problem with IDL's contour function. The data that I'm
> contouring has latitude and longitude as its coordinates, and I
> overplot that onto a US map using the map_set function. The problem
> is: the data only covers a 5x10 deg square. when I use map_set with
> the lat. and long. limits set to show the whole country, the data
> contours fine (I'm using filled contours), but when I change the
> map_set limits to only plot the lat. and long. that my data covers, not
> all of the levels are being "filled in" with color.
>
> I've tried stepping down the limits, and this does not happen until I am close
> to the limits of my data. I also tried "padding" the data on all sides with
> zeros, but that didn't help either. Does anyone know what's causing this?
> I'm fairly new to IDL, and don't know what else to try.
>
> Thanks,
> Melissa
> nischan@ll.mit.edu


Some sample code would help me understand your problem a little better, but
let me suggest using...

contour, data, x, y, /cell_fill,... (along with other keywords)

every time you need to color fill the contours!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: [Q] removing undefined variables automatically/rename
Next Topic: Re: converting a gif file to a postscipt file

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

Current Time: Wed Oct 08 19:51:21 PDT 2025

Total time taken to generate the page: 0.00577 seconds