[ncl-talk] Help regarding 'gsLineDashPattern' resource required...

qudsia zafar missquaddus at gmail.com
Mon May 23 01:48:54 MDT 2016


Thanks a lot Alan for modifying the script..Yes i can now see that i was
plotting individual xpt and ypt at every iteration of 'i'. Thanks once
again. It had been a great help....

best regards,
qudsia

On Fri, May 20, 2016 at 8:01 PM, Alan Brammer <abrammer at albany.edu> wrote:

> You were plotting individual segments for each and every time step, you
> inner do loop and use of gsn_polyline() wasn’t quite what you really
> wanted.  Those dashes were actually new lines for each internal do loop.
>
>
> I cleaned up the script and edited your do loop so it’s much simpler and
> uses gsn_add_polyline() instead.
>
> Go through my edited file and make sure you understand what changed and
> why.  I’d suggest running through one iteration of your days loop with a
> print(xpt) to realise why you were getting the plot you were getting.
>
>
> Alan
>
>
>
>
>
>
> ##############################
> Alan Brammer,
> Post-Doc Researcher
>
> Department of Atmospheric and Environmental Sciences,
> University at Albany, State University of New York, Albany, NY, 12222
> ##############################
>
> On 20 May 2016, at 04:39, qudsia zafar <missquaddus at gmail.com> wrote:
>
> Hi,
>
> I am trying to plot 'solid line' trajectories but all im getting is the
> trajectories with 'dotted lines'. i have used the
> resource 'gsLineDashPattern' with 'gsn_polyline' but looks like the
> resource doesn't work.  Attached are the files for the ncl script, the
> trajectories and the graphics over which im working.
>
> Any help in this regard would be appreciated.
>
> cheers,
>
> qudsia
> <test_aod.txt><traj_test.ncl><traj_test.ps>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> 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/20160523/40a6edca/attachment.html 


More information about the ncl-talk mailing list