<div dir="ltr"><span class="gmail-im gmail-HOEnZb"><div><div><div><div><div>Dear Dennis,<br></div>Thank you for your suggestions, but I have little doubt;<span class="gmail-m_-6116265308012608467gmail-im"><br><br> res@sfXArray = x_location_of-each_point ; [*]<br> res@sfYArray = y_location_of-each_point ; [*]<br><br></span></div>these two resources(res@sfXArray, res@sfYArray) should be monotonically increasing or decreasing, where in my case it is not.<br></div>What
is "data" here in plotting the scatter_contour? is it a 2D array of X
and Y values (my X and Y is not any gridded data, it is unstructured
arbitrary data, with almost 40000 data points)?<br><br></div>Regards,<br></div>Ipsita</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 21, 2017 at 9:41 AM, Ipsita Putatunda <span dir="ltr"><<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="im HOEnZb"><div dir="ltr"><div><div><div><div><div>Dear Dennis,<br></div>Thank you for your suggestions, but I have little doubt;<span class="m_-6116265308012608467gmail-im"><br><br> res@sfXArray = x_location_of-each_point ; [*]<br> res@sfYArray = y_location_of-each_point ; [*]<br><br></span></div>these two resources(res@sfXArray, res@sfYArray) should be monotonically increasing or decreasing, where in my case it is not.<br></div>What
is "data" here in plotting the scatter_contour? is it a 2D array of X
and Y values (my X and Y is not any gridded data, it is unstructured
arbitrary data, with almost 40000 data points)?<br><br></div>Regards,<br></div>Ipsita</div></span><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 21, 2017 at 12:58 AM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hello , I am out for the afternoon. Please, always respond to ncl-talk. Could u pls resend. <br><br>Sent from my iPhone</div><div><div class="m_-6116265308012608467h5"><div><br>On Mar 20, 2017, at 11:39 AM, Ipsita Putatunda <<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div><div><div>Dear Dennis,<br></div>Thank you for your suggestions, but I have little doubt;<br><br> res@sfXArray = x_location_of-each_point ; [*]<br> res@sfYArray = y_location_of-each_point ; [*]<br><br></div>these two resources(res@sfXArray, res@sfYArray) should be monotonically increasing or decreasing, where in my case it is not.<br></div>What is "data" here in plotting the scatter_contour? is it a 2D array of X and Y values (my X and Y is not any gridded data, it is unstructured arbitrary data, with almost 40000 data points)?<br><br></div>Regards,<br></div>Ipsita<br><div><div><div><br><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 20, 2017 at 7:20 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Yes.<br><br></div><div> res@gsnDraw = False ; Don't draw plots<br> res@gsnFrame = False ; Don't advance frame<br><br></div><div>[1] Scatter plot your values<br></div><div> scatter =<br><br></div><div>[2] Overlay a contour. Something like<br> res@trGridType = "TriangularMesh" <br> res@sfXArray = x_location_of-each_point ; [*]<br> res@sfYArray = y_location_of-each_point ; [*]<br><br></div></div><div><br> res@cnLevelSelectionMode <wbr> = "ManualLevels"<br> res@cnMinLevelValF <wbr> = <br> res@cnMaxLevelValF <wbr> = <br> res@cnLevelSpacingF <wbr> =<br><br> res@cnFillOn <wbr> = True<br>; see: <a href="http://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml" target="_blank">http://www.ncl.ucar.edu/Docume<wbr>nt/Graphics/color_table_galler<wbr>y.shtml</a><br>;;res@cnFillPalette <wbr> = "..." ; if not specified use default color map <br><br> res@cnLinesOn <wbr> = True or False<br> res@cnLineLabelsOn <wbr> = True or False<br><br> contour_scatter = gsn_csm_contour(wks,data,res)<br><br> overlay(scatter,contour_scatte<wbr>r)<br><br> <br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-6116265308012608467m_2515087626000178223h5">On Mon, Mar 20, 2017 at 6:11 AM, Ipsita Putatunda <span dir="ltr"><<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-6116265308012608467m_2515087626000178223h5"><div dir="ltr"><div><div><div><div>Dear all,<br><br></div>I have one dimensional datasets for X and Y coordinate. Am making scatter plot with these data, but what I want if there is any way in NCL to generate density scatter plot.<br></div>Thanks in advance for any help in this issue.<br><br></div>Regards,<br></div>Ipsita<br></div>
<br></div></div>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></blockquote></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>