Re: tick-marks for native projection

From: Sylvia Murphy (murphys AT XXXXXX)
Date: Fri May 09 2003 - 09:27:04 MDT

  • Next message: Amit Kulkarni: "ttest function documentation"

    heiko,

    you can do this, but you need to do it explicitly.
    ;================================================;
    ; mptick_6.ncl
    ;================================================;
    load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
    load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
    ; ================================================;
    begin
      wks = gsn_open_wks("ps","mptick") ; open a ps file

      res = True
      res@tmXBMode = "Explicit"
      res@tmXBValues = (/-180, -90, 0, 90, 180/)
      res@tmXBLabels = (/"180","90W","EQ","90E","180"/)
      plot = gsn_csm_map_ce(wks,False) ; draw global map
    end

    in this case we tried changing the 0 label to "EQ", but in your case
    you can put in grid cell numbers. It requires that you
    know the lat/lon "Value" of each of the grid cell numbers that
    you want.

    sm

    ******************************************************
    Sylvia Murphy EML: murphys@ucar.edu
    NCAR CGD/CAS PHN: 303-497-1720
    3080 Center Green Drive FAX: 303-497-1333
    Boulder CO 80301

    WEB: http://www.cgd.ucar.edu/csm/support/
         http://www.cgd.ucar.edu/csm/support/CSM_Graphics/
    ******************************************************

    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Fri May 09 2003 - 10:23:54 MDT