<div dir="ltr">Hi Anie,<div>Kunal is correct in recommending you change your setting of levels. In the <a href="https://www.ncl.ucar.edu/Applications/Scripts/polyg_8_lbar.ncl">NCL example</a> that you copied and modified, the levels array is where you put your bin values in, and the R array is where your values should go in. I have modified your script to reflect those changes, and have attached the script and resulting plot. </div><div>Any further questions should be sent to the ncl-talk email list.</div><div>Good luck!</div><div>Adam </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 12, 2023 at 10:18 PM Anie K Lal via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I tried that, but values are not plotted against the correct stations, <br>
for example value corresponding to station (28.585,77.206) is 47 which <br>
is incorrectly shown in the plot.<br>
<br>
How to fix this?<br>
<br>
<br>
<br>
<br>
-------- Original Message --------<br>
Subject: Re: [ncl-talk] Plot station points with markers having <br>
different colors and size with a label bar<br>
Date: 13.02.2023 02:02<br>
From: Kunal Bali <<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@gmail.com</a>><br>
To: Anie K Lal <<a href="mailto:Anieklal@cas.iitd.ac.in" target="_blank">Anieklal@cas.iitd.ac.in</a>><br>
<br>
Hi,<br>
<br>
For that, I think, you need to change<br>
<br>
levels =<br>
(/16,0,39,7,47,5,7,30,0,17,0,7,3,0,0,47,0,0,46,32,0,46,3,7,0,0,7,0,25,0,46,4,0,7,7,0,0,0,47,46,47,7,0,3/)<br>
<br>
to<br>
<br>
levels = (/0,5,10,15,20,25,30,35,40,45,50/)<br>
<br>
---<br>
<br>
Kunal Bali<br>
<br>
On Sun, 12 Feb 2023 at 09:31, Anie K Lal via ncl-talk<br>
<<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br>
<br>
> Hi all,<br>
> <br>
> I Have a csv file with lat lon and values:<br>
> <br>
> Lat Lon Values<br>
> 27.156 77.961 16<br>
> 27.883 78.067 0<br>
> 25.44 81.734 39<br>
> 30.383 76.767 7<br>
> 31.71 74.797 47<br>
> 26.681 88.329 5<br>
> 27.567 81.6 7<br>
> 28.422 79.451 30<br>
> 24.133 88.267 0<br>
> 25.233 86.95 17<br>
> 23.233 87.85 0<br>
> 30.733 76.883 7<br>
> 26.333 89.497 3<br>
> 26.167 85.9 0<br>
> 24.917 84.183 0<br>
> 28.585 77.206 47<br>
> 25.933 80.833 0<br>
> 26.3 87.267 0<br>
> 24.744 84.951 46<br>
> 26.74 83.45 32<br>
> 27.383 80.167 0<br>
> 29.179 75.755 46<br>
> 26.533 88.717 3<br>
> 25.491 78.558 7<br>
> 26.404 80.41 0<br>
> 29.7 77.033 0<br>
> 22.533 88.333 7<br>
> 23.4 88.517 0<br>
> 25.45 82.867 25<br>
> 26.867 80.933 0<br>
> 26.761 80.889 46<br>
> 30.867 75.933 4<br>
> 27.233 79.05 0<br>
> 25.033 88.133 7<br>
> 29.017 77.717 7<br>
> 26.667 84.917 0<br>
> 26.117 85.4 0<br>
> 29.617 78.383 0<br>
> 22.655 88.447 47<br>
> 30.333 76.467 46<br>
> 25.591 85.088 47<br>
> 25.267 87.467 7<br>
> 26.983 84.85 0<br>
> 25.3 83.017 3<br>
> <br>
> I want to plot these on a map with different markers and sizes for<br>
> different values ranging from 0 to 47.<br>
> I followed few examples from ncl website. I need to get a plot like<br>
> this<br>
> <a href="https://www.ncl.ucar.edu/Applications/Images/polyg_8_lbar_lg.png" rel="noreferrer" target="_blank">https://www.ncl.ucar.edu/Applications/Images/polyg_8_lbar_lg.png</a><br>
> <br>
> I am attaching the script and plot that I got. I am not able to<br>
> understand what am I doing incorrectly. Please help me solve this.<br>
> <br>
> Looking forward to any kind of help.<br>
> <br>
> Thank you<br>
> Anie_______________________________________________<br>
> ncl-talk mailing list<br>
> <a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
CAUTION: This email originated from outside of IIT Delhi. Do not click<br>
links or open attachments unless you recognize the sender and know the<br>
content is safe.<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist IV, Climate Analysis Section</font></span></div><div><span><font color="#888888">Climate and Global Dynamics Laboratory<br></font></span></div></div><div><span style="color:rgb(136,136,136)">National Center for Atmospheric Research</span><span><font color="#888888"><br></font></span></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>