<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/262760</link>
    <title>MATLAB Central Newsreader - containers.Map</title>
    <description>Feed for thread: containers.Map</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 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>Sat, 10 Oct 2009 04:12:03 -0400</pubDate>
      <title>containers.Map</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/262760#686079</link>
      <author>Tim B</author>
      <description>Hello,&lt;br&gt;
&lt;br&gt;
I used a Map to hold a time series data. How could I plot this data? I was told that values method only returns array of the value. How could change the cell into a value data? Thanks!</description>
    </item>
    <item>
      <pubDate>Sat, 10 Oct 2009 13:36:02 -0400</pubDate>
      <title>Re: containers.Map</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/262760#686112</link>
      <author>Donn Shull</author>
      <description>&quot;Tim B&quot; &amp;lt;jinli_m@yahoo.com&amp;gt; wrote in message &amp;lt;hap1ij$hk7$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I used a Map to hold a time series data. How could I plot this data? I was told that values method only returns array of the value. How could change the cell into a value data? Thanks!&lt;br&gt;
&lt;br&gt;
Hi Tim,&lt;br&gt;
&lt;br&gt;
If x is your containers.Map object then:&lt;br&gt;
&lt;br&gt;
plot(cell2mat(x.keys), cell2mat(x.values))&lt;br&gt;
&lt;br&gt;
should work.&lt;br&gt;
&lt;br&gt;
Hope this helps,&lt;br&gt;
&lt;br&gt;
Donn</description>
    </item>
  </channel>
</rss>

