<div dir="ltr">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....<div><br></div><div>best regards,</div><div>qudsia </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 8:01 PM, Alan Brammer <span dir="ltr"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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. <div><br></div><div><br></div><div>I cleaned up the script and edited your do loop so it’s much simpler and uses gsn_add_polyline() instead. </div><div><br></div><div>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. </div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Alan</div><div><br></div><div></div></font></span></div><br><div style="word-wrap:break-word"><div></div><div><br></div><div><br></div><div><br></div><div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="word-wrap:break-word">##############################<br>Alan Brammer,<div>Post-Doc Researcher</div><div><br></div><div>Department of Atmospheric and Environmental Sciences,<br>University at Albany, State University of New York, Albany, NY, 12222<div>##############################</div></div></div></span></div></div>
</div>
<br><div><blockquote type="cite"><div>On 20 May 2016, at 04:39, qudsia zafar <<a href="mailto:missquaddus@gmail.com" target="_blank">missquaddus@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi,<div><br></div><div>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. </div><div><br></div><div>Any help in this regard would be appreciated.<br></div><div><br></div><div>cheers,</div><div><br></div><div>qudsia</div></div>
<span><test_aod.txt></span><span><traj_test.ncl></span><span><<a href="http://traj_test.ps" target="_blank">traj_test.ps</a>></span>_______________________________________________<br>ncl-talk mailing list<br><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div></blockquote></div><br></div></div><br></blockquote></div><br></div>