<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162431</link>
    <title>MATLAB Central Newsreader - Plot Data on US Map</title>
    <description>Feed for thread: Plot Data on US 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>Tue, 22 Jan 2008 13:02:03 -0500</pubDate>
      <title>Plot Data on US Map</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162431#410616</link>
      <author>Niraj </author>
      <description>I have a following data:&lt;br&gt;
&lt;br&gt;
State, Anamoly, Sales&lt;br&gt;
NC, -200, 10000&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
I want to plot this in a US map as following.&lt;br&gt;
The states should be shaded red or blue depending on whether&lt;br&gt;
the anamoly field is negative or positive. the strength of&lt;br&gt;
the color varies with the magnitude of this field.&lt;br&gt;
&lt;br&gt;
I then want to show a circle at the center of each state.&lt;br&gt;
The color of this circle will be different if the &quot;Sales&quot;&lt;br&gt;
field is positive or negative with the size of the circle&lt;br&gt;
depending on the magnitude of the sales.&lt;br&gt;
&lt;br&gt;
I used to be able to do this very quickly in excel before&lt;br&gt;
they removed the map functionality.&lt;br&gt;
&lt;br&gt;
Can onyone help with the code. I have no experience with&lt;br&gt;
plotting data on maps in Matlab.&lt;br&gt;
&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Tue, 22 Jan 2008 16:47:28 -0500</pubDate>
      <title>Re: Plot Data on US Map</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162431#410667</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;fn4pgb$jfv$1@fred.mathworks.com&amp;gt;, Niraj  &amp;lt;ask@email.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;I have a following data:&lt;br&gt;
&lt;br&gt;
&amp;gt;I want to plot this in a US map as following.&lt;br&gt;
&amp;gt;The states should be shaded red or blue depending on whether&lt;br&gt;
&amp;gt;the anamoly field is negative or positive.&lt;br&gt;
&lt;br&gt;
patch() with FaceColor&lt;br&gt;
&lt;br&gt;
&amp;gt;I then want to show a circle at the center of each state.&lt;br&gt;
&lt;br&gt;
patch() or rectangle()  (yes, rectangle() is used for drawing circles!)&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;So you found your solution&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;What will be your last contribution?&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;-- Supertramp (Fool's Overture)</description>
    </item>
    <item>
      <pubDate>Wed, 23 Jan 2008 14:05:03 -0500</pubDate>
      <title>Re: Plot Data on US Map</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162431#410864</link>
      <author>Niraj </author>
      <description>Thanks for your response. Can you be proide some more help?&lt;br&gt;
Mabe a small snippet of code that does this? How do i plot&lt;br&gt;
the us map to begin with and then shade the color accoridng&lt;br&gt;
to value and the size of circles according to values?&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in&lt;br&gt;
message &amp;lt;fn56n0$e7a$1@canopus.cc.umanitoba.ca&amp;gt;...&lt;br&gt;
&amp;gt; In article &amp;lt;fn4pgb$jfv$1@fred.mathworks.com&amp;gt;, Niraj &lt;br&gt;
&amp;lt;ask@email.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt;I have a following data:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;I want to plot this in a US map as following.&lt;br&gt;
&amp;gt; &amp;gt;The states should be shaded red or blue depending on whether&lt;br&gt;
&amp;gt; &amp;gt;the anamoly field is negative or positive.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; patch() with FaceColor&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;I then want to show a circle at the center of each state.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; patch() or rectangle()  (yes, rectangle() is used for&lt;br&gt;
drawing circles!)&lt;br&gt;
&amp;gt; -- &lt;br&gt;
&amp;gt;    So you found your solution&lt;br&gt;
&amp;gt;    What will be your last contribution?&lt;br&gt;
&amp;gt;    -- Supertramp (Fool's Overture)</description>
    </item>
  </channel>
</rss>

