Minor Tick Marks and Grid Lines

From: Lunde, Bruce N CIV NAVOCEANO, NP1 <bruce.lunde_at_nyahnyahspammersnyahnyah>
Date: Tue, 25 Sep 2007 11:02:39 -0500

Hello,

This script shows two odd behaviours of tick marks
and grid lines:

(1)
The default minor tick marks do not line up with the
major tick marks.

(2)
Between 150W and 175W (and 150E and 175E) an extra grid line appears.

Is there any way to correct these behaviours ?

Thanks, Bruce

load "/apps1/lundeb/D_ncl/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "/apps1/lundeb/D_ncl/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "/apps1/lundeb/D_ncl/lib/ncarg/nclscripts/csm/contributed.ncl"

dblquote = integertochar(34) ;.. Decimal 34 is double quote in ASCII
table

begin
  area = "global"
  wks = gsn_open_wks("x11","Regional_Plot")
  res = True
  res_at_gsnFrame = False
  res_at_gsnDraw = False
  res_at_gsnMaximize = True

  res_at_mpDataBaseVersion = "Ncarg4_1"
  res_at_mpOutlineOn = True
  res_at_mpOutlineBoundarySets = "NoBoundaries"
  res_at_mpOutlineSpecifiers = "Land"

  res_at_tiMainString = "Globe"
  res_at_tiMainString = "BUG: Gridlines and Tickmarks"
  res_at_mpGridSpacingF = 25.0
  res_at_mpGridAndLimbOn = True
  res_at_mpGridLineDashPattern = 2
  res_at_gsnMajorLatSpacing = res_at_mpGridSpacingF
  res_at_gsnMajorLonSpacing = res_at_gsnMajorLatSpacing

  plot = gsn_csm_map_ce(wks,res)

  draw(plot)
  frame(wks)
end

=====
Bruce Lunde
Bruce.Lunde_at_navy.mil
228-688-5843
Code NP1
Naval Oceanographic Office
Stennis Space Center, MS
=====
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 25 2007 - 10:02:39 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 26 2007 - 10:02:41 MDT