##// END OF EJS Templates
ileo: pylab demo stuff
Ville M. Vainio -
Show More
@@ -3,7 +3,7 b''
3 <leo_file>
3 <leo_file>
4 <leo_header file_format="2" tnodes="0" max_tnode_index="0" clone_windows="0"/>
4 <leo_header file_format="2" tnodes="0" max_tnode_index="0" clone_windows="0"/>
5 <globals body_outline_ratio="0.307814992026">
5 <globals body_outline_ratio="0.307814992026">
6 <global_window_position top="256" left="325" height="627" width="1280"/>
6 <global_window_position top="180" left="223" height="627" width="1280"/>
7 <global_log_window_position top="0" left="0" height="0" width="0"/>
7 <global_log_window_position top="0" left="0" height="0" width="0"/>
8 </globals>
8 </globals>
9 <preferences/>
9 <preferences/>
@@ -48,7 +48,8 b''
48 <v t="vivainio.20080222201226"><vh>NewHeadline</vh></v>
48 <v t="vivainio.20080222201226"><vh>NewHeadline</vh></v>
49 <v t="vivainio.20080218201219.2"><vh>bar</vh></v>
49 <v t="vivainio.20080218201219.2"><vh>bar</vh></v>
50 </v>
50 </v>
51 <v t="vivainio.20080316144536" a="ETV"><vh>pylab tests</vh>
51 <v t="vivainio.20080316144536" a="E"><vh>pylab tests</vh>
52 <v t="vivainio.20080316145539.2" a="TV"><vh>Generate testarr</vh></v>
52 <v t="vivainio.20080316085925"><vh>testarr</vh></v>
53 <v t="vivainio.20080316085925"><vh>testarr</vh></v>
53 <v t="vivainio.20080316085950"><vh>Call plotter on testarr</vh></v>
54 <v t="vivainio.20080316085950"><vh>Call plotter on testarr</vh></v>
54 </v>
55 </v>
@@ -507,8 +508,10 b" Create 10 child nodes for baz, where i is headline and 'Hello ' + i is body:"
507 </t>
508 </t>
508 <t tx="vivainio.20080223142403"></t>
509 <t tx="vivainio.20080223142403"></t>
509 <t tx="vivainio.20080223142403.1">12</t>
510 <t tx="vivainio.20080223142403.1">12</t>
510 <t tx="vivainio.20080316085925">array([[1, 2, 3],
511 <t tx="vivainio.20080316085925">array([[ 0, 1, 2],
511 [2, 4, 6]])</t>
512 [ 3, 4, 5],
513 [ 6, 7, 8],
514 [ 9, 10, 11]])</t>
512 <t tx="vivainio.20080316085950"># press alt+i here to plot testarr
515 <t tx="vivainio.20080316085950"># press alt+i here to plot testarr
513
516
514 plot(wb.testarr.v)</t>
517 plot(wb.testarr.v)</t>
@@ -518,5 +521,8 b' plot(wb.testarr.v)</t>'
518 easy_install matplotlib
521 easy_install matplotlib
519
522
520 Make sure you have '@string ipython-argv = ipython -pylab' in @settings. We currently recommend using TkAgg as the backend (it's also the default)</t>
523 Make sure you have '@string ipython-argv = ipython -pylab' in @settings. We currently recommend using TkAgg as the backend (it's also the default)</t>
524 <t tx="vivainio.20080316145539.2">#press alt+i here to generate an array for plotter
525
526 wb.testarr.v = arange(12).reshape(4,3)</t>
521 </tnodes>
527 </tnodes>
522 </leo_file>
528 </leo_file>
General Comments 0
You need to be logged in to leave comments. Login now