<div dir="ltr">Hi Geeta,<div>Thank you for sending along an easy to run script for all to run. Your x-axis values as supplied by your Vrf array are not monotonically increasing; I wonder if that is the cause of the problem here. Based on some quick testing and the spacing of your data, I think your best course of action is to actually choose a log axis. Set res@trXAxisType = "LogAxis", and set res@trXMinF = 100. I have attached the resulting image.</div><div><br></div><div>If you do not want to use a log axis, then I recommend sorting your data by the Vcf array, utilizing the qsort procedure. (You will then also have to use the indexes of the sorted Vcf array to sort your Crf and Srf arrays.)</div><div>Hope that helps!</div><div>Adam </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 30, 2020 at 12:07 AM Geeta Geeta 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">Hi.<br>
I have X axis values that range from<br>
(0)    1.086086e+08    (maximum)<br>
(0)    4912                  (minimum).<br>
<br>
there are only 2-3 values of X axis which are as large as the maximum value (Column 3 of the dataset). Y axis is colum 2. because of this large range in X axis, my plot is getting clustered towards the left.<br>
<br>
I tried with res@gsnXAxisIrregular2Linear = True<br>
but I get a warning message<br>
<br>
warning:gsnXAxisIrregular2Linear is not a valid resource in scatter_xy at this time<br>
warning:gsnXAxisIrregular2Linear is not a valid resource in scatter_xy at this time<br>
<br>
<br>
I also tried with resXBMode = "explicit and Manual but that does not help. <br>
<br>
<br>
can someone help me in this??<br>
<br>
thanks<br>
<br>
Geeta._______________________________________________<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></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,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></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><span><font color="#888888">303-497-1726 </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>