[ncl-talk] plotgrids.ncl

Muhammad Omer Mughal m.mughal1 at postgrad.curtin.edu.au
Sat Nov 8 03:40:52 MST 2014


Hi Mary

The location is visible in the plot as a point .Now I want to add the name of the city as text in the plot .I do see that the resource "txres" is mentioned in the code but when I try to add it using the tutorial "Text (adding to a plot) ,the script runs fine but I dont see the text . Can you kindly help me with it ?

Regards
Muhammad Omer Mughal
Department of Applied Physics

________________________________
From: Mary Haley <haley at ucar.edu>
Sent: Friday, 7 November 2014 2:55 PM
To: Muhammad Omer Mughal
Cc: ncl-talk at ucar.edu
Subject: Re: [ncl-talk] plotgrids.ncl

Muhammad,

Many people do not know what "plotgrids.ncl" is.  I assume you are talking about the plotgrids.ncl associated with this page:

http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/EXPERIMENTAL/wrf_show_wps_som_namelist.htm

Did you actually look at this code?  At the end of this script there are some commented lines, showing you how to add a white dot at the location of Washington D.C.:


; Below is an example of adding a white dot over the DC location.

  ;pmres = True
  ;pmres at gsMarkerColor = "White"
  ;pmres at gsMarkerIndex = 16
  ;pmres at gsMarkerSizeF = 0.01
  ;gsn_polymarker(wks,mp,-77.26,38.56,pmres)

You should be able to uncomment this code and change the -77.26 (longitude) and 38.56 (latitude) to whatever values you want.


--Mary

On Fri, Nov 7, 2014 at 3:05 AM, Muhammad Omer Mughal <m.mughal1 at postgrad.curtin.edu.au<mailto:m.mughal1 at postgrad.curtin.edu.au>> wrote:

Hi all


How can I add a city location to plotgrids.ncl


Regards
Muhammad Omer Mughal
Department of Applied Physics


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141108/7a06d334/attachment.html 


More information about the ncl-talk mailing list