<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.unnionline.com &#187; Add new tag</title>
	<atom:link href="http://www.unnionline.com/blog/tag/add-new-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unnionline.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 11:49:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Basic Gnuplot Tutorial &#8211; I</title>
		<link>http://www.unnionline.com/blog/2008/12/basic-gnuplot-tutorial-i/</link>
		<comments>http://www.unnionline.com/blog/2008/12/basic-gnuplot-tutorial-i/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 19:14:42 +0000</pubDate>
		<dc:creator>cbaunni</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Gnuplot]]></category>
		<category><![CDATA[Plotting]]></category>
		<category><![CDATA[python-gnuplot]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.unnionline.com/blog/?p=30</guid>
		<description><![CDATA[This tutorial uses Ubuntu Heron,]]></description>
			<content:encoded><![CDATA[<p>This tutorial uses Ubuntu Heron, Python 2.5, python-gnuplot 1.8-1</p>
<p><code>from Numeric import *<br />
import Gnuplot</code><br />
<code><br />
g = Gnuplot.Gnuplot()<br />
</code><br />
<code># generate x, y data to plot<br />
x = arange(10, typecode=Float)<br />
y = x**2<br />
</code><br />
<code># convert to a form that the gnuplot interface can deal with<br />
d = Gnuplot.Data(x, y, title='data from python')</code></p>
<p><code>g.xlabel('x')<br />
g.ylabel('x^2')                           # looks nice in the postscript</code></p>
<p><code>g.plot(d)                        # actually plot the data</code></p>
<p><code># To Save as postscript.  The enhanced=1 is to handle the x^2 in the xlabel.<br />
# Use eps=1 to produce encapsulated postscript.<br />
g.hardcopy('gp_test.ps', enhanced=1, color=1)<br />
raw_input('Saved as gp_test.ps ; please press return to continue...\n')</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.unnionline.com/blog/2008/12/basic-gnuplot-tutorial-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

