title: How to make flot responsive?
body: <p>In the following fiddle: </p>
  
  <p><a href="http://jsfiddle.net/jamitzky/9x7aJ/" rel="noreferrer">http://jsfiddle.net/jamitzky/9x7aJ/</a></p>
  
  <p>How can I make the graph's width change if the window width changes?  </p>
  
  <p>code: </p>
  
  <pre><code>$(function () {
  var d1 = [];
  for (var i = 0; i &lt; 14; i += 0.5)
      d1.push([i, Math.sin(i)]);
  
  var d2 = [[0, 3], [4, 8], [8, 5], [9, 13]];
  
  // a null signifies separate line segments
  var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
  
  $.plot($("#placeholder"), [ d1, d2, d3 ]);
  });
  </code></pre>