numeric

C++ library with numerical algorithms
git clone git://src.adamsgaard.dk/numeric # fast
git clone https://src.adamsgaard.dk/numeric.git # slow
Log | Files | Refs | README | LICENSE Back to index

plotD.gp.html (2477B)


      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
      2 <html>
      3 <head>
      4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      5 <title>~/code/numeric/exam/plotD.gp.html</title>
      6 <meta name="Generator" content="Vim/7.4">
      7 <meta name="plugin-version" content="vim7.4_v1">
      8 <meta name="syntax" content="gp">
      9 <meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
     10 <meta name="colorscheme" content="desert">
     11 <style type="text/css">
     12 <!--
     13 pre { white-space: pre-wrap; font-family: monospace; color: #ffffff; background-color: #000000; }
     14 body { font-family: monospace; color: #ffffff; background-color: #000000; }
     15 * { font-size: 1em; }
     16 .Statement { color: #804000; }
     17 .LineNr { color: #804000; }
     18 .Constant { color: #af5f00; }
     19 -->
     20 </style>
     21 
     22 <script type='text/javascript'>
     23 <!--
     24 
     25 /* function to open any folds containing a jumped-to line before jumping to it */
     26 function JumpToLine()
     27 {
     28   var lineNum;
     29   lineNum = window.location.hash;
     30   lineNum = lineNum.substr(1); /* strip off '#' */
     31 
     32   if (lineNum.indexOf('L') == -1) {
     33     lineNum = 'L'+lineNum;
     34   }
     35   lineElem = document.getElementById(lineNum);
     36   /* Always jump to new location even if the line was hidden inside a fold, or
     37    * we corrected the raw number to a line ID.
     38    */
     39   if (lineElem) {
     40     lineElem.scrollIntoView(true);
     41   }
     42   return true;
     43 }
     44 if ('onhashchange' in window) {
     45   window.onhashchange = JumpToLine;
     46 }
     47 
     48 -->
     49 </script>
     50 </head>
     51 <body onload='JumpToLine();'>
     52 <pre id='vimCodeElement'>
     53 <span id="L1" class="LineNr">1 </span>set terminal png
     54 <span id="L2" class="LineNr">2 </span>set <span class="Statement">output</span> <span class="Constant">&quot;plotD.png&quot;</span>
     55 <span id="L3" class="LineNr">3 </span>set xlabel <span class="Constant">&quot;Precision&quot;</span>
     56 <span id="L4" class="LineNr">4 </span>set ylabel <span class="Constant">&quot;No. of steps&quot;</span>
     57 <span id="L5" class="LineNr">5 </span>set title <span class="Constant">&quot;Number of steps required for a given absolute and relative precision&quot;</span>
     58 <span id="L6" class="LineNr">6 </span>set grid
     59 <span id="L7" class="LineNr">7 </span>set <span class="Statement">log</span> xy
     60 <span id="L8" class="LineNr">8 </span>plot <span class="Constant">&quot;funcD.dat&quot;</span> u 1:2 t <span class="Constant">&quot;rk12&quot;</span> w lp
     61 <span id="L9" class="LineNr">9 </span>
     62 </pre>
     63 </body>
     64 </html>
     65 <!-- vim: set foldmethod=manual : -->