[ncl-talk] Fwd: add maker on a contour figure

Guido Cioni guidocioni at gmail.com
Wed Jul 12 07:29:40 MDT 2017


Joey,
without going into details I may have a solution for your problem. You have to assign every call of gsn_add_polymarker to a unique variable in order to plot all the points. Instead of doing

gsn_add_polymarker(wks,plots(k),lon2,lat2,mkres)

you should do something like this

 marker = gsn_add_polymarker(wks,plots(k),lon2,lat2,mkres)

I also see that you are using an index k for plots which has dimension 1 and then creating a panel with just 1 plot...Is there any specific reason? This may also be the cause :) Try to simplify things. 

Try this before and let the list know whether it helps or not so that we can see whether the error is somewhere else.
Cheers 

> On 12. Jul 2017, at 15:18, Jiaoyan Huang <huangj1311 at gmail.com> wrote:
> 
> <plot_delta_annual_narrow.ncl>


Guido Cioni
http://guidocioni.altervista <http://guidocioni.altervista/>.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170712/052bfc67/attachment.html 


More information about the ncl-talk mailing list