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

Home » Public Forums » archive » MAP_SET annoyances
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
MAP_SET annoyances [message #12824] Tue, 08 September 1998 00:00
bowman is currently offline  bowman
Messages: 121
Registered: September 1991
Senior Member
Annoyance #1:

If I do:

WINDOW, XSIZE = 400, YSIZE = 400
MAP_SET, 90, 0, -90, /AZIMUTHAL, LIMIT = [0, 0, 90, 360], /ISOTROPIC, $
/GRID, GLINESTYLE = 0L, LATDEL=30, LONDEL=90, /CONTINENTS

I get a polar-equidistant plot of the northern hemisphere. It has the
annoying rectangular border, which is supposed to be 1% larger than the
map. In this case, however, there is a small space between the map and
the border on the left and right sides, but the top and bottom edges of
the map are flush with the border. (So is it isotropic or not?)

Anyway, if I turn off the border with:

MAP_SET, 90, 0, -90, /AZIMUTHAL, LIMIT = [0, 0, 90, 360], /ISOTROPIC, $
/GRID, GLINESTYLE = 0L, LATDEL=30, LONDEL=90, /CONTINENTS, /NOBORDER

The map gets a little bit larger (as expected), but now a few lines of
pixels at the top and bottom of the map are cut off!

Anyone know why it does this or how to fix it?

------------------------------
Annoyance #2:

I would like to have the title and outermost latitude ring of the map be
black, while the interior latitude and longitude lines are, say, gray. So
I try:

MAP_SET, 90, 0, -90, /AZIMUTHAL, LIMIT = [ 0, 0, 90, 360], /ISOTROPIC, $
TITLE = title
MAP_CONTINENTS, COLOR = 64
MAP_GRID, GLINESTYLE=0, LATDEL=30, LONDEL= 90, COLOR = 64 ;Draw gray grid
MAP_GRID, GLINESTYLE=0, LATDEL=90, LONDEL=360 ;Draw black grid

But MAP_GRID insists on drawing at least one longitude line, in this case
along the Greenwich meridian.

Anyone know how I can turn that off?


------------------------------
Annoyance #3:

If I make a simple global cylindrical-equidistant map:

MAP_SET, 0, 0, /CYLINDRICAL, LIMIT = [-90, -180, 90, 180], /CONTINENTS, $
TITLE = title, /NOBORDER
MAP_GRID, GLINESTYLE=0, LONDEL=90, LATS=[-89.99, -60, -30, 0, 30, 60, 89.99]

The rightmost meridian (along the dateline), and sometimes the leftmost
meridian, are not straight lines!

Ken Bowman

--
Dr. Kenneth P. Bowman, Professor 409-862-4060
Department of Meteorology 409-862-4466 fax
Texas A&M University bowmanATcsrp.tamu.edu
College Station, TX 77843-3150 Replace AT with @
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: MAP_SET annoyances
Next Topic: Why not use free code?

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

Current Time: Sat Oct 11 10:34:14 PDT 2025

Total time taken to generate the page: 2.23952 seconds