<div dir="ltr">Hi:<div><br></div><div>I have data specified as below.</div><div><br></div><div>I adapted code from this page:</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Applications/histo.shtml">https://www.ncl.ucar.edu/Applications/histo.shtml</a><br></div><div><br></div><div>Example # 6.</div><div><br></div><div>I set x = "Obs" and y = "Forecast" below.</div><div><br></div><div>The plot I get spreads the obs and forecast data on the x axis (where the x axis conforms to the value of each).</div><div><br></div><div>The y axis is labeled "Frequency."</div><div><br></div><div>However, this is not a histogram/bar graph I am familiar with. I am not sure how frequency is calculated (perhaps out of the total). In any case, I want to plot the x axis as intervals of 0 to 100 (by 10). I want the y-axis to show the values in the obs/forecasts that conform to these intervals. (Kaleidagraph can do this easily, but that's not the point (obviously)).</div><div><br></div><div>I see no such example of how to do this -- even though this is often how bar graphs are presented.</div><div><br></div><div>Thank you for your suggestions.</div><div><br></div><div>Barry</div><div><br></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"> z = new((/2,dimsizes(x)/),integer)
z(0,:) = x
z(1,:) = y</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
<p class="gmail-p1"><span class="gmail-s1">Percent, Obs, Forecast</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 0 0.0, 0.0,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 1 227.0, 212.2,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 4 375.0, 176.7,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 8 201.0, 141.1,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 12 62.0, 143.2,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 18 26.0, 327.5,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 24 6.0, 199.5,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 30 1.0, 50.2,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 36 2.0, 9.4,</span></p>
<p class="gmail-p1"><span class="gmail-s1"> 100 0.0, 4.0,</span></p>
</pre></div><div><br></div><div><br></div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US 914 432 3108<br></div></div></div>
</div></div>