course_planning:simulations:binarystar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
course_planning:simulations:binarystar [2014/07/09 17:56] caballerocourse_planning:simulations:binarystar [2014/07/10 18:23] (current) caballero
Line 1: Line 1:
 ====== Simulation of a Binary Star System ====== ====== Simulation of a Binary Star System ======
  
-<PRELOAD> +{{url>http://www.pa.msu.edu/~caballero/teaching/simulations/BinaryStar.html 665px,425px |Simulation of a Binary Star}}
-# Step 1load several library files in <head> section +
-  /js/jquery.jqplot.css    # css +
-/js/jquery.min.js (not required since DokuWiki 2012-01-25 Angua uses jQuery)  +
-  /js/jquery.jqplot.min.js # js +
-</PRELOAD>+
  
-<HTML> +Made with [[http://www.glowscript.org|GlowScript]]. 
-<!-- Step 2 prepare chart box (canvas) --> +
-<p>Figure. line chart example</p> +
-<div id="chartbox" style="width:300px; height:300px;"></div> +
-</HTML> +
- +
-<JS> +
-// Step 3 : inline JavaScript to produce a chart +
-// ! do not forget to replace "$.jqplot" to "jQuery.jqplot" +
-var data = [[0,0.0],[1,1.0],[2,1.414],[5,2.236],[7,2.646],[11,3.317]]; +
-jQuery.jqplot('chartbox', [data]); +
-</JS>+
  • course_planning/simulations/binarystar.txt
  • Last modified: 2014/07/10 18:23
  • by caballero