changeset 73:f81a65086498

show_mc.py: call Octave visualisation
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 20 May 2016 08:43:59 -0400
parents 6b0f8b05c0c4
children 305b7361a5bd
files talk/code/show_mc.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/talk/code/show_mc.py
+++ b/talk/code/show_mc.py
@@ -19,6 +19,7 @@
 
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
+import subprocess
 import sys
 
 import numpy as np
@@ -271,5 +272,7 @@
     with open("mc", "w") as f:
         f.write("%s\n" % mc)
 
+    subprocess.call("./showalgo.m")
+
 if __name__ == "__main__":
     main()