<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Sam,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It appears you are using the parameter correctly.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please try running the attached example, which shows a simple XY plot, and different tension factors using the "sig" parameter with ftcurv.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If this doesn't shine a light on the problem at your end, then can you provide us with a script and the data?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 4, 2015 at 5:07 PM, Sam McClatchie (NOAA Federal) <span dir="ltr"><<a href="mailto:sam.mcclatchie@noaa.gov" target="_blank">sam.mcclatchie@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Colleagues<br>
<br>
I want to put a smooth line through a de-seasonalized time series
that shows a trend and residual variability. I'm having trouble
adjusting the tension of the smooth which I think needs to be less
than one. I would like the overlaid smooth curve to be much more
smooth than the data, but I'm basically getting a high order
polynomial smooth at present. <br>
<br>
Here is a snip of code:<br>
<br>
(Note: the xyplot tsplots(2) was previously defined)<br>
<br>
xi = (/spice_ts_ss&time/)<br>
yi = monthly_anom(:,0,0)<br>
xo = fspan(1985., 2015., 200)<br>
ftsetp("sig",0.5)<br>
yo = ftcurv(xi,yi,xo)<br>
<br>
colors = (/"red","green","blue"/)<br>
resplot@xyLineColor = colors(0)<br>
tsplots(3) = gsn_csm_xy (wks,xo,yo,resplot)<br>
overlay(tsplots(2), tsplots(3))<br>
<br>
Changing the value of the sig parameter in ftsetp between 0.1 to 40
seems to have no effect, which suggests that I am misusing
something?<br>
<br>
Thanks in advance,<br>
Sam<span class="HOEnZb"><font color="#888888"><br>
<div>-- <br>
Sam McClatchie,
<br>
Supervisory oceanographer, <br>
NOAA lead for the CalCOFI program <br>
Southwest Fisheries Science Center, NOAA,
<br>
8901 La Jolla Shores Dr.
<br>
La Jolla, CA 92037-1509, U.S.A.
<br>
email <a href="mailto:Sam.McClatchie@noaa.gov" target="_blank"><Sam.McClatchie@noaa.gov></a>
<br>
Office: <a href="tel:858%20546%207083" value="+18585467083" target="_blank">858 546 7083</a>, Cellular: <a href="tel:858%20752%208495" value="+18587528495" target="_blank">858 752 8495</a>
<br>
Research home page <<a href="http://www.fishocean.info" target="_blank">www.fishocean.info</a>><br>
<img style="width:150px;min-height:149px" alt="CalCOFI 66 years" src="cid:part1.06050101.05030006@noaa.gov"><br>
</div>
</font></span></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>