<div dir="ltr">Yes you are right, my mistake -- those specific resources are return values from pdfx(). There are however these input resources that can be attached to the 3rd parameter (opt) of pdfx():<br><br><p class="">
Setting opt=True will activate use of the options.
</p><ul><li><em>v510</em> - The original <strong>pdfx</strong>
has been modified. The new [5.1.1] function was created to be more consistent
with the <a href="http://ncl.ucar.edu/Document/Functions/Contributed/pdfxy.shtml"><strong>pdfxy</strong></a> released with 5.1.1.
Setting the <em>v510</em> attribute to True will result in the
original v5.1.0 version being used. [see <b>Description</b>]
</li><li><em>bin_min</em> - minimum value for the bin boundary.
</li><li><em>bin_max</em> - maximum value for the bin boundary.
</li><li><em>bin_nice</em> - "nice" bin boundary values and
spacing will be calculated. If the user has specified <em>nbin</em>,
it will be ignored and the calculated number of bins
will be used.
</li></ul><p>Do any of these get you what you need? Perhaps someone more knowledgeable on PDFs can comment here...</p><p>Rick<br></p><p><br></p>
</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 10:19 AM, <a href="mailto:mamadoulamine.mbaye@ucad.edu.sn">mamadoulamine.mbaye@ucad.edu.sn</a> <span dir="ltr"><<a href="mailto:mamadoulamine.mbaye@ucad.edu.sn" target="_blank">mamadoulamine.mbaye@ucad.edu.sn</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 style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p>I have seen three inputs only : </p>
<pre>function pdfx (
                x : numeric,
                nbin [1] : integer,
                opt [1] : logical
        )<br>the others are in the return value.<br></pre>
<p><br>
</p>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>><br>
<b>Envoyé :</b> jeudi 21 mai 2015 08:58<br>
<b>À :</b> <a href="mailto:mamadoulamine.mbaye@ucad.edu.sn" target="_blank">mamadoulamine.mbaye@ucad.edu.sn</a><br>
<b>Cc :</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a> USERS<br>
<b>Objet :</b> Re: [ncl-talk] bin size</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
<br>
</div>
Those resources in the warning messages are inputs to the pdfx() functions, not to the graphics functions. See:<br>
<br>
<a href="http://ncl.ucar.edu/Document/Functions/Contributed/pdfx.shtml" target="_blank">http://ncl.ucar.edu/Document/Functions/Contributed/pdfx.shtml</a><br>
<br>
</div>
Hope that helps...<br>
</div>
Rick<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, May 21, 2015 at 9:41 AM, <a href="mailto:mamadoulamine.mbaye@ucad.edu.sn" target="_blank">
mamadoulamine.mbaye@ucad.edu.sn</a> <span dir="ltr"><<a href="mailto:mamadoulamine.mbaye@ucad.edu.sn" target="_blank">mamadoulamine.mbaye@ucad.edu.sn</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 style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear,</p>
<p>I would like to reduce the size of the bins for a PDF plot, I got these errors:
</p>
<p>==========<br>
</p>
<p>warning:bin_bound_min is not a valid resource in pdf_climate_xy at this time<br>
warning:bin_bound_max is not a valid resource in pdf_climate_xy at this time<br>
warning:bin_spacing is not a valid resource in pdf_climate_xy at this time</p>
<p>=============</p>
<p>here is the script:</p>
<p><br>
f =asciiread("/home/data_climate_paper.txt",(/2484,4/),"float")<br>
ucH=f(:,0)<br>
ucR=f(:,1)<br>
bcH=f(:,2)<br>
bcR=f(:,3)<br>
ap= pdfx(ucH,20,True) <br>
bp= pdfx(ucR,20,True) <br>
cp= pdfx(bcH,20,True) <br>
dp= pdfx(bcR,20,True) <br>
<br>
nVar = 4<br>
nBin = ap@nbins <br>
;plot = new ( nVar, "graphic") <br>
xx = new ( (/nVar, nBin/), typeof(ap))<br>
xx(0,:) = ap@bin_center <br>
xx(1,:) = bp@bin_center<br>
xx(2,:) = cp@bin_center<br>
xx(3,:) = dp@bin_center<br>
yy = new ( (/nVar, nBin/), typeof(ap))<br>
yy(0,:) = (/ ap /)<br>
yy(1,:) = (/ bp /)<br>
yy(2,:) = (/ cp /)<br>
yy(3,:) = (/ dp /)<br>
;=========================================================================================<br>
wks = gsn_open_wks ("x11", "pdf_climate" )<br>
res = True <br>
res@xyLineThicknesses = (/4.0,4.0,4.0,4.0/) <br>
res@xyLineColors = (/"blue","red","green","orange"/) <br>
res@xyMonoDashPattern = True ; all solid <br>
res@tiYAxisString = "PDF (%)"<br>
res@trXMinF = 0<br>
res@trXMaxF = 40<br>
res@gsnXYBarChart = True ; Create bar plot<br>
res@gsnXYBarChartOutlineOnly = True<br>
res@bin_bound_min =0<br>
res@bin_bound_max =20<br>
res@bin_spacing =5<br>
<br>
<br>
res@tiMainString = "Probabilty Density Functions"<br>
plot = gsn_csm_xy (wks, xx, yy, res)<br>
end<br>
</p>
</div>
</div>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>