blob: 6ac454c730059dde2837d23157b522baa3356ab6 (
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
36
37
38
39
40
41
42
43
44
45
46
47
|
<!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 22, 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.
<hr />
<p />
Fiddled some more got an @interact going: see a screenshot
<a href="22jan2009-sage-interact-screenshot.png">here</a>.
Still have most of yesturday's stuff to do if i'm going to pursue that... I
got scmutils working (at least partially) on a virtual machine: <a
href="http://eta.xvm.mit.edu/">eta.xvm.mit.edu</a>. It's a amd64 host so I had
to fiddle with loading extra 32bit libraries, more about that in these <a
href="../other/mit-scheme-etch-amd64-howto.txt">directions</a> I emailed to the
mit-scheme-devel list.
<br /><br />
<a href="21jan2009.html"><i>(previous entry)</i></a> -
<a href="26jan2009.html"><i>(next entry)</i></a>
<!-- ================================================================ -->
<!-- ================================================================ -->
</body>
</html>
|