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

Home » Public Forums » archive » polyfill on a map
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
polyfill on a map [message #17386] Wed, 13 October 1999 00:00
Harald Frey is currently offline  Harald Frey
Messages: 41
Registered: March 1997
Member
I found some strange behavior of the polyfill on a map. I run
{ sparc sunos unix 5.1 Apr 13 1998}

I want to colorize one half of the globe. Try this

map_set,70.,210.,0.,/satellite,sat_p=[3.6,0.,-100.],/grid,/i sotrop,/horizon,
$ /noborder,/whole,/conti
polyfill,[fltarr(91)+120,fltarr(91)+120+180],[findgen(91)*2. -90,90.-findgen(91)*2],$

color=50

and there are some small regions close to the horizon without colored
pixels. But it gets even better if you change the latitude

map_set,88.,210.,0.,/satellite,sat_p=[3.6,0.,-100.],/grid,/i sotrop,/horizon,
$ /noborder,/whole,/conti
polyfill,[fltarr(91)+120,fltarr(91)+120+180],[findgen(91)*2. -90,90.-findgen(91)*2],$

color=50

and you get just a colored stripe.

And how can I tell IDL to fill the "other side", in this case the right
part of the globe?

Thanks,
Harald

=========================================================
Harald U. Frey
Space Sciences Lab phone: 510-643-3323
University of California fax: 510-643-2624
Berkeley, CA 94720-7450 email: hfrey@ssl.berkeley.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: reading windows avi-fils
Next Topic: Re: How to traverse/inquire a class object structure in IDL?

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

Current Time: Wed Oct 08 15:49:21 PDT 2025

Total time taken to generate the page: 0.00488 seconds