<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276267</link>
    <title>MATLAB Central Newsreader - plot a shape-preserving interpolant to XY</title>
    <description>Feed for thread: plot a shape-preserving interpolant to XY</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2010 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 12 Mar 2010 10:08:06 -0500</pubDate>
      <title>plot a shape-preserving interpolant to XY</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276267#725754</link>
      <author>Matthias </author>
      <description>Dear all,&lt;br&gt;
&lt;br&gt;
I wish to fit and plot a shape-preserving interpolant line to my XY data points, and only display the fit on the plot - not the XY data. &lt;br&gt;
&lt;br&gt;
This is possible by first plotting the data and using a white maker, followed by basic fitting from the Tools menu. But what I am really after is a way of automating this step by building such a procedure into my own m-files. &lt;br&gt;
&lt;br&gt;
Generating an m-file from my figure results in an error messages that makes no sense to me: &quot;pvpmod needs either a structure of a cell array with parameter/value pairs&quot;&lt;br&gt;
&lt;br&gt;
I also tried to follow the help file on the use pchip, but this generated completely different results to what the GUI approach yielded. &lt;br&gt;
&lt;br&gt;
How exactly does one manually reproduce this shape-preserving interpolant that can be obtained from Tools --&amp;gt; Basic fitting?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;</description>
    </item>
  </channel>
</rss>
