diff options
Diffstat (limited to 'journal')
-rw-r--r-- | journal/22jan2009.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/journal/22jan2009.html b/journal/22jan2009.html new file mode 100644 index 0000000..cb73efb --- /dev/null +++ b/journal/22jan2009.html @@ -0,0 +1,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> |