<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Hubway trips for August 2012</title>
	<atom:link href="http://fromthepantothefire.com/2012/10/22/89/feed/" rel="self" type="application/rss+xml" />
	<link>http://fromthepantothefire.com/2012/10/22/89/</link>
	<description>&#34;...we are not pans and barrows, nor even porters of the fire and torchbearers, but children of the fire, made of it...&#34; -- Ralph Waldo Emerson, The Poet</description>
	<lastBuildDate>Mon, 07 Sep 2020 21:38:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>By: Zia</title>
		<link>http://fromthepantothefire.com/2012/10/22/89/#comment-50</link>
		<dc:creator><![CDATA[Zia]]></dc:creator>
		<pubDate>Mon, 19 Nov 2012 05:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://fromthepantothefire.wordpress.com/?p=89#comment-50</guid>
		<description><![CDATA[Hi Michael! Glad you enjoyed this plot. It was some fun data for me to work with and this was my first go at visualizing it.

There are a couple simple pieces to making this work:
1) The individual data points are drawn with the &quot;scatter&quot;, where x, y are obviously the coordinates and s is the size of the dot. I also used an alpha value to have some transparency to accommodate overlapping data, for example:
 &lt;code&gt; pyplot.scatter([x],[y], s= [z], color = c, alpha = 0.4)&lt;/code&gt;
Note I was plotting one point at a time, hence the [x] etc instead of just &#039;x&#039; if your data was in an array already.
2) In order to get a matrix like layout, with (0,0) in the upper-left, I reversed the y values and labels when plotting them. I also set the axis range just outside the data that was plotted so it looked cleaner.

Due to the data I was using and the form I processed it in the code may be a little funky for your purposes, but I cleaned it up to a relatively small demo, which I&#039;m sure you could adapt. Here is some imaginary data of Rock-Paper-Scissors versus my husband and the &lt;a href=&quot;http://fromthepantothefire.com/matplotlib/rock_paper_scissors.py&quot; rel=&quot;nofollow&quot;&gt;full code example for plotting Rock-Paper-Scissors Matrix&lt;/a&gt;:

&lt;img src=&quot;http://fromthepantothefire.com/matplotlib/Zia_vs_Josh_RPS.png&quot; alt=&quot;Mini Example of Matrix Plotting Matplotlib Code&quot; /&gt;

Enjoy!

Zia]]></description>
		<content:encoded><![CDATA[<p>Hi Michael! Glad you enjoyed this plot. It was some fun data for me to work with and this was my first go at visualizing it.</p>
<p>There are a couple simple pieces to making this work:<br />
1) The individual data points are drawn with the &#8220;scatter&#8221;, where x, y are obviously the coordinates and s is the size of the dot. I also used an alpha value to have some transparency to accommodate overlapping data, for example:<br />
 <code> pyplot.scatter([x],[y], s= [z], color = c, alpha = 0.4)</code><br />
Note I was plotting one point at a time, hence the [x] etc instead of just &#8216;x&#8217; if your data was in an array already.<br />
2) In order to get a matrix like layout, with (0,0) in the upper-left, I reversed the y values and labels when plotting them. I also set the axis range just outside the data that was plotted so it looked cleaner.</p>
<p>Due to the data I was using and the form I processed it in the code may be a little funky for your purposes, but I cleaned it up to a relatively small demo, which I&#8217;m sure you could adapt. Here is some imaginary data of Rock-Paper-Scissors versus my husband and the <a href="http://fromthepantothefire.com/matplotlib/rock_paper_scissors.py" rel="nofollow">full code example for plotting Rock-Paper-Scissors Matrix</a>:</p>
<p><img src="http://fromthepantothefire.com/matplotlib/Zia_vs_Josh_RPS.png" alt="Mini Example of Matrix Plotting Matplotlib Code" /></p>
<p>Enjoy!</p>
<p>Zia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://fromthepantothefire.com/2012/10/22/89/#comment-49</link>
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Mon, 19 Nov 2012 03:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://fromthepantothefire.wordpress.com/?p=89#comment-49</guid>
		<description><![CDATA[Hi,

Could you please describe what commands you used to get the plot?  It looks really cool, but I can&#039;t seem to find anything similar in the gallery (http://matplotlib.org/gallery.html).

Cheers,
Michael]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Could you please describe what commands you used to get the plot?  It looks really cool, but I can&#8217;t seem to find anything similar in the gallery (<a href="http://matplotlib.org/gallery.html" rel="nofollow">http://matplotlib.org/gallery.html</a>).</p>
<p>Cheers,<br />
Michael</p>
]]></content:encoded>
	</item>
</channel>
</rss>
