aboutsummaryrefslogtreecommitdiffstats
path: root/journal/22jan2009.html
blob: cb73efb2e772c5e2ad58b6049f6257e5e293b018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>bnewbold thesis</title></head>
<body style="margin: 25px; font-family: helvetica;">
<h1 style="border-bottom: 2px solid;">
Journal: Jan 21, 2009</h1>
<i>Bryan Newbold, <a href="mailto:bnewbold@mit.edu">bnewbold@mit.edu</a></i><br />
<i><a href="http://web.mit.edu/bnewbold/thesis/">
http://web.mit.edu/bnewbold/thesis/</a></i>
<br /><p />
<!-- ================================================================ -->
<!-- ================================================================ -->

Some notes on sage:

To import an ascii text file with coordinates, do:

<pre style="margin:20px; border-left: solid grey 3px; background-color:lightgrey;padding:5px;width:750px;">
d = scipy.io.array_import.read_array('output.txt')
</pre>
But this is super slow, should probably just use gnuplot for now...

<pre style="margin:20px; border-left: solid grey 3px; background-color:lightgrey;padding:5px;width:750px;">
gnuplot('set terminal png; set xrange[-4:4]; set yrange[-100:100]; set output "/home/bnewbold/fromsage.png"; plot "/home/bnewbold/output";')
</pre>
Could fidget with style settings too.

<br /><br />
<a href="21jan2009.html"><i>(previous entry)</i></a>

<!-- ================================================================ -->
<!-- ================================================================ -->
</body>
</html>