<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Plotting_data_in_real_time</id>
	<title>Plotting data in real time - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Plotting_data_in_real_time"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Plotting_data_in_real_time&amp;action=history"/>
	<updated>2026-04-12T04:39:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Plotting_data_in_real_time&amp;diff=1248&amp;oldid=prev</id>
		<title>Adk44: Created page with &quot;If your code produces output in real time during a run, it can be both informative and interesting to be able to view the results as they come in. This can be done simply usin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Plotting_data_in_real_time&amp;diff=1248&amp;oldid=prev"/>
		<updated>2019-05-13T10:37:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If your code produces output in real time during a run, it can be both informative and interesting to be able to view the results as they come in. This can be done simply usin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If your code produces output in real time during a run, it can be both informative and interesting to be able to view the results as they come in. This can be done simply using the following two gnuplot scripts. Copy each into vi to produce the two script files &amp;#039;&amp;#039;test.plt&amp;#039;&amp;#039; and &amp;#039;&amp;#039;loop.plt&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;test.plt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/gnuplot -persist&lt;br /&gt;
# test.plt&lt;br /&gt;
reset&lt;br /&gt;
load &amp;quot;loop.plt&amp;quot;&lt;br /&gt;
reset&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;loop.plt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/gnuplot -persist&lt;br /&gt;
# loop.plt&lt;br /&gt;
plot &amp;#039;out.dat&amp;#039; u 1:2 w l&lt;br /&gt;
reread&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You of course need to edit &amp;#039;&amp;#039;loop.plt&amp;#039;&amp;#039; to your plotting specifications. Once you are happy - run gnuplot with:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
gnuplot &amp;lt; test.plt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thanks to Jason Green for the scripts :)&lt;/div&gt;</summary>
		<author><name>Adk44</name></author>
	</entry>
</feed>