Re: Plotting a track on a map.

From: Sylvia Murphy (murphys AT cgd.ucar.edu)
Date: Mon Aug 02 2004 - 13:56:06 MDT

  • Next message: Ertl, John: "RE: [ncl-talk] Plotting a trajectory across the 0 E/W lon line."

    john,

    all of the items in an ncl plot are like layers in a cake. try setting
    res@mpFillDrawOrder = "PreDraw" to move the map fill to a lower level in
    the cake.

    sylvia

    On Mon, 2 Aug 2004, Ertl, John wrote:

    > All,
    >
    > Thanks for the help on using trajectory. I have something that is
    > very simple but plots great over water. The problem is when the path goes
    > over land the trajectory is "covered" by the land. Looking at the examples
    > I can not see how to get around this.
    >
    > Here is what I am using for the plotting. It looks like the map is being
    > plotted on top of the polyline. I have tried a lot of things but I cannot
    > see how to get the polyline to plot to be visible when over the land. Any
    > ideas?
    >
    > Thanks,
    >
    > traj_res = True
    > traj_res@tiMainString = "Path"
    > traj_res@gsnDraw = False
    > traj_res@gsnFrame = False
    > traj_res@mpMaxLatF = 50
    > traj_res@mpMinLatF = 20
    > traj_res@mpMaxLonF = -115
    > traj_res@mpMinLonF = -150
    >
    > pres = True
    > pres@gsLineThicknessF = 2.0
    >
    > map = gsn_csm_map_ce(wks,traj_res)
    >
    > gsn_polyline(wks,map,lon,lat,pres)
    >
    > draw (map)
    > frame(wks)
    > _______________________________________________
    > ncl-talk mailing list
    > ncl-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
    >

    ******************************************************
    Sylvia Murphy EML: murphys@ucar.edu
    NCAR CGD/CSEG PHN: 303-497-1720
    1850 Table Mesa Drive FAX: 303-497-1333
    Boulder CO 80305

    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 : Mon Aug 02 2004 - 20:05:27 MDT