Rashed<div> </div><div> I think you are not getting my point. Anyhow thank you for your suggestions.</div><div><br></div><div>Maida</div><div><br><div class="gmail_quote">On Wed, Aug 1, 2012 at 3:34 PM, Rashed Mahmood <span dir="ltr"><<a href="mailto:rashidcomsis@gmail.com" target="_blank">rashidcomsis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"> Maida</span></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br>
</span></div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">One further question that may be looked at is:</span></div>
<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">the command below should give one "Time" value</span></div><div><br></div><div>cpc=ave(soilw,t=1,t=27)/100
</div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">and similar is true for "mod" variable.</span></div>
<div><br></div><div>If above is fine.. Another test can be to check anomaly and see if extends to negative location,,,something like this:</div><div><br></div><div>cpc2=cpc-soilw</div><div><br></div><div>mod2=mod-mrso</div>
</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div><br></div><div>d cpc2;mod2</div><div><br></div><div>Good luck</div><div><br></div><div>Rashed</div>
<div><br></div><div><br></div><div><br></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></span></div><div><br></div></span><div><div class="h5"><br><br><div class="gmail_quote">
On Wed, Aug 1, 2012 at 1:34 PM, Maida Zahid <span dir="ltr"><<a href="mailto:maidazahid.pmd@gmail.com" target="_blank">maidazahid.pmd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Rashed<div><br></div><div> Thank you for replying. The data surely have negative values. You can see variables range from the following commands. </div><div><br></div><div><div>ga-> set gxout scatter</div><div>ga-> d cpc;mod</div>
<div><b>-0.5 8 -15 50 </b></div><div><br></div><div>Output of the above mentioned commands is attached so that you can have a look at the range.</div><div><br></div><div>Regards</div><span><font color="#888888"><div>
Maida</div></font></span><div><div><br><div class="gmail_quote">
On Wed, Aug 1, 2012 at 1:52 PM, Rashed Mahmood <span dir="ltr"><<a href="mailto:rashidcomsis@gmail.com" target="_blank">rashidcomsis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Maida</div><div><br></div><div>Are you sure that your variables "cpc" and "mod" have negative values?</div><div>From your code it appears (but I am not sure) that the variables are positive. As you know, the scatter plot won't move towards negative axis unless one of the variables have negative values. So may be you would like to confirm variable values first.</div>
<div><br></div><div>Good luck</div><span><font color="#888888"><div><br></div><div>Rashed</div></font></span><div><div><div><br></div><div><br></div><div><br></div><br><br><div class="gmail_quote">
On Wed, Aug 1, 2012 at 12:26 PM, Maida Zahid <span dir="ltr"><<a href="mailto:maidazahid.pmd@gmail.com" target="_blank">maidazahid.pmd@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Sir, <div><br></div><div> Thank you so much. I have used this link already for making scatter plot. The main problem is that scatter plot is plotting only positive values neglecting negative values whether i set vrange or not.</div>
<div><br></div><div>Regards<div><div><br></div></div></div></blockquote></div></div></div></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><div class="gmail_quote">On Wed, Aug 1, 2012 at 12:45 PM, Muhammad Afzaal <span dir="ltr"><<a href="mailto:afzaalkarori@gmail.com" target="_blank">afzaalkarori@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Maida<br clear="all"><font face="georgia, serif"><div><br></div><div>Following link would be useful for you;</div>
<div><br></div><div><a href="http://cookbooks.opengrads.org/index.php?title=Recipe-009:_Scatter_plot_with_linear_fit_and_basic_statistics" target="_blank">http://cookbooks.opengrads.org/index.php?title=Recipe-009:_Scatter_plot_with_linear_fit_and_basic_statistics</a>
</div><div><br></div><div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif"><br></font></div>MUHAMMAD AFZAAL KARORI<br><br>Institute of Atmospheric Physics<br>Chinese Academy of Sciences<br>Beijing, China</font><div>
<font face="georgia, serif"><br></font></div><div><font face="georgia, serif">Pakistan Meteorological Department</font></div><div><font face="georgia, serif">Islamabad - Pakistan<br></font>
<br><br><div class="gmail_quote"><div><div>On Tue, Jul 31, 2012 at 12:10 PM, Maida Zahid <span dir="ltr"><<a href="mailto:maidazahid.pmd@gmail.com" target="_blank">maidazahid.pmd@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>
Dear all,<div><br></div><div><br></div><div> I am trying to draw scatter plot from two files. Following are the commands which i have used to plot it.</div><div><div> </div><div><div>xdfopen soilw.mon.mean.v2-2deg-197901-200512-JJAS.ctl</div>
<div>define cpc=ave(soilw,t=1,t=27)/100</div><div>xdfopen mrso_Lmon_bcc-csm1-1-2deg_historical_r1i1p1_197901-200512-JJAS.ctl</div><div>set dfile 2</div><div>define mod=ave(mrso,t=1,t=27)/100</div><div>set gxout scatter</div>
<div>set vrange -0.5 8</div><div>set vrange2 -2 20</div><div>d cpc;mod</div><div><br></div><div>output of this display is attached.</div><div>I am unable to set my axis for negative values.Every time it starts from 0 to positive values either I set the "vrange" to positive values or negative values.</div>
<div>How can i solve this problem?</div></div><div><br></div><div>grads version and Os details are:</div><div><div>Grads version:Grid Analysis and Display System (GrADS) Version 1.9b4</div><div>Linux OS: Linux cslogin 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux</div>
<br></div><div><br></div><div>Thanks in advance.</div><div><br></div>Regards<span><font color="#888888"><br><font face="arial, helvetica, sans-serif"><div>Maida Zahid</div></font><div><div>
<div><br></div></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><font face="arial, helvetica, sans-serif"><div>------------------------------------------------------</div>
<div>Maida Zahid</div></font><div><div><div><font face="arial, helvetica, sans-serif">Assistant Director/Meteorologist</font></div>
<div><font face="arial, helvetica, sans-serif">Research & Development Division</font></div><div><font face="arial, helvetica, sans-serif">Pakistan Meteorological Department</font></div><div><font face="arial, helvetica, sans-serif">Sector H-8/2, Islamabad</font></div>
<div><font face="arial, helvetica, sans-serif">-------------------------------------------------------</font></div><div>Contact # : 051-9250334</div></div></div><div>-------------------------------------------------------</div>
<br>
</font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>
</div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="arial, helvetica, sans-serif"><br></font><br>
</div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div>========================</div><span class="HOEnZb"><font color="#888888">
<div><em>Rashed Mahmood</em></div>
<div><em>PhD <font face="georgia,serif">Student</font></em></div>
<div><em>Institute of Atmospheric Physics (IAP)</em></div>
<div><em>Chinese Academy of Sciences (CAS)</em></div>
<div><em>Beijing, China.</em></div><br>
</font></span><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="arial, helvetica, sans-serif"><div>------------------------------------------------------</div><div>Maida Zahid</div></font><div><div><div><font face="arial, helvetica, sans-serif">Assistant Director/Meteorologist</font></div>
<div><font face="arial, helvetica, sans-serif">Research & Development Division</font></div><div><font face="arial, helvetica, sans-serif">Pakistan Meteorological Department</font></div><div><font face="arial, helvetica, sans-serif">Sector H-8/2, Islamabad</font></div>
<div><font face="arial, helvetica, sans-serif">-------------------------------------------------------</font></div><div>Contact # : 051-9250334</div></div></div><div>-------------------------------------------------------</div>
<br>
</div>