Dear NCL users,
I'm trying to plot two maps. I turn off X bottom and Y left axes in
the first map and turn them on in the second. When I use
pmTickMarkDisplayMode = "Always"
I'm getting wrong tickmarks in the second plot. In some latitudes and
longitudes there are two labels, but a little displaced each other.
Please, see the script below:
wks = gsn_open_wks( "ps",
"mapaAmericaSul_Brazil" )
geral = True
geral_at_gsnMaximize = True
geral_at_mpFillOn = True
geral_at_mpMonoFillColor = True
geral_at_mpFillColor = -1 ; transparente, poupa espaço
geral_at_mpDataSetName = "Earth..4"
geral_at_mpDataBaseVersion = "MediumRes"
geral_at_mpOutlineOn = True
geral_at_mpOutlineBoundarySets = "National"
geral_at_mpOutlineSpecifiers = (/"Brazil:states"/)
geral_at_mpFillAreaSpecifiers = (/"Brazil:Rio Grande do Sul", \
"Brazil:Santa Catarina", \
"Brazil:Parana", \
"Brazil:Sao Paulo", \
"Brazil:Rio de Janeiro", \
"Brazil:Minas Gerais", \
"Brazil:Espirito Santo" /)
geral_at_mpSpecifiedFillColors = (/"gray35","gray35","gray35","gray60", \
"gray60","gray60","gray60"/)
geral_at_mpMinLonF = 270.
geral_at_mpMaxLonF = 330.
geral_at_mpMinLatF = -60.
geral_at_mpMaxLatF = 15.
geral_at_pmTickMarkDisplayMode = "Always"
geral_at_tmYLLabelFontHeightF = 0.017
geral_at_tmXBOn = False
geral_at_tmYLOn = False
mapaAS = gsn_csm_map( wks, geral )
; SEGUNDO MAPA, ZOOM SOBRE AS REGIOES SUL E SUDESTE DO BRASIL
geral_at_gsnDraw = False
geral_at_gsnFrame = False
geral_at_mpMinLonF = 301.
geral_at_mpMaxLonF = 322.
geral_at_mpMinLatF = -40.
geral_at_mpMaxLatF = -13.
geral_at_tmXBOn = True
geral_at_tmYLOn = True
mapaSULSUD = gsn_csm_map( wks, geral )
nomeEstados = (/"RS","SC","PR","SP","MG","RJ","ES"/)
localNomesX =
(/-53.5,-50.0,-52.0,-49.0,-44.0,-42.0,-39.5/)
localNomesY =
(/-29.5,-27.5,-25.0,-22.0,-18.0,-23.5,-20.5/)
textoRes = True
textoRes_at_txFontHeightF = 0.02
nomesRegioes = gsn_add_text( wks, mapaSULSUD,
nomeEstados, \
localNomesX, localNomesY, textoRes )
draw(mapaSULSUD)
frame(wks)
I couldn't understand what is happening. I can't see a source for this
error. The second plot is attached.
Best regards,
-- Mateus da Silva Teixeira Meteorologista Instituto de Pesquisas Meteorológicas - IPMet Universidade Estadual Paulista - UNESP Av. Luis Edmundo Carrijo Coube, 14-01 - Cx. Postal 281 - CEP 17033-360 Bauru - SP - Brasil Fone: +55 14 3103-6030 / fax: 3203-3649 Registered Linux User #466740 (http://counter.li.org/)
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.2.0 : Sun Sep 27 2009 - 11:32:26 MDT