SciRuby/gnuplotrb

View on GitHub
notebooks/updating_data.ipynb

Summary

Maintainability
Test Coverage
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Updating data in plots\n",
    "#### Data used in the following examples"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "x = (1..600).map { |i| i/100.0 }\n",
    "y = x.map { |xx| Math.sin(xx ** 2.3) * Math.exp(-xx) }\n",
    "nil"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### Updating data stored in file\n",
    "First lets generate a file"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "1..300"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "File.open('tons_of_data', 'w') { |f| (1..300).each { |i| f.puts \"#{x[i]} #{y[i]}\" } }"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "and plot it"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L71.2,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(53.9,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,401.3 L71.2,401.3 M575.0,401.3 L566.0,401.3  '/>\t<g transform=\"translate(53.9,405.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,358.5 L71.2,358.5 M575.0,358.5 L566.0,358.5  '/>\t<g transform=\"translate(53.9,363.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,315.8 L71.2,315.8 M575.0,315.8 L566.0,315.8  '/>\t<g transform=\"translate(53.9,320.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,273.1 L71.2,273.1 M575.0,273.1 L566.0,273.1  '/>\t<g transform=\"translate(53.9,277.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,230.3 L71.2,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(53.9,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,187.6 L71.2,187.6 M575.0,187.6 L566.0,187.6  '/>\t<g transform=\"translate(53.9,192.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,144.9 L71.2,144.9 M575.0,144.9 L566.0,144.9  '/>\t<g transform=\"translate(53.9,149.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,102.2 L71.2,102.2 M575.0,102.2 L566.0,102.2  '/>\t<g transform=\"translate(53.9,106.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.25</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,59.4 L71.2,59.4 M575.0,59.4 L566.0,59.4  '/>\t<g transform=\"translate(53.9,63.9)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L71.2,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(53.9,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.35</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L62.2,435.0 M62.2,16.7 L62.2,25.7  '/>\t<g transform=\"translate(62.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M135.5,444.0 L135.5,435.0 M135.5,16.7 L135.5,25.7  '/>\t<g transform=\"translate(135.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M208.7,444.0 L208.7,435.0 M208.7,16.7 L208.7,25.7  '/>\t<g transform=\"translate(208.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M282.0,444.0 L282.0,435.0 M282.0,16.7 L282.0,25.7  '/>\t<g transform=\"translate(282.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M355.2,444.0 L355.2,435.0 M355.2,16.7 L355.2,25.7  '/>\t<g transform=\"translate(355.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M428.5,444.0 L428.5,435.0 M428.5,16.7 L428.5,25.7  '/>\t<g transform=\"translate(428.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M501.7,444.0 L501.7,435.0 M501.7,16.7 L501.7,25.7  '/>\t<g transform=\"translate(501.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>Tons of data</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >Tons of data</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M65.1,315.7 L66.6,315.5 L68.1,315.3 L69.5,315.0 L71.0,314.6 L72.5,314.1\n",
       "\t\tL73.9,313.4 L75.4,312.7 L76.9,311.9 L78.3,311.0 L79.8,310.0 L81.2,308.9 L82.7,307.7 L84.2,306.4\n",
       "\t\tL85.6,305.1 L87.1,303.6 L88.6,302.0 L90.0,300.3 L91.5,298.5 L93.0,296.7 L94.4,294.7 L95.9,292.7\n",
       "\t\tL97.4,290.6 L98.8,288.4 L100.3,286.1 L101.8,283.7 L103.2,281.3 L104.7,278.7 L106.2,276.1 L107.6,273.5\n",
       "\t\tL109.1,270.7 L110.5,267.9 L112.0,265.0 L113.5,262.0 L114.9,259.0 L116.4,255.9 L117.9,252.8 L119.3,249.6\n",
       "\t\tL120.8,246.4 L122.3,243.0 L123.7,239.7 L125.2,236.3 L126.7,232.8 L128.1,229.3 L129.6,225.8 L131.1,222.2\n",
       "\t\tL132.5,218.6 L134.0,215.0 L135.5,211.3 L136.9,207.6 L138.4,203.8 L139.9,200.1 L141.3,196.3 L142.8,192.5\n",
       "\t\tL144.2,188.6 L145.7,184.8 L147.2,181.0 L148.6,177.1 L150.1,173.2 L151.6,169.4 L153.0,165.5 L154.5,161.7\n",
       "\t\tL156.0,157.8 L157.4,153.9 L158.9,150.1 L160.4,146.3 L161.8,142.5 L163.3,138.7 L164.8,134.9 L166.2,131.2\n",
       "\t\tL167.7,127.5 L169.2,123.8 L170.6,120.2 L172.1,116.6 L173.6,113.1 L175.0,109.6 L176.5,106.2 L177.9,102.8\n",
       "\t\tL179.4,99.4 L180.9,96.2 L182.3,93.0 L183.8,89.9 L185.3,86.8 L186.7,83.8 L188.2,80.9 L189.7,78.1\n",
       "\t\tL191.1,75.4 L192.6,72.8 L194.1,70.3 L195.5,67.8 L197.0,65.5 L198.5,63.3 L199.9,61.2 L201.4,59.2\n",
       "\t\tL202.9,57.4 L204.3,55.7 L205.8,54.1 L207.2,52.6 L208.7,51.3 L210.2,50.1 L211.6,49.0 L213.1,48.1\n",
       "\t\tL214.6,47.4 L216.0,46.8 L217.5,46.4 L219.0,46.1 L220.4,46.0 L221.9,46.1 L223.4,46.3 L224.8,46.7\n",
       "\t\tL226.3,47.3 L227.8,48.1 L229.2,49.0 L230.7,50.2 L232.2,51.5 L233.6,53.0 L235.1,54.7 L236.6,56.6\n",
       "\t\tL238.0,58.7 L239.5,61.0 L240.9,63.5 L242.4,66.2 L243.9,69.1 L245.3,72.2 L246.8,75.5 L248.3,79.0\n",
       "\t\tL249.7,82.6 L251.2,86.5 L252.7,90.6 L254.1,94.9 L255.6,99.3 L257.1,104.0 L258.5,108.8 L260.0,113.8\n",
       "\t\tL261.5,119.0 L262.9,124.4 L264.4,130.0 L265.9,135.7 L267.3,141.6 L268.8,147.6 L270.3,153.8 L271.7,160.1\n",
       "\t\tL273.2,166.6 L274.6,173.2 L276.1,180.0 L277.6,186.8 L279.0,193.8 L280.5,200.9 L282.0,208.1 L283.4,215.3\n",
       "\t\tL284.9,222.6 L286.4,230.0 L287.8,237.4 L289.3,244.9 L290.8,252.4 L292.2,260.0 L293.7,267.5 L295.2,275.0\n",
       "\t\tL296.6,282.6 L298.1,290.0 L299.6,297.5 L301.0,304.9 L302.5,312.2 L303.9,319.5 L305.4,326.6 L306.9,333.7\n",
       "\t\tL308.3,340.6 L309.8,347.4 L311.3,354.0 L312.7,360.5 L314.2,366.8 L315.7,372.9 L317.1,378.8 L318.6,384.5\n",
       "\t\tL320.1,390.0 L321.5,395.2 L323.0,400.2 L324.5,404.9 L325.9,409.3 L327.4,413.4 L328.9,417.3 L330.3,420.9\n",
       "\t\tL331.8,424.1 L333.3,427.0 L334.7,429.6 L336.2,431.8 L337.6,433.7 L339.1,435.3 L340.6,436.5 L342.0,437.3\n",
       "\t\tL343.5,437.8 L345.0,438.0 L346.4,437.7 L347.9,437.1 L349.4,436.2 L350.8,434.9 L352.3,433.2 L353.8,431.2\n",
       "\t\tL355.2,428.9 L356.7,426.2 L358.2,423.2 L359.6,419.9 L361.1,416.3 L362.6,412.4 L364.0,408.2 L365.5,403.7\n",
       "\t\tL366.9,399.0 L368.4,394.1 L369.9,388.9 L371.3,383.6 L372.8,378.1 L374.3,372.4 L375.7,366.6 L377.2,360.7\n",
       "\t\tL378.7,354.6 L380.1,348.6 L381.6,342.4 L383.1,336.3 L384.5,330.1 L386.0,324.0 L387.5,317.9 L388.9,311.9\n",
       "\t\tL390.4,306.0 L391.9,300.2 L393.3,294.6 L394.8,289.2 L396.3,283.9 L397.7,278.9 L399.2,274.1 L400.6,269.6\n",
       "\t\tL402.1,265.3 L403.6,261.4 L405.0,257.7 L406.5,254.4 L408.0,251.5 L409.4,248.9 L410.9,246.7 L412.4,244.8\n",
       "\t\tL413.8,243.4 L415.3,242.3 L416.8,241.6 L418.2,241.4 L419.7,241.5 L421.2,242.1 L422.6,243.0 L424.1,244.3\n",
       "\t\tL425.6,246.0 L427.0,248.1 L428.5,250.5 L430.0,253.3 L431.4,256.3 L432.9,259.7 L434.3,263.4 L435.8,267.3\n",
       "\t\tL437.3,271.5 L438.7,275.8 L440.2,280.4 L441.7,285.1 L443.1,289.9 L444.6,294.8 L446.1,299.8 L447.5,304.8\n",
       "\t\tL449.0,309.8 L450.5,314.8 L451.9,319.7 L453.4,324.5 L454.9,329.1 L456.3,333.6 L457.8,338.0 L459.3,342.1\n",
       "\t\tL460.7,345.9 L462.2,349.5 L463.6,352.8 L465.1,355.7 L466.6,358.3 L468.0,360.6 L469.5,362.5 L471.0,364.0\n",
       "\t\tL472.4,365.2 L473.9,365.9 L475.4,366.2 L476.8,366.2 L478.3,365.7 L479.8,364.9 L481.2,363.6 L482.7,362.0\n",
       "\t\tL484.2,360.1 L485.6,357.8 L487.1,355.2 L488.6,352.3 L490.0,349.1 L491.5,345.7 L493.0,342.1 L494.4,338.3\n",
       "\t\tL495.9,334.4 L497.3,330.4 L498.8,326.3 L500.3,322.2 L501.7,318.1 L503.2,314.0  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x000000016cc4f0 @options=Hamster::Hash[], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x000000016cc478 @type=:datafile, @data=\"'tons_of_data'\", @options=Hamster::Hash[:title => \"Tons of data\", :with => \"lines\"]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "require 'gnuplotrb'\n",
    "include GnuplotRB\n",
    "\n",
    "graph = Plot.new(['tons_of_data', title: 'Tons of data', with: 'lines'])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Now we can just append file and replot out graph"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L71.2,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(53.9,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,401.3 L71.2,401.3 M575.0,401.3 L566.0,401.3  '/>\t<g transform=\"translate(53.9,405.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,358.5 L71.2,358.5 M575.0,358.5 L566.0,358.5  '/>\t<g transform=\"translate(53.9,363.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,315.8 L71.2,315.8 M575.0,315.8 L566.0,315.8  '/>\t<g transform=\"translate(53.9,320.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,273.1 L71.2,273.1 M575.0,273.1 L566.0,273.1  '/>\t<g transform=\"translate(53.9,277.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,230.3 L71.2,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(53.9,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,187.6 L71.2,187.6 M575.0,187.6 L566.0,187.6  '/>\t<g transform=\"translate(53.9,192.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,144.9 L71.2,144.9 M575.0,144.9 L566.0,144.9  '/>\t<g transform=\"translate(53.9,149.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,102.2 L71.2,102.2 M575.0,102.2 L566.0,102.2  '/>\t<g transform=\"translate(53.9,106.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.25</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,59.4 L71.2,59.4 M575.0,59.4 L566.0,59.4  '/>\t<g transform=\"translate(53.9,63.9)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L71.2,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(53.9,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.35</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L62.2,435.0 M62.2,16.7 L62.2,25.7  '/>\t<g transform=\"translate(62.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M147.7,444.0 L147.7,435.0 M147.7,16.7 L147.7,25.7  '/>\t<g transform=\"translate(147.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M233.1,444.0 L233.1,435.0 M233.1,16.7 L233.1,25.7  '/>\t<g transform=\"translate(233.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M318.6,444.0 L318.6,435.0 M318.6,16.7 L318.6,25.7  '/>\t<g transform=\"translate(318.6,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M404.1,444.0 L404.1,435.0 M404.1,16.7 L404.1,25.7  '/>\t<g transform=\"translate(404.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M489.5,444.0 L489.5,435.0 M489.5,16.7 L489.5,25.7  '/>\t<g transform=\"translate(489.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>Tons of data</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >Tons of data</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M63.9,315.7 L64.8,315.5 L65.6,315.3 L66.5,315.0 L67.3,314.6 L68.2,314.1\n",
       "\t\tL69.0,313.4 L69.9,312.7 L70.7,311.9 L71.6,311.0 L72.5,310.0 L73.3,308.9 L74.2,307.7 L75.0,306.4\n",
       "\t\tL75.9,305.1 L76.7,303.6 L77.6,302.0 L78.4,300.3 L79.3,298.5 L80.1,296.7 L81.0,294.7 L81.9,292.7\n",
       "\t\tL82.7,290.6 L83.6,288.4 L84.4,286.1 L85.3,283.7 L86.1,281.3 L87.0,278.7 L87.8,276.1 L88.7,273.5\n",
       "\t\tL89.5,270.7 L90.4,267.9 L91.3,265.0 L92.1,262.0 L93.0,259.0 L93.8,255.9 L94.7,252.8 L95.5,249.6\n",
       "\t\tL96.4,246.4 L97.2,243.0 L98.1,239.7 L99.0,236.3 L99.8,232.8 L100.7,229.3 L101.5,225.8 L102.4,222.2\n",
       "\t\tL103.2,218.6 L104.1,215.0 L104.9,211.3 L105.8,207.6 L106.6,203.8 L107.5,200.1 L108.4,196.3 L109.2,192.5\n",
       "\t\tL110.1,188.6 L110.9,184.8 L111.8,181.0 L112.6,177.1 L113.5,173.2 L114.3,169.4 L115.2,165.5 L116.0,161.7\n",
       "\t\tL116.9,157.8 L117.8,153.9 L118.6,150.1 L119.5,146.3 L120.3,142.5 L121.2,138.7 L122.0,134.9 L122.9,131.2\n",
       "\t\tL123.7,127.5 L124.6,123.8 L125.4,120.2 L126.3,116.6 L127.2,113.1 L128.0,109.6 L128.9,106.2 L129.7,102.8\n",
       "\t\tL130.6,99.4 L131.4,96.2 L132.3,93.0 L133.1,89.9 L134.0,86.8 L134.8,83.8 L135.7,80.9 L136.6,78.1\n",
       "\t\tL137.4,75.4 L138.3,72.8 L139.1,70.3 L140.0,67.8 L140.8,65.5 L141.7,63.3 L142.5,61.2 L143.4,59.2\n",
       "\t\tL144.2,57.4 L145.1,55.7 L146.0,54.1 L146.8,52.6 L147.7,51.3 L148.5,50.1 L149.4,49.0 L150.2,48.1\n",
       "\t\tL151.1,47.4 L151.9,46.8 L152.8,46.4 L153.6,46.1 L154.5,46.0 L155.4,46.1 L156.2,46.3 L157.1,46.7\n",
       "\t\tL157.9,47.3 L158.8,48.1 L159.6,49.0 L160.5,50.2 L161.3,51.5 L162.2,53.0 L163.1,54.7 L163.9,56.6\n",
       "\t\tL164.8,58.7 L165.6,61.0 L166.5,63.5 L167.3,66.2 L168.2,69.1 L169.0,72.2 L169.9,75.5 L170.7,79.0\n",
       "\t\tL171.6,82.6 L172.5,86.5 L173.3,90.6 L174.2,94.9 L175.0,99.3 L175.9,104.0 L176.7,108.8 L177.6,113.8\n",
       "\t\tL178.4,119.0 L179.3,124.4 L180.1,130.0 L181.0,135.7 L181.9,141.6 L182.7,147.6 L183.6,153.8 L184.4,160.1\n",
       "\t\tL185.3,166.6 L186.1,173.2 L187.0,180.0 L187.8,186.8 L188.7,193.8 L189.5,200.9 L190.4,208.1 L191.3,215.3\n",
       "\t\tL192.1,222.6 L193.0,230.0 L193.8,237.4 L194.7,244.9 L195.5,252.4 L196.4,260.0 L197.2,267.5 L198.1,275.0\n",
       "\t\tL198.9,282.6 L199.8,290.0 L200.7,297.5 L201.5,304.9 L202.4,312.2 L203.2,319.5 L204.1,326.6 L204.9,333.7\n",
       "\t\tL205.8,340.6 L206.6,347.4 L207.5,354.0 L208.3,360.5 L209.2,366.8 L210.1,372.9 L210.9,378.8 L211.8,384.5\n",
       "\t\tL212.6,390.0 L213.5,395.2 L214.3,400.2 L215.2,404.9 L216.0,409.3 L216.9,413.4 L217.7,417.3 L218.6,420.9\n",
       "\t\tL219.5,424.1 L220.3,427.0 L221.2,429.6 L222.0,431.8 L222.9,433.7 L223.7,435.3 L224.6,436.5 L225.4,437.3\n",
       "\t\tL226.3,437.8 L227.2,438.0 L228.0,437.7 L228.9,437.1 L229.7,436.2 L230.6,434.9 L231.4,433.2 L232.3,431.2\n",
       "\t\tL233.1,428.9 L234.0,426.2 L234.8,423.2 L235.7,419.9 L236.6,416.3 L237.4,412.4 L238.3,408.2 L239.1,403.7\n",
       "\t\tL240.0,399.0 L240.8,394.1 L241.7,388.9 L242.5,383.6 L243.4,378.1 L244.2,372.4 L245.1,366.6 L246.0,360.7\n",
       "\t\tL246.8,354.6 L247.7,348.6 L248.5,342.4 L249.4,336.3 L250.2,330.1 L251.1,324.0 L251.9,317.9 L252.8,311.9\n",
       "\t\tL253.6,306.0 L254.5,300.2 L255.4,294.6 L256.2,289.2 L257.1,283.9 L257.9,278.9 L258.8,274.1 L259.6,269.6\n",
       "\t\tL260.5,265.3 L261.3,261.4 L262.2,257.7 L263.0,254.4 L263.9,251.5 L264.8,248.9 L265.6,246.7 L266.5,244.8\n",
       "\t\tL267.3,243.4 L268.2,242.3 L269.0,241.6 L269.9,241.4 L270.7,241.5 L271.6,242.1 L272.4,243.0 L273.3,244.3\n",
       "\t\tL274.2,246.0 L275.0,248.1 L275.9,250.5 L276.7,253.3 L277.6,256.3 L278.4,259.7 L279.3,263.4 L280.1,267.3\n",
       "\t\tL281.0,271.5 L281.8,275.8 L282.7,280.4 L283.6,285.1 L284.4,289.9 L285.3,294.8 L286.1,299.8 L287.0,304.8\n",
       "\t\tL287.8,309.8 L288.7,314.8 L289.5,319.7 L290.4,324.5 L291.3,329.1 L292.1,333.6 L293.0,338.0 L293.8,342.1\n",
       "\t\tL294.7,345.9 L295.5,349.5 L296.4,352.8 L297.2,355.7 L298.1,358.3 L298.9,360.6 L299.8,362.5 L300.7,364.0\n",
       "\t\tL301.5,365.2 L302.4,365.9 L303.2,366.2 L304.1,366.2 L304.9,365.7 L305.8,364.9 L306.6,363.6 L307.5,362.0\n",
       "\t\tL308.3,360.1 L309.2,357.8 L310.1,355.2 L310.9,352.3 L311.8,349.1 L312.6,345.7 L313.5,342.1 L314.3,338.3\n",
       "\t\tL315.2,334.4 L316.0,330.4 L316.9,326.3 L317.7,322.2 L318.6,318.1 L319.5,314.0 L320.3,310.0 L321.2,306.1\n",
       "\t\tL322.0,302.4 L322.9,298.9 L323.7,295.5 L324.6,292.5 L325.4,289.7 L326.3,287.2 L327.1,285.0 L328.0,283.2\n",
       "\t\tL328.9,281.7 L329.7,280.6 L330.6,279.9 L331.4,279.5 L332.3,279.6 L333.1,280.0 L334.0,280.8 L334.8,281.9\n",
       "\t\tL335.7,283.4 L336.5,285.3 L337.4,287.4 L338.3,289.8 L339.1,292.5 L340.0,295.4 L340.8,298.4 L341.7,301.6\n",
       "\t\tL342.5,305.0 L343.4,308.4 L344.2,311.8 L345.1,315.2 L345.9,318.6 L346.8,321.9 L347.7,325.1 L348.5,328.1\n",
       "\t\tL349.4,330.9 L350.2,333.4 L351.1,335.8 L351.9,337.8 L352.8,339.5 L353.6,340.9 L354.5,341.9 L355.4,342.6\n",
       "\t\tL356.2,343.0 L357.1,342.9 L357.9,342.6 L358.8,341.8 L359.6,340.8 L360.5,339.4 L361.3,337.7 L362.2,335.7\n",
       "\t\tL363.0,333.5 L363.9,331.1 L364.8,328.5 L365.6,325.8 L366.5,323.0 L367.3,320.1 L368.2,317.2 L369.0,314.4\n",
       "\t\tL369.9,311.6 L370.7,308.9 L371.6,306.3 L372.4,304.0 L373.3,301.8 L374.2,299.9 L375.0,298.3 L375.9,297.0\n",
       "\t\tL376.7,296.0 L377.6,295.3 L378.4,294.9 L379.3,294.9 L380.1,295.2 L381.0,295.8 L381.8,296.8 L382.7,298.0\n",
       "\t\tL383.6,299.5 L384.4,301.3 L385.3,303.3 L386.1,305.4 L387.0,307.7 L387.8,310.1 L388.7,312.5 L389.5,315.0\n",
       "\t\tL390.4,317.4 L391.2,319.8 L392.1,322.0 L393.0,324.1 L393.8,326.1 L394.7,327.8 L395.5,329.2 L396.4,330.4\n",
       "\t\tL397.2,331.4 L398.1,332.0 L398.9,332.3 L399.8,332.3 L400.6,332.0 L401.5,331.3 L402.4,330.4 L403.2,329.3\n",
       "\t\tL404.1,327.9 L404.9,326.3 L405.8,324.5 L406.6,322.6 L407.5,320.5 L408.3,318.5 L409.2,316.3 L410.0,314.3\n",
       "\t\tL410.9,312.3 L411.8,310.3 L412.6,308.6 L413.5,307.0 L414.3,305.6 L415.2,304.5 L416.0,303.6 L416.9,303.0\n",
       "\t\tL417.7,302.6 L418.6,302.6 L419.5,302.8 L420.3,303.4 L421.2,304.2 L422.0,305.2 L422.9,306.4 L423.7,307.8\n",
       "\t\tL424.6,309.4 L425.4,311.1 L426.3,312.9 L427.1,314.7 L428.0,316.5 L428.9,318.3 L429.7,320.0 L430.6,321.5\n",
       "\t\tL431.4,322.9 L432.3,324.1 L433.1,325.1 L434.0,325.8 L434.8,326.3 L435.7,326.5 L436.5,326.5 L437.4,326.2\n",
       "\t\tL438.3,325.7 L439.1,324.9 L440.0,323.9 L440.8,322.7 L441.7,321.4 L442.5,319.9 L443.4,318.4 L444.2,316.8\n",
       "\t\tL445.1,315.3 L445.9,313.7 L446.8,312.3 L447.7,310.9 L448.5,309.8 L449.4,308.8 L450.2,308.0 L451.1,307.4\n",
       "\t\tL451.9,307.1 L452.8,307.0 L453.6,307.1 L454.5,307.5 L455.3,308.1 L456.2,308.9 L457.1,309.9 L457.9,311.0\n",
       "\t\tL458.8,312.3 L459.6,313.6 L460.5,315.0 L461.3,316.4 L462.2,317.7 L463.0,319.0 L463.9,320.1 L464.7,321.1\n",
       "\t\tL465.6,321.9 L466.5,322.5 L467.3,323.0 L468.2,323.2 L469.0,323.1 L469.9,322.9 L470.7,322.4 L471.6,321.7\n",
       "\t\tL472.4,320.9 L473.3,319.9 L474.1,318.9 L475.0,317.7 L475.9,316.5 L476.7,315.3 L477.6,314.1 L478.4,313.0\n",
       "\t\tL479.3,312.1 L480.1,311.2 L481.0,310.5 L481.8,310.0 L482.7,309.7 L483.6,309.6 L484.4,309.8 L485.3,310.1\n",
       "\t\tL486.1,310.6 L487.0,311.2 L487.8,312.0 L488.7,313.0 L489.5,314.0 L490.4,315.0 L491.2,316.1 L492.1,317.1\n",
       "\t\tL493.0,318.1 L493.8,319.0 L494.7,319.7 L495.5,320.3 L496.4,320.7 L497.2,321.0 L498.1,321.0 L498.9,320.9\n",
       "\t\tL499.8,320.6 L500.6,320.1 L501.5,319.4 L502.4,318.7 L503.2,317.8 L504.1,316.9 L504.9,316.0 L505.8,315.0\n",
       "\t\tL506.6,314.2 L507.5,313.3 L508.3,312.7 L509.2,312.1 L510.0,311.7 L510.9,311.4 L511.8,311.4 L512.6,311.5\n",
       "\t\tL513.5,311.8 L514.3,312.2 L515.2,312.8 L516.0,313.4 L516.9,314.2 L517.7,315.0 L518.6,315.9 L519.4,316.7\n",
       "\t\tL520.3,317.4 L521.2,318.1 L522.0,318.7 L522.9,319.2 L523.7,319.5 L524.6,319.6 L525.4,319.6 L526.3,319.4\n",
       "\t\tL527.1,319.1 L528.0,318.6 L528.8,318.0 L529.7,317.4 L530.6,316.7 L531.4,315.9 L532.3,315.2 L533.1,314.5\n",
       "\t\tL534.0,313.9 L534.8,313.3 L535.7,312.9 L536.5,312.7 L537.4,312.5 L538.2,312.6 L539.1,312.7 L540.0,313.1\n",
       "\t\tL540.8,313.5 L541.7,314.0 L542.5,314.6 L543.4,315.3 L544.2,315.9 L545.1,316.6 L545.9,317.2 L546.8,317.7\n",
       "\t\tL547.7,318.1 L548.5,318.4 L549.4,318.6 L550.2,318.6 L551.1,318.5 L551.9,318.3 L552.8,318.0 L553.6,317.5\n",
       "\t\tL554.5,317.0 L555.3,316.4 L556.2,315.8 L557.1,315.2 L557.9,314.7 L558.8,314.2 L559.6,313.8 L560.5,313.5\n",
       "\t\tL561.3,313.4 L562.2,313.3 L563.0,313.4 L563.9,313.7 L564.7,314.0 L565.6,314.4 L566.5,314.9 L567.3,315.4\n",
       "\t\tL568.2,315.9 L569.0,316.5 L569.9,316.9 L570.7,317.3 L571.6,317.7 L572.4,317.9 L573.3,318.0 L574.1,317.9\n",
       "\t\tL575.0,317.8  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x000000016cc4f0 @options=Hamster::Hash[], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x000000016cc478 @type=:datafile, @data=\"'tons_of_data'\", @options=Hamster::Hash[:title => \"Tons of data\", :with => \"lines\"]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "File.open('tons_of_data', 'a') { |f| (301..600).each { |i| f.puts \"#{x[i]} #{y[i]}\" } }\n",
    "\n",
    "graph"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### Updating data given as points array\n",
    "##### 1. Data stored in memory and piped to gnuplot in here-doc"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L71.2,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(53.9,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,401.3 L71.2,401.3 M575.0,401.3 L566.0,401.3  '/>\t<g transform=\"translate(53.9,405.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,358.5 L71.2,358.5 M575.0,358.5 L566.0,358.5  '/>\t<g transform=\"translate(53.9,363.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,315.8 L71.2,315.8 M575.0,315.8 L566.0,315.8  '/>\t<g transform=\"translate(53.9,320.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,273.1 L71.2,273.1 M575.0,273.1 L566.0,273.1  '/>\t<g transform=\"translate(53.9,277.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,230.3 L71.2,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(53.9,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,187.6 L71.2,187.6 M575.0,187.6 L566.0,187.6  '/>\t<g transform=\"translate(53.9,192.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,144.9 L71.2,144.9 M575.0,144.9 L566.0,144.9  '/>\t<g transform=\"translate(53.9,149.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,102.2 L71.2,102.2 M575.0,102.2 L566.0,102.2  '/>\t<g transform=\"translate(53.9,106.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.25</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,59.4 L71.2,59.4 M575.0,59.4 L566.0,59.4  '/>\t<g transform=\"translate(53.9,63.9)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L71.2,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(53.9,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.35</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L62.2,435.0 M62.2,16.7 L62.2,25.7  '/>\t<g transform=\"translate(62.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M108.8,444.0 L108.8,435.0 M108.8,16.7 L108.8,25.7  '/>\t<g transform=\"translate(108.8,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M155.4,444.0 L155.4,435.0 M155.4,16.7 L155.4,25.7  '/>\t<g transform=\"translate(155.4,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M202.1,444.0 L202.1,435.0 M202.1,16.7 L202.1,25.7  '/>\t<g transform=\"translate(202.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M248.7,444.0 L248.7,435.0 M248.7,16.7 L248.7,25.7  '/>\t<g transform=\"translate(248.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M295.3,444.0 L295.3,435.0 M295.3,16.7 L295.3,25.7  '/>\t<g transform=\"translate(295.3,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M341.9,444.0 L341.9,435.0 M341.9,16.7 L341.9,25.7  '/>\t<g transform=\"translate(341.9,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M388.5,444.0 L388.5,435.0 M388.5,16.7 L388.5,25.7  '/>\t<g transform=\"translate(388.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M435.1,444.0 L435.1,435.0 M435.1,16.7 L435.1,25.7  '/>\t<g transform=\"translate(435.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M481.8,444.0 L481.8,435.0 M481.8,16.7 L481.8,25.7  '/>\t<g transform=\"translate(481.8,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M528.4,444.0 L528.4,435.0 M528.4,16.7 L528.4,25.7  '/>\t<g transform=\"translate(528.4,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>Before update</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >Before update</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M64.5,315.8 L66.9,315.7 L69.2,315.5 L71.5,315.3 L73.9,315.0 L76.2,314.6\n",
       "\t\tL78.5,314.1 L80.8,313.4 L83.2,312.7 L85.5,311.9 L87.8,311.0 L90.2,310.0 L92.5,308.9 L94.8,307.7\n",
       "\t\tL97.2,306.4 L99.5,305.1 L101.8,303.6 L104.2,302.0 L106.5,300.3 L108.8,298.5 L111.1,296.7 L113.5,294.7\n",
       "\t\tL115.8,292.7 L118.1,290.6 L120.5,288.4 L122.8,286.1 L125.1,283.7 L127.5,281.3 L129.8,278.7 L132.1,276.1\n",
       "\t\tL134.5,273.5 L136.8,270.7 L139.1,267.9 L141.5,265.0 L143.8,262.0 L146.1,259.0 L148.4,255.9 L150.8,252.8\n",
       "\t\tL153.1,249.6 L155.4,246.4 L157.8,243.0 L160.1,239.7 L162.4,236.3 L164.8,232.8 L167.1,229.3 L169.4,225.8\n",
       "\t\tL171.8,222.2 L174.1,218.6 L176.4,215.0 L178.7,211.3 L181.1,207.6 L183.4,203.8 L185.7,200.1 L188.1,196.3\n",
       "\t\tL190.4,192.5 L192.7,188.6 L195.1,184.8 L197.4,181.0 L199.7,177.1 L202.1,173.2 L204.4,169.4 L206.7,165.5\n",
       "\t\tL209.0,161.7 L211.4,157.8 L213.7,153.9 L216.0,150.1 L218.4,146.3 L220.7,142.5 L223.0,138.7 L225.4,134.9\n",
       "\t\tL227.7,131.2 L230.0,127.5 L232.4,123.8 L234.7,120.2 L237.0,116.6 L239.3,113.1 L241.7,109.6 L244.0,106.2\n",
       "\t\tL246.3,102.8 L248.7,99.4 L251.0,96.2 L253.3,93.0 L255.7,89.9 L258.0,86.8 L260.3,83.8 L262.7,80.9\n",
       "\t\tL265.0,78.1 L267.3,75.4 L269.7,72.8 L272.0,70.3 L274.3,67.8 L276.6,65.5 L279.0,63.3 L281.3,61.2\n",
       "\t\tL283.6,59.2 L286.0,57.4 L288.3,55.7 L290.6,54.1 L293.0,52.6 L295.3,51.3 L297.6,50.1 L300.0,49.0\n",
       "\t\tL302.3,48.1 L304.6,47.4 L306.9,46.8 L309.3,46.4 L311.6,46.1 L313.9,46.0 L316.3,46.1 L318.6,46.3\n",
       "\t\tL320.9,46.7 L323.3,47.3 L325.6,48.1 L327.9,49.0 L330.3,50.2 L332.6,51.5 L334.9,53.0 L337.2,54.7\n",
       "\t\tL339.6,56.6 L341.9,58.7 L344.2,61.0 L346.6,63.5 L348.9,66.2 L351.2,69.1 L353.6,72.2 L355.9,75.5\n",
       "\t\tL358.2,79.0 L360.6,82.6 L362.9,86.5 L365.2,90.6 L367.5,94.9 L369.9,99.3 L372.2,104.0 L374.5,108.8\n",
       "\t\tL376.9,113.8 L379.2,119.0 L381.5,124.4 L383.9,130.0 L386.2,135.7 L388.5,141.6 L390.9,147.6 L393.2,153.8\n",
       "\t\tL395.5,160.1 L397.9,166.6 L400.2,173.2 L402.5,180.0 L404.8,186.8 L407.2,193.8 L409.5,200.9 L411.8,208.1\n",
       "\t\tL414.2,215.3 L416.5,222.6 L418.8,230.0 L421.2,237.4 L423.5,244.9 L425.8,252.4 L428.2,260.0 L430.5,267.5\n",
       "\t\tL432.8,275.0 L435.1,282.6 L437.5,290.0 L439.8,297.5 L442.1,304.9 L444.5,312.2 L446.8,319.5 L449.1,326.6\n",
       "\t\tL451.5,333.7 L453.8,340.6 L456.1,347.4 L458.5,354.0 L460.8,360.5 L463.1,366.8 L465.4,372.9 L467.8,378.8\n",
       "\t\tL470.1,384.5 L472.4,390.0 L474.8,395.2 L477.1,400.2 L479.4,404.9 L481.8,409.3 L484.1,413.4 L486.4,417.3\n",
       "\t\tL488.8,420.9 L491.1,424.1 L493.4,427.0 L495.7,429.6 L498.1,431.8 L500.4,433.7 L502.7,435.3 L505.1,436.5\n",
       "\t\tL507.4,437.3 L509.7,437.8 L512.1,438.0 L514.4,437.7 L516.7,437.1 L519.1,436.2 L521.4,434.9 L523.7,433.2\n",
       "\t\tL526.1,431.2 L528.4,428.9 L530.7,426.2  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x000000015bd140 @options=Hamster::Hash[], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x000000015bd0a0 @type=:datablock, @data=#<GnuplotRB::Datablock:0x000000015bcfb0 @stored_in_file=false, @data=\"0.01 2.4868927436513322e-05\\n0.02 0.00012125037746537788\\n0.03 0.0003050352603595612\\n0.04 0.0005852833558395339\\n0.05 0.0009680910629643855\\n0.06 0.0014577734407681439\\n0.07 0.0020574274310873933\\n0.08 0.0027692537987392004\\n0.09 0.003594762052759224\\n0.1 0.004534910638922391\\n0.11 0.005590207959218235\\n0.12 0.006760788066098809\\n0.13 0.00804646913017274\\n0.14 0.009446799705774049\\n0.15 0.01096109606223854\\n0.16 0.012588472790109972\\n0.17 0.014327868224951947\\n0.18 0.016178065796051987\\n0.19 0.018137712113872287\\n0.2 0.020205332406939107\\n0.21 0.022379343774856307\\n0.22 0.024658066619922932\\n0.23 0.027039734543037177\\n0.24 0.029522502932038647\\n0.25 0.032104456426907436\\n0.26 0.034783615412550345\\n0.27 0.03755794166364217\\n0.28 0.040425343245290915\\n0.29 0.043383678756818984\\n0.3 0.04643076099271636\\n0.31 0.04956436008409914\\n0.32 0.05278220617525428\\n0.33 0.0560819916826554\\n0.34 0.05946137317787972\\n0.35 0.06291797293089996\\n0.36 0.06644938014607536\\n0.37 0.07005315191967604\\n0.38 0.07372681394482539\\n0.39 0.07746786098724154\\n0.4 0.08127375715302751\\n0.41 0.08514193596793711\\n0.42 0.0890698002859834\\n0.43 0.09305472204391352\\n0.44 0.09709404187692107\\n0.45 0.10118506860997092\\n0.46 0.10532507863825297\\n0.47 0.10951131520954023\\n0.48 0.11374098762058753\\n0.49 0.11801127033915385\\n0.5 0.12231930206275883\\n0.51 0.12666218472487392\\n0.52 0.13103698245889994\\n0.53 0.13544072052998576\\n0.54 0.13987038424448958\\n0.55 0.14432291784667228\\n0.56 0.14879522341203502\\n0.57 0.15328415974656798\\n0.58 0.15778654130105868\\n0.59 0.16229913710951302\\n0.6 0.16681866976067183\\n0.61 0.17134181441154983\\n0.62 0.17586519785188573\\n0.63 0.18038539762837003\\n0.64 0.1848989412375028\\n0.65 0.18940230539593209\\n0.66 0.1938919153971293\\n0.67 0.19836414456326898\\n0.68 0.2028153138011952\\n0.69 0.20724169127137754\\n0.7 0.2116394921787763\\n0.71 0.21600487869455604\\n0.72 0.2203339600176034\\n0.73 0.2246227925848158\\n0.74 0.22886738043913485\\n0.75 0.2330636757642965\\n0.76 0.2372075795952607\\n0.77 0.2412949427132616\\n0.78 0.24532156673438654\\n0.79 0.24928320540054436\\n0.8 0.25317556608162023\\n0.81 0.25699431149753255\\n0.82 0.2607350616688074\\n0.83 0.26439339610416224\\n0.84 0.2679648562334481\\n0.85 0.2714449480941244\\n0.86 0.2748291452792469\\n0.87 0.2781128921547203\\n0.88 0.28129160735330827\\n0.89 0.2843606875526073\\n0.9 0.28731551154385876\\n0.91 0.2901514445981172\\n0.92 0.29286384313588787\\n0.93 0.29544805970590693\\n0.94 0.29789944827825066\\n0.95 0.3002133698564354\\n0.96 0.302385198412589\\n0.97 0.3044103271491571\\n0.98 0.3062841750899302\\n0.99 0.3080021940024543\\n1.0 0.3095598756531122\\n1.01 0.3109527593953273\\n1.02 0.31217644009045675\\n1.03 0.3132265763599954\\n1.04 0.31409889916670797\\n1.05 0.3147892207212479\\n1.06 0.3152934437096974\\n1.07 0.31560757083628393\\n1.08 0.31572771467428384\\n1.09 0.31565010781682507\\n1.1 0.31537111331793427\\n1.11 0.3148872354127525\\n1.12 0.31419513050436243\\n1.13 0.3132916184031276\\n1.14 0.31217369380284926\\n1.15 0.3108385379763937\\n1.16 0.30928353067173736\\n1.17 0.3075062621876235\\n1.18 0.30550454560621887\\n1.19 0.30327642915831626\\n1.2 0.300820208694737\\n1.21 0.29813444023566943\\n1.22 0.2952179525677231\\n1.23 0.29206985985649925\\n1.24 0.288689574240481\\n1.25 0.285076818370033\\n1.26 0.28123163785328226\\n1.27 0.2771544135686346\\n1.28 0.27284587380167563\\n1.29 0.26830710616221387\\n1.3 0.2635395692352642\\n1.31 0.25854510391784696\\n1.32 0.25332594439160255\\n1.33 0.24788472867940875\\n1.34 0.24222450873244308\\n1.35 0.23634875999247731\\n1.36 0.23026139037262672\\n1.37 0.22396674859833074\\n1.38 0.2174696318490139\\n1.39 0.21077529263969366\\n1.4 0.20388944488077146\\n1.41 0.19681826905338567\\n1.42 0.18956841643703107\\n1.43 0.18214701232568642\\n1.44 0.17456165816843683\\n1.45 0.16682043257057236\\n1.46 0.1589318910913827\\n1.47 0.1509050647753839\\n1.48 0.14274945735451436\\n1.49 0.13447504105994443\\n1.5 0.12609225098357418\\n1.51 0.11761197793106135\\n1.52 0.10904555971034485\\n1.53 0.10040477080212136\\n1.54 0.0917018103616131\\n1.55 0.08294928850423812\\n1.56 0.07416021083148859\\n1.57 0.06534796115743217\\n1.58 0.056526282400802166\\n1.59 0.04770925561263269\\n1.6 0.038911277114840145\\n1.61 0.030147033731050276\\n1.62 0.021431476097335242\\n1.63 0.012779790047346156\\n1.64 0.004207366073611683\\n1.65 -0.004270233125474918\\n1.66 -0.012637306995273765\\n1.67 -0.02087805334476109\\n1.68 -0.0289766064012139\\n1.69 -0.036917076654798806\\n1.7 -0.04468359243826604\\n1.71 -0.052260343176684085\\n1.72 -0.05963162423154286\\n1.73 -0.06678188325262198\\n1.74 -0.07369576793980533\\n1.75 -0.08035817510556414\\n1.76 -0.08675430091716105\\n1.77 -0.0928696921858077\\n1.78 -0.09869029855807711\\n1.79 -0.1042025254528918\\n1.8 -0.10939328757544066\\n1.81 -0.11425006282747906\\n1.82 -0.11876094642171639\\n1.83 -0.12291470499645875\\n1.84 -0.12670083051543166\\n1.85 -0.13010959372684366\\n1.86 -0.1331320969453439\\n1.87 -0.13576032591067064\\n1.88 -0.1379872004675746\\n1.89 -0.13980662380311812\\n1.9 -0.14121352996980957\\n1.91 -0.14220392941631696\\n1.92 -0.1427749522418256\\n1.93 -0.14292488888556198\\n1.94 -0.14265322795969876\\n1.95 -0.14196069093188937\\n1.96 -0.1408492633631551\\n1.97 -0.13932222240786102\\n1.98 -0.13738416028516715\\n1.99 -0.13504100343572067\\n2.0 -0.1323000270835529\\n2.01 -0.12916986493124313\">, @options=Hamster::Hash[:with => \"lines\", :title => \"Before update\"]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x0 = x[0..200]\n",
    "y0 = y[0..200]\n",
    "updatable_plot = Plot.new([[x0,y0], with: 'lines', title: 'Before update'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L71.2,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(53.9,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,401.3 L71.2,401.3 M575.0,401.3 L566.0,401.3  '/>\t<g transform=\"translate(53.9,405.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,358.5 L71.2,358.5 M575.0,358.5 L566.0,358.5  '/>\t<g transform=\"translate(53.9,363.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,315.8 L71.2,315.8 M575.0,315.8 L566.0,315.8  '/>\t<g transform=\"translate(53.9,320.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,273.1 L71.2,273.1 M575.0,273.1 L566.0,273.1  '/>\t<g transform=\"translate(53.9,277.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,230.3 L71.2,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(53.9,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,187.6 L71.2,187.6 M575.0,187.6 L566.0,187.6  '/>\t<g transform=\"translate(53.9,192.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,144.9 L71.2,144.9 M575.0,144.9 L566.0,144.9  '/>\t<g transform=\"translate(53.9,149.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,102.2 L71.2,102.2 M575.0,102.2 L566.0,102.2  '/>\t<g transform=\"translate(53.9,106.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.25</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,59.4 L71.2,59.4 M575.0,59.4 L566.0,59.4  '/>\t<g transform=\"translate(53.9,63.9)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L71.2,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(53.9,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.35</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L62.2,435.0 M62.2,16.7 L62.2,25.7  '/>\t<g transform=\"translate(62.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M147.7,444.0 L147.7,435.0 M147.7,16.7 L147.7,25.7  '/>\t<g transform=\"translate(147.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M233.1,444.0 L233.1,435.0 M233.1,16.7 L233.1,25.7  '/>\t<g transform=\"translate(233.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M318.6,444.0 L318.6,435.0 M318.6,16.7 L318.6,25.7  '/>\t<g transform=\"translate(318.6,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M404.1,444.0 L404.1,435.0 M404.1,16.7 L404.1,25.7  '/>\t<g transform=\"translate(404.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M489.5,444.0 L489.5,435.0 M489.5,16.7 L489.5,25.7  '/>\t<g transform=\"translate(489.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>After update</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >After update</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<use xlink:href='#gpPt0' transform='translate(63.1,315.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(63.9,315.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(64.8,315.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(65.6,315.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(66.5,315.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(67.3,314.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(68.2,314.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(69.0,313.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(69.9,312.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(70.7,311.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(71.6,311.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(72.5,310.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(73.3,308.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(74.2,307.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(75.0,306.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(75.9,305.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(76.7,303.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(77.6,302.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(78.4,300.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(79.3,298.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(80.1,296.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(81.0,294.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(81.9,292.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(82.7,290.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(83.6,288.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(84.4,286.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(85.3,283.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(86.1,281.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(87.0,278.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(87.8,276.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(88.7,273.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(89.5,270.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(90.4,267.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(91.3,265.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(92.1,262.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(93.0,259.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(93.8,255.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(94.7,252.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(95.5,249.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(96.4,246.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(97.2,243.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(98.1,239.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(99.0,236.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(99.8,232.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(100.7,229.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(101.5,225.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(102.4,222.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(103.2,218.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(104.1,215.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(104.9,211.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(105.8,207.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(106.6,203.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(107.5,200.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(108.4,196.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(109.2,192.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(110.1,188.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(110.9,184.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(111.8,181.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(112.6,177.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(113.5,173.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(114.3,169.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(115.2,165.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(116.0,161.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(116.9,157.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(117.8,153.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(118.6,150.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(119.5,146.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(120.3,142.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(121.2,138.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(122.0,134.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(122.9,131.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(123.7,127.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(124.6,123.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(125.4,120.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(126.3,116.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(127.2,113.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(128.0,109.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(128.9,106.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(129.7,102.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(130.6,99.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(131.4,96.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(132.3,93.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(133.1,89.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(134.0,86.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(134.8,83.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(135.7,80.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(136.6,78.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(137.4,75.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(138.3,72.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(139.1,70.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(140.0,67.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(140.8,65.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(141.7,63.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(142.5,61.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(143.4,59.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(144.2,57.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(145.1,55.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(146.0,54.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(146.8,52.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(147.7,51.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(148.5,50.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(149.4,49.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(150.2,48.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(151.1,47.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(151.9,46.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(152.8,46.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(153.6,46.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(154.5,46.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(155.4,46.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(156.2,46.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(157.1,46.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(157.9,47.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(158.8,48.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(159.6,49.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(160.5,50.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(161.3,51.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(162.2,53.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(163.1,54.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(163.9,56.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(164.8,58.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(165.6,61.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(166.5,63.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(167.3,66.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(168.2,69.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(169.0,72.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(169.9,75.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(170.7,79.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(171.6,82.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(172.5,86.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(173.3,90.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(174.2,94.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(175.0,99.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(175.9,104.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(176.7,108.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(177.6,113.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(178.4,119.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(179.3,124.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(180.1,130.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(181.0,135.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(181.9,141.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(182.7,147.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(183.6,153.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(184.4,160.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(185.3,166.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(186.1,173.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(187.0,180.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(187.8,186.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(188.7,193.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(189.5,200.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(190.4,208.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(191.3,215.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(192.1,222.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(193.0,230.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(193.8,237.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(194.7,244.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(195.5,252.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(196.4,260.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(197.2,267.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(198.1,275.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(198.9,282.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(199.8,290.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(200.7,297.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(201.5,304.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(202.4,312.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(203.2,319.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(204.1,326.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(204.9,333.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(205.8,340.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(206.6,347.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(207.5,354.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(208.3,360.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(209.2,366.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(210.1,372.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(210.9,378.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(211.8,384.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(212.6,390.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(213.5,395.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(214.3,400.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(215.2,404.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(216.0,409.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(216.9,413.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(217.7,417.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(218.6,420.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(219.5,424.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(220.3,427.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(221.2,429.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(222.0,431.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(222.9,433.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(223.7,435.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(224.6,436.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(225.4,437.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(226.3,437.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(227.2,438.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(228.0,437.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(228.9,437.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(229.7,436.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(230.6,434.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(231.4,433.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(232.3,431.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(233.1,428.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(234.0,426.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(234.8,423.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(235.7,419.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(236.6,416.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(237.4,412.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(238.3,408.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(239.1,403.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(240.0,399.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(240.8,394.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(241.7,388.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(242.5,383.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(243.4,378.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(244.2,372.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(245.1,366.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(246.0,360.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(246.8,354.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(247.7,348.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(248.5,342.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(249.4,336.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(250.2,330.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(251.1,324.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(251.9,317.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(252.8,311.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(253.6,306.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(254.5,300.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(255.4,294.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(256.2,289.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(257.1,283.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(257.9,278.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(258.8,274.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(259.6,269.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(260.5,265.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(261.3,261.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(262.2,257.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(263.0,254.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(263.9,251.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(264.8,248.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(265.6,246.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(266.5,244.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(267.3,243.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(268.2,242.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(269.0,241.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(269.9,241.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(270.7,241.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(271.6,242.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(272.4,243.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(273.3,244.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(274.2,246.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(275.0,248.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(275.9,250.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(276.7,253.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(277.6,256.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(278.4,259.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(279.3,263.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(280.1,267.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(281.0,271.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(281.8,275.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(282.7,280.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(283.6,285.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(284.4,289.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(285.3,294.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(286.1,299.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(287.0,304.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(287.8,309.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(288.7,314.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(289.5,319.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(290.4,324.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(291.3,329.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(292.1,333.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(293.0,338.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(293.8,342.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(294.7,345.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(295.5,349.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(296.4,352.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(297.2,355.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(298.1,358.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(298.9,360.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(299.8,362.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(300.7,364.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(301.5,365.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(302.4,365.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(303.2,366.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(304.1,366.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(304.9,365.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(305.8,364.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(306.6,363.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(307.5,362.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(308.3,360.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(309.2,357.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(310.1,355.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(310.9,352.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(311.8,349.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(312.6,345.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(313.5,342.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(314.3,338.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(315.2,334.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(316.0,330.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(316.9,326.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(317.7,322.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(318.6,318.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(319.5,314.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(320.3,310.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(321.2,306.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(322.0,302.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(322.9,298.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(323.7,295.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(324.6,292.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(325.4,289.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(326.3,287.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(327.1,285.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(328.0,283.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(328.9,281.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(329.7,280.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(330.6,279.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(331.4,279.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(332.3,279.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(333.1,280.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(334.0,280.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(334.8,281.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(335.7,283.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(336.5,285.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(337.4,287.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(338.3,289.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(339.1,292.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(340.0,295.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(340.8,298.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(341.7,301.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(342.5,305.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(343.4,308.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(344.2,311.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(345.1,315.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(345.9,318.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(346.8,321.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(347.7,325.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(348.5,328.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(349.4,330.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(350.2,333.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(351.1,335.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(351.9,337.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(352.8,339.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(353.6,340.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(354.5,341.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(355.4,342.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(356.2,343.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(357.1,342.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(357.9,342.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(358.8,341.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(359.6,340.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(360.5,339.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(361.3,337.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(362.2,335.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(363.0,333.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(363.9,331.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(364.8,328.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(365.6,325.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(366.5,323.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(367.3,320.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(368.2,317.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(369.0,314.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(369.9,311.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(370.7,308.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(371.6,306.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(372.4,304.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(373.3,301.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(374.2,299.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(375.0,298.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(375.9,297.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(376.7,296.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(377.6,295.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(378.4,294.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(379.3,294.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(380.1,295.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(381.0,295.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(381.8,296.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(382.7,298.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(383.6,299.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(384.4,301.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(385.3,303.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(386.1,305.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(387.0,307.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(387.8,310.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(388.7,312.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(389.5,315.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(390.4,317.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(391.2,319.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(392.1,322.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(393.0,324.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(393.8,326.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(394.7,327.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(395.5,329.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(396.4,330.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(397.2,331.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(398.1,332.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(398.9,332.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(399.8,332.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(400.6,332.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(401.5,331.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(402.4,330.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(403.2,329.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(404.1,327.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(404.9,326.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(405.8,324.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(406.6,322.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(407.5,320.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(408.3,318.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(409.2,316.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(410.0,314.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(410.9,312.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(411.8,310.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(412.6,308.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(413.5,307.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(414.3,305.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(415.2,304.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(416.0,303.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(416.9,303.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(417.7,302.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(418.6,302.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(419.5,302.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(420.3,303.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(421.2,304.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(422.0,305.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(422.9,306.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(423.7,307.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(424.6,309.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(425.4,311.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(426.3,312.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(427.1,314.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(428.0,316.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(428.9,318.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(429.7,320.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(430.6,321.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(431.4,322.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(432.3,324.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(433.1,325.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(434.0,325.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(434.8,326.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(435.7,326.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(436.5,326.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(437.4,326.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(438.3,325.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(439.1,324.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(440.0,323.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(440.8,322.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(441.7,321.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(442.5,319.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(443.4,318.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(444.2,316.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(445.1,315.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(445.9,313.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(446.8,312.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(447.7,310.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(448.5,309.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(449.4,308.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(450.2,308.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(451.1,307.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(451.9,307.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(452.8,307.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(453.6,307.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(454.5,307.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(455.3,308.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(456.2,308.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(457.1,309.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(457.9,311.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(458.8,312.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(459.6,313.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(460.5,315.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(461.3,316.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(462.2,317.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(463.0,319.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(463.9,320.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(464.7,321.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(465.6,321.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(466.5,322.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(467.3,323.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(468.2,323.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(469.0,323.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(469.9,322.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(470.7,322.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(471.6,321.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(472.4,320.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(473.3,319.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(474.1,318.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(475.0,317.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(475.9,316.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(476.7,315.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(477.6,314.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(478.4,313.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(479.3,312.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(480.1,311.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(481.0,310.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(481.8,310.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(482.7,309.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(483.6,309.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(484.4,309.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(485.3,310.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(486.1,310.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(487.0,311.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(487.8,312.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(488.7,313.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(489.5,314.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(490.4,315.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(491.2,316.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(492.1,317.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(493.0,318.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(493.8,319.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(494.7,319.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(495.5,320.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(496.4,320.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(497.2,321.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(498.1,321.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(498.9,320.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(499.8,320.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(500.6,320.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(501.5,319.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(502.4,318.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(503.2,317.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(504.1,316.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(504.9,316.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(505.8,315.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(506.6,314.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(507.5,313.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(508.3,312.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(509.2,312.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(510.0,311.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(510.9,311.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(511.8,311.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(512.6,311.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(513.5,311.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(514.3,312.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(515.2,312.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(516.0,313.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(516.9,314.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(517.7,315.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(518.6,315.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(519.4,316.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(520.3,317.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(521.2,318.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(522.0,318.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(522.9,319.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(523.7,319.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(524.6,319.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(525.4,319.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(526.3,319.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(527.1,319.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(528.0,318.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(528.8,318.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(529.7,317.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(530.6,316.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(531.4,315.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(532.3,315.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(533.1,314.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(534.0,313.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(534.8,313.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(535.7,312.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(536.5,312.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(537.4,312.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(538.2,312.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(539.1,312.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(540.0,313.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(540.8,313.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(541.7,314.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(542.5,314.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(543.4,315.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(544.2,315.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(545.1,316.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(545.9,317.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(546.8,317.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(547.7,318.1) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(548.5,318.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(549.4,318.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(550.2,318.6) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(551.1,318.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(551.9,318.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(552.8,318.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(553.6,317.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(554.5,317.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(555.3,316.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(556.2,315.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(557.1,315.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(557.9,314.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(558.8,314.2) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(559.6,313.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(560.5,313.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(561.3,313.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(562.2,313.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(563.0,313.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(563.9,313.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(564.7,314.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(565.6,314.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(566.5,314.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(567.3,315.4) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(568.2,315.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(569.0,316.5) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(569.9,316.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(570.7,317.3) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(571.6,317.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(572.4,317.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(573.3,318.0) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(574.1,317.9) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(575.0,317.8) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "\t<use xlink:href='#gpPt0' transform='translate(537.3,34.7) scale(4.50)' color='rgb(148,   0, 211)'/>\n",
       "</g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x0000000141b008 @options=Hamster::Hash[], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x0000000141b6c0 @type=:datablock, @data=#<GnuplotRB::Datablock:0x0000000141b5a8 @stored_in_file=false, @data=\"0.01 2.4868927436513322e-05\\n0.02 0.00012125037746537788\\n0.03 0.0003050352603595612\\n0.04 0.0005852833558395339\\n0.05 0.0009680910629643855\\n0.06 0.0014577734407681439\\n0.07 0.0020574274310873933\\n0.08 0.0027692537987392004\\n0.09 0.003594762052759224\\n0.1 0.004534910638922391\\n0.11 0.005590207959218235\\n0.12 0.006760788066098809\\n0.13 0.00804646913017274\\n0.14 0.009446799705774049\\n0.15 0.01096109606223854\\n0.16 0.012588472790109972\\n0.17 0.014327868224951947\\n0.18 0.016178065796051987\\n0.19 0.018137712113872287\\n0.2 0.020205332406939107\\n0.21 0.022379343774856307\\n0.22 0.024658066619922932\\n0.23 0.027039734543037177\\n0.24 0.029522502932038647\\n0.25 0.032104456426907436\\n0.26 0.034783615412550345\\n0.27 0.03755794166364217\\n0.28 0.040425343245290915\\n0.29 0.043383678756818984\\n0.3 0.04643076099271636\\n0.31 0.04956436008409914\\n0.32 0.05278220617525428\\n0.33 0.0560819916826554\\n0.34 0.05946137317787972\\n0.35 0.06291797293089996\\n0.36 0.06644938014607536\\n0.37 0.07005315191967604\\n0.38 0.07372681394482539\\n0.39 0.07746786098724154\\n0.4 0.08127375715302751\\n0.41 0.08514193596793711\\n0.42 0.0890698002859834\\n0.43 0.09305472204391352\\n0.44 0.09709404187692107\\n0.45 0.10118506860997092\\n0.46 0.10532507863825297\\n0.47 0.10951131520954023\\n0.48 0.11374098762058753\\n0.49 0.11801127033915385\\n0.5 0.12231930206275883\\n0.51 0.12666218472487392\\n0.52 0.13103698245889994\\n0.53 0.13544072052998576\\n0.54 0.13987038424448958\\n0.55 0.14432291784667228\\n0.56 0.14879522341203502\\n0.57 0.15328415974656798\\n0.58 0.15778654130105868\\n0.59 0.16229913710951302\\n0.6 0.16681866976067183\\n0.61 0.17134181441154983\\n0.62 0.17586519785188573\\n0.63 0.18038539762837003\\n0.64 0.1848989412375028\\n0.65 0.18940230539593209\\n0.66 0.1938919153971293\\n0.67 0.19836414456326898\\n0.68 0.2028153138011952\\n0.69 0.20724169127137754\\n0.7 0.2116394921787763\\n0.71 0.21600487869455604\\n0.72 0.2203339600176034\\n0.73 0.2246227925848158\\n0.74 0.22886738043913485\\n0.75 0.2330636757642965\\n0.76 0.2372075795952607\\n0.77 0.2412949427132616\\n0.78 0.24532156673438654\\n0.79 0.24928320540054436\\n0.8 0.25317556608162023\\n0.81 0.25699431149753255\\n0.82 0.2607350616688074\\n0.83 0.26439339610416224\\n0.84 0.2679648562334481\\n0.85 0.2714449480941244\\n0.86 0.2748291452792469\\n0.87 0.2781128921547203\\n0.88 0.28129160735330827\\n0.89 0.2843606875526073\\n0.9 0.28731551154385876\\n0.91 0.2901514445981172\\n0.92 0.29286384313588787\\n0.93 0.29544805970590693\\n0.94 0.29789944827825066\\n0.95 0.3002133698564354\\n0.96 0.302385198412589\\n0.97 0.3044103271491571\\n0.98 0.3062841750899302\\n0.99 0.3080021940024543\\n1.0 0.3095598756531122\\n1.01 0.3109527593953273\\n1.02 0.31217644009045675\\n1.03 0.3132265763599954\\n1.04 0.31409889916670797\\n1.05 0.3147892207212479\\n1.06 0.3152934437096974\\n1.07 0.31560757083628393\\n1.08 0.31572771467428384\\n1.09 0.31565010781682507\\n1.1 0.31537111331793427\\n1.11 0.3148872354127525\\n1.12 0.31419513050436243\\n1.13 0.3132916184031276\\n1.14 0.31217369380284926\\n1.15 0.3108385379763937\\n1.16 0.30928353067173736\\n1.17 0.3075062621876235\\n1.18 0.30550454560621887\\n1.19 0.30327642915831626\\n1.2 0.300820208694737\\n1.21 0.29813444023566943\\n1.22 0.2952179525677231\\n1.23 0.29206985985649925\\n1.24 0.288689574240481\\n1.25 0.285076818370033\\n1.26 0.28123163785328226\\n1.27 0.2771544135686346\\n1.28 0.27284587380167563\\n1.29 0.26830710616221387\\n1.3 0.2635395692352642\\n1.31 0.25854510391784696\\n1.32 0.25332594439160255\\n1.33 0.24788472867940875\\n1.34 0.24222450873244308\\n1.35 0.23634875999247731\\n1.36 0.23026139037262672\\n1.37 0.22396674859833074\\n1.38 0.2174696318490139\\n1.39 0.21077529263969366\\n1.4 0.20388944488077146\\n1.41 0.19681826905338567\\n1.42 0.18956841643703107\\n1.43 0.18214701232568642\\n1.44 0.17456165816843683\\n1.45 0.16682043257057236\\n1.46 0.1589318910913827\\n1.47 0.1509050647753839\\n1.48 0.14274945735451436\\n1.49 0.13447504105994443\\n1.5 0.12609225098357418\\n1.51 0.11761197793106135\\n1.52 0.10904555971034485\\n1.53 0.10040477080212136\\n1.54 0.0917018103616131\\n1.55 0.08294928850423812\\n1.56 0.07416021083148859\\n1.57 0.06534796115743217\\n1.58 0.056526282400802166\\n1.59 0.04770925561263269\\n1.6 0.038911277114840145\\n1.61 0.030147033731050276\\n1.62 0.021431476097335242\\n1.63 0.012779790047346156\\n1.64 0.004207366073611683\\n1.65 -0.004270233125474918\\n1.66 -0.012637306995273765\\n1.67 -0.02087805334476109\\n1.68 -0.0289766064012139\\n1.69 -0.036917076654798806\\n1.7 -0.04468359243826604\\n1.71 -0.052260343176684085\\n1.72 -0.05963162423154286\\n1.73 -0.06678188325262198\\n1.74 -0.07369576793980533\\n1.75 -0.08035817510556414\\n1.76 -0.08675430091716105\\n1.77 -0.0928696921858077\\n1.78 -0.09869029855807711\\n1.79 -0.1042025254528918\\n1.8 -0.10939328757544066\\n1.81 -0.11425006282747906\\n1.82 -0.11876094642171639\\n1.83 -0.12291470499645875\\n1.84 -0.12670083051543166\\n1.85 -0.13010959372684366\\n1.86 -0.1331320969453439\\n1.87 -0.13576032591067064\\n1.88 -0.1379872004675746\\n1.89 -0.13980662380311812\\n1.9 -0.14121352996980957\\n1.91 -0.14220392941631696\\n1.92 -0.1427749522418256\\n1.93 -0.14292488888556198\\n1.94 -0.14265322795969876\\n1.95 -0.14196069093188937\\n1.96 -0.1408492633631551\\n1.97 -0.13932222240786102\\n1.98 -0.13738416028516715\\n1.99 -0.13504100343572067\\n2.0 -0.1323000270835529\\n2.01 -0.12916986493124313\\n2.02 -0.1256605137264906\\n2.03 -0.12178333245036059\\n2.04 -0.11755103589170597\\n2.05 -0.11297768238866633\\n2.06 -0.10807865553673807\\n2.07 -0.10287063968375104\\n2.08 -0.09737158905515396\\n2.09 -0.0916006903783534\\n2.1 -0.08557831890240515\\n2.11 -0.07932598773914963\\n2.12 -0.07286629048380437\\n2.13 -0.06622283710708593\\n2.14 -0.05942018314696879\\n2.15 -0.052483752266175514\\n2.16 -0.04543975228122901\\n2.17 -0.03831508481031982\\n2.18 -0.031137248730095483\\n2.19 -0.023934237675665916\\n2.2 -0.016734431863338953\\n2.21 -0.009566484561701576\\n2.22 -0.002459203583312185\\n2.23 0.0045585717837376884\\n2.24 0.011458097938171962\\n2.25 0.018210857708881735\\n2.26 0.02478869412038292\\n2.27 0.03116394657646768\\n2.28 0.03730958881454442\\n2.29 0.04319936794134356\\n2.3 0.04880794382102105\\n2.31 0.054111028049688634\\n2.32 0.05908552171638709\\n2.33 0.06370965112000777\\n2.34 0.06796310058501734\\n2.35 0.071827141496553\\n2.36 0.07528475665789287\\n2.37 0.07832075906094971\\n2.38 0.08092190415363758\\n2.39 0.08307699468716037\\n2.4 0.08477697723179146\\n2.41 0.08601502946193954\\n2.42 0.08678663733050014\\n2.43 0.08708966127898347\\n2.44 0.08692439066389579\\n2.45 0.0862935856215382\\n2.46 0.08520250564290206\\n2.47 0.0836589241877675\\n2.48 0.08167312873247239\\n2.49 0.0792579057190635\\n2.5 0.07642850995456398\\n2.51 0.07320261809768921\\n2.52 0.0696002659662682\\n2.53 0.06564376950151972\\n2.54 0.06135762933476666\\n2.55 0.05676841901764849\\n2.56 0.05190465709778276\\n2.57 0.046796663347483024\\n2.58 0.04147639958275288\\n2.59 0.03597729564252609\\n2.6 0.030334061233028026\\n2.61 0.024582484478226772\\n2.62 0.01875921815346649\\n2.63 0.012901554714436615\\n2.64 0.0070471913663230955\\n2.65 0.001233986547105971\\n2.66 -0.004500290676904231\\n2.67 -0.01011821668734483\\n2.68 -0.01558297313585465\\n2.69 -0.02085860868486052\\n2.7 -0.02591030074963169\\n2.71 -0.030704615245627544\\n2.72 -0.03520976228001356\\n2.73 -0.03939584567569053\\n2.74 -0.04323510418161239\\n2.75 -0.046702142205696066\\n2.76 -0.0497741479074055\\n2.77 -0.0524310965070678\\n2.78 -0.05465593670904438\\n2.79 -0.05643475819673088\\n2.8 -0.057756938239538404\\n2.81 -0.058615265555899874\\n2.82 -0.05900603970208931\\n2.83 -0.05892914440421453\\n2.84 -0.05838809341985459\\n2.85 -0.05739004770595838\\n2.86 -0.05594580288003377\\n2.87 -0.054069746191315986\\n2.88 -0.05177978246623193\\n2.89 -0.049097228756513026\\n2.9 -0.04604667769695173\\n2.91 -0.042655829870948105\\n2.92 -0.038955295783333066\\n2.93 -0.034978368348881426\\n2.94 -0.030760767118639336\\n2.95 -0.026340355781629726\\n2.96 -0.021756834793457063\\n2.97 -0.017051411292375813\\n2.98 -0.012266448764006123\\n2.99 -0.007445099204370643\\n3.0 -0.0026309208036135803\\n3.01 0.002132515574179333\\n3.02 0.006802027609911585\\n3.03 0.011335226739358124\\n3.04 0.015690923474206808\\n3.05 0.019829528816570505\\n3.06 0.02371344764876748\\n3.07 0.027307459919970224\\n3.08 0.030579085434179937\\n3.09 0.033498928072160296\\n3.1 0.036040995355410575\\n3.11 0.03818298938437689\\n3.12 0.039906565356856445\\n3.13 0.04119755409629225\\n3.14 0.042046145293194115\\n3.15 0.04244702848539618\\n3.16 0.04239948917279182\\n3.17 0.04190745787739362\\n3.18 0.0409795104172006\\n3.19 0.03962881815886461\\n3.2 0.037873047545298945\\n3.21 0.03573420875526109\\n3.22 0.033238453937006016\\n3.23 0.03041582606119333\\n3.24 0.027299960052592418\\n3.25 0.023927738478549874\\n3.26 0.02033890468695353\\n3.27 0.016575636889549408\\n3.28 0.012682087269596536\\n3.29 0.00870389074752744\\n3.3 0.004687648555977303\\n3.31 0.000680392247748068\\n3.32 -0.003270965821290359\\n3.33 -0.0071201891357320565\\n3.34 -0.0108222741046703\\n3.35 -0.014334000689374335\\n3.36 -0.01761446954941445\\n3.37 -0.02062561864180653\\n3.38 -0.023332712260041633\\n3.39 -0.025704795648114585\\n3.4 -0.027715108571029073\\n3.41 -0.029341451568641045\\n3.42 -0.030566499063584066\\n3.43 -0.03137805403444925\\n3.44 -0.03176923959886646\\n3.45 -0.03173862357264405\\n3.46 -0.0312902728740604\\n3.47 -0.030433735518646515\\n3.48 -0.029183948889704027\\n3.49 -0.027561073962295443\\n3.5 -0.025590256191096606\\n3.51 -0.023301314831663537\\n3.52 -0.020728363535615427\\n3.53 -0.017909366127334535\\n3.54 -0.014885632516708042\\n3.55 -0.011701260712380363\\n3.56 -0.008402531855890408\\n3.57 -0.005037266081964559\\n3.58 -0.001654147807391079\\n3.59 0.001697970255728521\\n3.6 0.004970774492182648\\n3.61 0.00811719886970231\\n3.62 0.011092123911252885\\n3.63 0.013853055406005472\\n3.64 0.016360772136170203\\n3.65 0.018579932092517862\\n3.66 0.020479627021693123\\n3.67 0.022033875694235806\\n3.68 0.023222047001598304\\n3.69 0.024029204878321598\\n3.7 0.02444636809376735\\n3.71 0.024470679155091143\\n3.72 0.0241054778951018\\n3.73 0.023360276767878288\\n3.74 0.022250636421269634\\n3.75 0.02079794173580681\\n3.76 0.019029080188883496\\n3.77 0.0169760260940785\\n3.78 0.014675335949343131\\n3.79 0.012167561774442429\\n3.8 0.00949659089684308\\n3.81 0.006708922125352924\\n3.82 0.003852889601890597\\n3.83 0.0009778468144338284\\n3.84 -0.0018666757391831048\\n3.85 -0.0046318249518513144\\n3.86 -0.007270276726317387\\n3.87 -0.009737069659183327\\n3.88 -0.011990405596578121\\n3.89 -0.01399240210781273\\n3.9 -0.015709782447621737\\n3.91 -0.01711448938719803\\n3.92 -0.01818421038410746\\n3.93 -0.01890280292063562\\n3.94 -0.019260610452669028\\n3.95 -0.01925466125468212\\n3.96 -0.01888874449304994\\n3.97 -0.018173360076781567\\n3.98 -0.01712554118408708\\n3.99 -0.0157685508029073\\n4.0 -0.014131456108006235\\n4.01 -0.012248586977983866\\n4.02 -0.010158887382214004\\n4.03 -0.00790517068888018\\n4.04 -0.005533292109685708\\n4.05 -0.0030912534543393816\\n4.06 -0.0006282570707722904\\n4.07 0.0018062727491498242\\n4.08 0.004163681553656393\\n4.09 0.006397069668052897\\n4.1 0.008462249956250605\\n4.11 0.010318658207176342\\n4.12 0.011930196506978847\\n4.13 0.01326599095291848\\n4.14 0.014301046487218808\\n4.15 0.01501678346226098\\n4.16 0.015401442765769513\\n4.17 0.015450348899874676\\n4.18 0.015166023275656677\\n4.19 0.01455814310086739\\n4.2 0.01364334454107399\\n4.21 0.012444872254887227\\n4.22 0.010992080868252273\\n4.23 0.009319797383131188\\n4.24 0.00746755683223369\\n4.25 0.005478726613280203\\n4.26 0.003399537784655891\\n4.27 0.0012780441037276741\\n4.28 -0.0008369683304806464\\n4.29 -0.0028970963697873497\\n4.3 -0.0048554345203421605\\n4.31 -0.006667663046693586\\n4.32 -0.008293083587258913\\n4.33 -0.009695577136884213\\n4.34 -0.010844460622107897\\n4.35 -0.011715220275683459\\n4.36 -0.012290102579127387\\n4.37 -0.012558546640072204\\n4.38 -0.012517445444434335\\n4.39 -0.01217122739696274\\n4.4 -0.011531753849824092\\n4.41 -0.010618032818487085\\n4.42 -0.009455753689194792\\n4.43 -0.008076652318023488\\n4.44 -0.006517720389276417\\n4.45 -0.004820277121214031\\n4.46 -0.003028925262550552\\n4.47 -0.0011904167019152069\\n4.48 0.0006475441885823194\\n4.49 0.0024375292267114013\\n4.5 0.004133615481206014\\n4.51 0.0056925825177005\\n4.52 0.00707504589864386\\n4.53 0.008246496141361354\\n4.54 0.009178214330786319\\n4.55 0.00984803840344982\\n4.56 0.010240957713467478\\n4.57 0.010349517782446475\\n4.58 0.010174022024157377\\n4.59 0.009722522601938175\\n4.6 0.009010598284925475\\n4.61 0.008060923066755828\\n4.62 0.006902635235189014\\n4.63 0.00557052236474469\\n4.64 0.004104043176902891\\n4.65 0.0025462122070173277\\n4.66 0.0009423775755823388\\n4.67 -0.0006610742609611547\\n4.68 -0.002218050234623999\\n4.69 -0.0036840806613864198\\n4.7 -0.005017608733107232\\n4.71 -0.006181201295443075\\n4.72 -0.007142644414772729\\n4.73 -0.00787589007916694\\n4.74 -0.008361824293663103\\n4.75 -0.008588831728301943\\n4.76 -0.008553137835116567\\n4.77 -0.008258915813481916\\n4.78 -0.0077181527909324305\\n4.79 -0.006950276895524928\\n4.8 -0.0059815543062337875\\n4.81 -0.00484427264968656\\n4.82 -0.0035757340315310596\\n4.83 -0.00221708731981989\\n4.84 -0.0008120348187025708\\n4.85 0.0005945470145803958\\n4.86 0.0019580298194868833\\n4.87 0.003235453538176785\\n4.88 0.0043868989624402\\n4.89 0.005376767873536286\\n4.9 0.0061749283752778154\\n4.91 0.006757686810136194\\n4.92 0.007108552789279121\\n4.93 0.007218770222681809\\n4.94 0.0070875946219659865\\n4.95 0.006722305143003999\\n4.96 0.006137948579839507\\n4.97 0.0053568215317180545\\n4.98 0.004407705938871899\\n4.99 0.0033248818102484447\\n5.0 0.002146948940488205\\n5.01 0.0009154964407564467\\n5.02 -0.00032633528030806265\\n5.03 -0.0015353510870197075\\n5.04 -0.0026698045163228473\\n5.05 -0.003690855335863792\\n5.06 -0.004563929492342074\\n5.07 -0.0052599324483118765\\n5.08 -0.005756271480339637\\n5.09 -0.006037648772081666\\n5.1 -0.00609659489466593\\n5.11 -0.00593372127550554\\n5.12 -0.005557680213776279\\n5.13 -0.0049848315608665575\\n5.14 -0.004238625969411671\\n5.15 -0.0033487252281264685\\n5.16 -0.0023498902398477383\\n5.17 -0.001280676275641108\\n5.18 -0.00018198288285865044\\n5.19 0.0009044880854257733\\n5.2 0.00193780868869376\\n5.21 0.002879375700432166\\n5.22 0.003694376551277575\\n5.23 0.0043531134945742605\\n5.24 0.004832133849963146\\n5.25 0.005115121071911515\\n5.26 0.0051935101740521366\\n5.27 0.00506680141183188\\n5.28 0.004742557708594303\\n5.29 0.004236083668390692\\n5.3 0.0035697966740451652\\n5.31 0.002772313017889628\\n5.32 0.0018772837465859601\\n5.33 0.0009220254276207844\\n5.34 -5.400009312980934e-05\\n5.35 -0.0010107960759109648\\n5.36 -0.0019094661387814458\\n5.37 -0.002713807317104741\\n5.38 -0.003391794841077584\\n5.39 -0.003916896283466712\\n5.4 -0.004269159145587627\\n5.41 -0.004436024824934835\\n5.42 -0.004412832917945996\\n5.43 -0.00420299253148634\\n5.44 -0.003817811197577357\\n5.45 -0.003275986533445475\\n5.46 -0.0026027803469721193\\n5.47 -0.0018289088237145778\\n5.48 -0.0009891951245969155\\n5.49 -0.00012104159086505528\\n5.5 0.0007372127213254602\\n5.51 0.0015479776955123106\\n5.52 0.00227606683813602\\n5.53 0.002890247411921884\\n5.54 0.0033646163244854615\\n5.55 0.0036797391533890064\\n5.56 0.0038234997012467076\\n5.57 0.0037916200261035324\\n5.58 0.003587825459958878\\n5.59 0.003223645082969057\\n5.6 0.002717854753907834\\n5.61 0.0020955863514048097\\n5.62 0.0013871425830920805\\n5.63 0.0006265708200578935\\n5.64 -0.00014993878169526547\\n5.65 -0.0009057567043998203\\n5.66 -0.0016055393370573824\\n5.67 -0.002216894563579002\\n5.68 -0.002711908180939846\\n5.69 -0.0030684575327247624\\n5.7 -0.003271248246762605\\n5.71 -0.0033125227053551792\\n5.72 -0.0031924042936808702\\n5.73 -0.002918858862573885\\n5.74 -0.0025072733885811776\\n5.75 -0.001979670623223324\\n5.76 -0.0013635966671569244\\n5.77 -0.0006907349676159109\\n5.78 4.685638560684724e-06\\n5.79 0.0006876102833420914\\n5.8 0.0013239191471981885\\n5.81 0.0018821416870088675\\n5.82 0.002335037004981276\\n5.83 0.0026609593768779213\\n5.84 0.002844938214288222\\n5.85 0.0028794157702544568\\n5.86 0.0027646030510682464\\n5.87 0.002508433832733214\\n5.88 0.0021261174234125635\\n5.89 0.0016393117976007735\\n5.9 0.0010749588518130604\\n5.91 0.0004638417146130722\\n5.92 -0.00016106071520212819\\n5.93 -0.0007663353949209249\\n5.94 -0.0013199193750231143\\n5.95 -0.001792811086256769\\n5.96 -0.0021606162421328066\\n5.97 -0.0024048441005582416\\n5.98 -0.0025138826991471944\\n5.99 -0.0024835986170782297\\n6.0 -0.0023175269593498017\">, @options=Hamster::Hash[:title => \"After update\"]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x1 = x[201..600]\n",
    "y1 = y[201..600]\n",
    "updatable_plot.update_dataset(data: [x1,y1], title: 'After update')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This way is expensive because data is piped to gnuplot each time you want to replot it, but updating data does not affect original Plot:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L71.2,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(53.9,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,401.3 L71.2,401.3 M575.0,401.3 L566.0,401.3  '/>\t<g transform=\"translate(53.9,405.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,358.5 L71.2,358.5 M575.0,358.5 L566.0,358.5  '/>\t<g transform=\"translate(53.9,363.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,315.8 L71.2,315.8 M575.0,315.8 L566.0,315.8  '/>\t<g transform=\"translate(53.9,320.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,273.1 L71.2,273.1 M575.0,273.1 L566.0,273.1  '/>\t<g transform=\"translate(53.9,277.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,230.3 L71.2,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(53.9,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,187.6 L71.2,187.6 M575.0,187.6 L566.0,187.6  '/>\t<g transform=\"translate(53.9,192.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,144.9 L71.2,144.9 M575.0,144.9 L566.0,144.9  '/>\t<g transform=\"translate(53.9,149.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,102.2 L71.2,102.2 M575.0,102.2 L566.0,102.2  '/>\t<g transform=\"translate(53.9,106.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.25</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,59.4 L71.2,59.4 M575.0,59.4 L566.0,59.4  '/>\t<g transform=\"translate(53.9,63.9)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L71.2,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(53.9,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.35</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L62.2,435.0 M62.2,16.7 L62.2,25.7  '/>\t<g transform=\"translate(62.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M108.8,444.0 L108.8,435.0 M108.8,16.7 L108.8,25.7  '/>\t<g transform=\"translate(108.8,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M155.4,444.0 L155.4,435.0 M155.4,16.7 L155.4,25.7  '/>\t<g transform=\"translate(155.4,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M202.1,444.0 L202.1,435.0 M202.1,16.7 L202.1,25.7  '/>\t<g transform=\"translate(202.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M248.7,444.0 L248.7,435.0 M248.7,16.7 L248.7,25.7  '/>\t<g transform=\"translate(248.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M295.3,444.0 L295.3,435.0 M295.3,16.7 L295.3,25.7  '/>\t<g transform=\"translate(295.3,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M341.9,444.0 L341.9,435.0 M341.9,16.7 L341.9,25.7  '/>\t<g transform=\"translate(341.9,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M388.5,444.0 L388.5,435.0 M388.5,16.7 L388.5,25.7  '/>\t<g transform=\"translate(388.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M435.1,444.0 L435.1,435.0 M435.1,16.7 L435.1,25.7  '/>\t<g transform=\"translate(435.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M481.8,444.0 L481.8,435.0 M481.8,16.7 L481.8,25.7  '/>\t<g transform=\"translate(481.8,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M528.4,444.0 L528.4,435.0 M528.4,16.7 L528.4,25.7  '/>\t<g transform=\"translate(528.4,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>Before update</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >Before update</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M64.5,315.8 L66.9,315.7 L69.2,315.5 L71.5,315.3 L73.9,315.0 L76.2,314.6\n",
       "\t\tL78.5,314.1 L80.8,313.4 L83.2,312.7 L85.5,311.9 L87.8,311.0 L90.2,310.0 L92.5,308.9 L94.8,307.7\n",
       "\t\tL97.2,306.4 L99.5,305.1 L101.8,303.6 L104.2,302.0 L106.5,300.3 L108.8,298.5 L111.1,296.7 L113.5,294.7\n",
       "\t\tL115.8,292.7 L118.1,290.6 L120.5,288.4 L122.8,286.1 L125.1,283.7 L127.5,281.3 L129.8,278.7 L132.1,276.1\n",
       "\t\tL134.5,273.5 L136.8,270.7 L139.1,267.9 L141.5,265.0 L143.8,262.0 L146.1,259.0 L148.4,255.9 L150.8,252.8\n",
       "\t\tL153.1,249.6 L155.4,246.4 L157.8,243.0 L160.1,239.7 L162.4,236.3 L164.8,232.8 L167.1,229.3 L169.4,225.8\n",
       "\t\tL171.8,222.2 L174.1,218.6 L176.4,215.0 L178.7,211.3 L181.1,207.6 L183.4,203.8 L185.7,200.1 L188.1,196.3\n",
       "\t\tL190.4,192.5 L192.7,188.6 L195.1,184.8 L197.4,181.0 L199.7,177.1 L202.1,173.2 L204.4,169.4 L206.7,165.5\n",
       "\t\tL209.0,161.7 L211.4,157.8 L213.7,153.9 L216.0,150.1 L218.4,146.3 L220.7,142.5 L223.0,138.7 L225.4,134.9\n",
       "\t\tL227.7,131.2 L230.0,127.5 L232.4,123.8 L234.7,120.2 L237.0,116.6 L239.3,113.1 L241.7,109.6 L244.0,106.2\n",
       "\t\tL246.3,102.8 L248.7,99.4 L251.0,96.2 L253.3,93.0 L255.7,89.9 L258.0,86.8 L260.3,83.8 L262.7,80.9\n",
       "\t\tL265.0,78.1 L267.3,75.4 L269.7,72.8 L272.0,70.3 L274.3,67.8 L276.6,65.5 L279.0,63.3 L281.3,61.2\n",
       "\t\tL283.6,59.2 L286.0,57.4 L288.3,55.7 L290.6,54.1 L293.0,52.6 L295.3,51.3 L297.6,50.1 L300.0,49.0\n",
       "\t\tL302.3,48.1 L304.6,47.4 L306.9,46.8 L309.3,46.4 L311.6,46.1 L313.9,46.0 L316.3,46.1 L318.6,46.3\n",
       "\t\tL320.9,46.7 L323.3,47.3 L325.6,48.1 L327.9,49.0 L330.3,50.2 L332.6,51.5 L334.9,53.0 L337.2,54.7\n",
       "\t\tL339.6,56.6 L341.9,58.7 L344.2,61.0 L346.6,63.5 L348.9,66.2 L351.2,69.1 L353.6,72.2 L355.9,75.5\n",
       "\t\tL358.2,79.0 L360.6,82.6 L362.9,86.5 L365.2,90.6 L367.5,94.9 L369.9,99.3 L372.2,104.0 L374.5,108.8\n",
       "\t\tL376.9,113.8 L379.2,119.0 L381.5,124.4 L383.9,130.0 L386.2,135.7 L388.5,141.6 L390.9,147.6 L393.2,153.8\n",
       "\t\tL395.5,160.1 L397.9,166.6 L400.2,173.2 L402.5,180.0 L404.8,186.8 L407.2,193.8 L409.5,200.9 L411.8,208.1\n",
       "\t\tL414.2,215.3 L416.5,222.6 L418.8,230.0 L421.2,237.4 L423.5,244.9 L425.8,252.4 L428.2,260.0 L430.5,267.5\n",
       "\t\tL432.8,275.0 L435.1,282.6 L437.5,290.0 L439.8,297.5 L442.1,304.9 L444.5,312.2 L446.8,319.5 L449.1,326.6\n",
       "\t\tL451.5,333.7 L453.8,340.6 L456.1,347.4 L458.5,354.0 L460.8,360.5 L463.1,366.8 L465.4,372.9 L467.8,378.8\n",
       "\t\tL470.1,384.5 L472.4,390.0 L474.8,395.2 L477.1,400.2 L479.4,404.9 L481.8,409.3 L484.1,413.4 L486.4,417.3\n",
       "\t\tL488.8,420.9 L491.1,424.1 L493.4,427.0 L495.7,429.6 L498.1,431.8 L500.4,433.7 L502.7,435.3 L505.1,436.5\n",
       "\t\tL507.4,437.3 L509.7,437.8 L512.1,438.0 L514.4,437.7 L516.7,437.1 L519.1,436.2 L521.4,434.9 L523.7,433.2\n",
       "\t\tL526.1,431.2 L528.4,428.9 L530.7,426.2  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x000000015bd140 @options=Hamster::Hash[], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x000000015bd0a0 @type=:datablock, @data=#<GnuplotRB::Datablock:0x000000015bcfb0 @stored_in_file=false, @data=\"0.01 2.4868927436513322e-05\\n0.02 0.00012125037746537788\\n0.03 0.0003050352603595612\\n0.04 0.0005852833558395339\\n0.05 0.0009680910629643855\\n0.06 0.0014577734407681439\\n0.07 0.0020574274310873933\\n0.08 0.0027692537987392004\\n0.09 0.003594762052759224\\n0.1 0.004534910638922391\\n0.11 0.005590207959218235\\n0.12 0.006760788066098809\\n0.13 0.00804646913017274\\n0.14 0.009446799705774049\\n0.15 0.01096109606223854\\n0.16 0.012588472790109972\\n0.17 0.014327868224951947\\n0.18 0.016178065796051987\\n0.19 0.018137712113872287\\n0.2 0.020205332406939107\\n0.21 0.022379343774856307\\n0.22 0.024658066619922932\\n0.23 0.027039734543037177\\n0.24 0.029522502932038647\\n0.25 0.032104456426907436\\n0.26 0.034783615412550345\\n0.27 0.03755794166364217\\n0.28 0.040425343245290915\\n0.29 0.043383678756818984\\n0.3 0.04643076099271636\\n0.31 0.04956436008409914\\n0.32 0.05278220617525428\\n0.33 0.0560819916826554\\n0.34 0.05946137317787972\\n0.35 0.06291797293089996\\n0.36 0.06644938014607536\\n0.37 0.07005315191967604\\n0.38 0.07372681394482539\\n0.39 0.07746786098724154\\n0.4 0.08127375715302751\\n0.41 0.08514193596793711\\n0.42 0.0890698002859834\\n0.43 0.09305472204391352\\n0.44 0.09709404187692107\\n0.45 0.10118506860997092\\n0.46 0.10532507863825297\\n0.47 0.10951131520954023\\n0.48 0.11374098762058753\\n0.49 0.11801127033915385\\n0.5 0.12231930206275883\\n0.51 0.12666218472487392\\n0.52 0.13103698245889994\\n0.53 0.13544072052998576\\n0.54 0.13987038424448958\\n0.55 0.14432291784667228\\n0.56 0.14879522341203502\\n0.57 0.15328415974656798\\n0.58 0.15778654130105868\\n0.59 0.16229913710951302\\n0.6 0.16681866976067183\\n0.61 0.17134181441154983\\n0.62 0.17586519785188573\\n0.63 0.18038539762837003\\n0.64 0.1848989412375028\\n0.65 0.18940230539593209\\n0.66 0.1938919153971293\\n0.67 0.19836414456326898\\n0.68 0.2028153138011952\\n0.69 0.20724169127137754\\n0.7 0.2116394921787763\\n0.71 0.21600487869455604\\n0.72 0.2203339600176034\\n0.73 0.2246227925848158\\n0.74 0.22886738043913485\\n0.75 0.2330636757642965\\n0.76 0.2372075795952607\\n0.77 0.2412949427132616\\n0.78 0.24532156673438654\\n0.79 0.24928320540054436\\n0.8 0.25317556608162023\\n0.81 0.25699431149753255\\n0.82 0.2607350616688074\\n0.83 0.26439339610416224\\n0.84 0.2679648562334481\\n0.85 0.2714449480941244\\n0.86 0.2748291452792469\\n0.87 0.2781128921547203\\n0.88 0.28129160735330827\\n0.89 0.2843606875526073\\n0.9 0.28731551154385876\\n0.91 0.2901514445981172\\n0.92 0.29286384313588787\\n0.93 0.29544805970590693\\n0.94 0.29789944827825066\\n0.95 0.3002133698564354\\n0.96 0.302385198412589\\n0.97 0.3044103271491571\\n0.98 0.3062841750899302\\n0.99 0.3080021940024543\\n1.0 0.3095598756531122\\n1.01 0.3109527593953273\\n1.02 0.31217644009045675\\n1.03 0.3132265763599954\\n1.04 0.31409889916670797\\n1.05 0.3147892207212479\\n1.06 0.3152934437096974\\n1.07 0.31560757083628393\\n1.08 0.31572771467428384\\n1.09 0.31565010781682507\\n1.1 0.31537111331793427\\n1.11 0.3148872354127525\\n1.12 0.31419513050436243\\n1.13 0.3132916184031276\\n1.14 0.31217369380284926\\n1.15 0.3108385379763937\\n1.16 0.30928353067173736\\n1.17 0.3075062621876235\\n1.18 0.30550454560621887\\n1.19 0.30327642915831626\\n1.2 0.300820208694737\\n1.21 0.29813444023566943\\n1.22 0.2952179525677231\\n1.23 0.29206985985649925\\n1.24 0.288689574240481\\n1.25 0.285076818370033\\n1.26 0.28123163785328226\\n1.27 0.2771544135686346\\n1.28 0.27284587380167563\\n1.29 0.26830710616221387\\n1.3 0.2635395692352642\\n1.31 0.25854510391784696\\n1.32 0.25332594439160255\\n1.33 0.24788472867940875\\n1.34 0.24222450873244308\\n1.35 0.23634875999247731\\n1.36 0.23026139037262672\\n1.37 0.22396674859833074\\n1.38 0.2174696318490139\\n1.39 0.21077529263969366\\n1.4 0.20388944488077146\\n1.41 0.19681826905338567\\n1.42 0.18956841643703107\\n1.43 0.18214701232568642\\n1.44 0.17456165816843683\\n1.45 0.16682043257057236\\n1.46 0.1589318910913827\\n1.47 0.1509050647753839\\n1.48 0.14274945735451436\\n1.49 0.13447504105994443\\n1.5 0.12609225098357418\\n1.51 0.11761197793106135\\n1.52 0.10904555971034485\\n1.53 0.10040477080212136\\n1.54 0.0917018103616131\\n1.55 0.08294928850423812\\n1.56 0.07416021083148859\\n1.57 0.06534796115743217\\n1.58 0.056526282400802166\\n1.59 0.04770925561263269\\n1.6 0.038911277114840145\\n1.61 0.030147033731050276\\n1.62 0.021431476097335242\\n1.63 0.012779790047346156\\n1.64 0.004207366073611683\\n1.65 -0.004270233125474918\\n1.66 -0.012637306995273765\\n1.67 -0.02087805334476109\\n1.68 -0.0289766064012139\\n1.69 -0.036917076654798806\\n1.7 -0.04468359243826604\\n1.71 -0.052260343176684085\\n1.72 -0.05963162423154286\\n1.73 -0.06678188325262198\\n1.74 -0.07369576793980533\\n1.75 -0.08035817510556414\\n1.76 -0.08675430091716105\\n1.77 -0.0928696921858077\\n1.78 -0.09869029855807711\\n1.79 -0.1042025254528918\\n1.8 -0.10939328757544066\\n1.81 -0.11425006282747906\\n1.82 -0.11876094642171639\\n1.83 -0.12291470499645875\\n1.84 -0.12670083051543166\\n1.85 -0.13010959372684366\\n1.86 -0.1331320969453439\\n1.87 -0.13576032591067064\\n1.88 -0.1379872004675746\\n1.89 -0.13980662380311812\\n1.9 -0.14121352996980957\\n1.91 -0.14220392941631696\\n1.92 -0.1427749522418256\\n1.93 -0.14292488888556198\\n1.94 -0.14265322795969876\\n1.95 -0.14196069093188937\\n1.96 -0.1408492633631551\\n1.97 -0.13932222240786102\\n1.98 -0.13738416028516715\\n1.99 -0.13504100343572067\\n2.0 -0.1323000270835529\\n2.01 -0.12916986493124313\">, @options=Hamster::Hash[:with => \"lines\", :title => \"Before update\"]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "updatable_plot"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##### 2. Data stored in temporary file and its name is piped to gnuplot\n",
    "Dataset boolean option 'file' corresponds to using temporary file for storage data being plotted."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L71.2,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(53.9,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,401.3 L71.2,401.3 M575.0,401.3 L566.0,401.3  '/>\t<g transform=\"translate(53.9,405.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,358.5 L71.2,358.5 M575.0,358.5 L566.0,358.5  '/>\t<g transform=\"translate(53.9,363.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,315.8 L71.2,315.8 M575.0,315.8 L566.0,315.8  '/>\t<g transform=\"translate(53.9,320.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,273.1 L71.2,273.1 M575.0,273.1 L566.0,273.1  '/>\t<g transform=\"translate(53.9,277.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,230.3 L71.2,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(53.9,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,187.6 L71.2,187.6 M575.0,187.6 L566.0,187.6  '/>\t<g transform=\"translate(53.9,192.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,144.9 L71.2,144.9 M575.0,144.9 L566.0,144.9  '/>\t<g transform=\"translate(53.9,149.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,102.2 L71.2,102.2 M575.0,102.2 L566.0,102.2  '/>\t<g transform=\"translate(53.9,106.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.25</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,59.4 L71.2,59.4 M575.0,59.4 L566.0,59.4  '/>\t<g transform=\"translate(53.9,63.9)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L71.2,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(53.9,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.35</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L62.2,435.0 M62.2,16.7 L62.2,25.7  '/>\t<g transform=\"translate(62.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M119.2,444.0 L119.2,435.0 M119.2,16.7 L119.2,25.7  '/>\t<g transform=\"translate(119.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M176.2,444.0 L176.2,435.0 M176.2,16.7 L176.2,25.7  '/>\t<g transform=\"translate(176.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M233.1,444.0 L233.1,435.0 M233.1,16.7 L233.1,25.7  '/>\t<g transform=\"translate(233.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M290.1,444.0 L290.1,435.0 M290.1,16.7 L290.1,25.7  '/>\t<g transform=\"translate(290.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M347.1,444.0 L347.1,435.0 M347.1,16.7 L347.1,25.7  '/>\t<g transform=\"translate(347.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M404.1,444.0 L404.1,435.0 M404.1,16.7 L404.1,25.7  '/>\t<g transform=\"translate(404.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M461.0,444.0 L461.0,435.0 M461.0,16.7 L461.0,25.7  '/>\t<g transform=\"translate(461.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M518.0,444.0 L518.0,435.0 M518.0,16.7 L518.0,25.7  '/>\t<g transform=\"translate(518.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>Before update</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >Before update</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M63.3,315.8 L64.5,315.7 L65.6,315.5 L66.8,315.3 L67.9,315.0 L69.0,314.6\n",
       "\t\tL70.2,314.1 L71.3,313.4 L72.5,312.7 L73.6,311.9 L74.7,311.0 L75.9,310.0 L77.0,308.9 L78.2,307.7\n",
       "\t\tL79.3,306.4 L80.4,305.1 L81.6,303.6 L82.7,302.0 L83.9,300.3 L85.0,298.5 L86.1,296.7 L87.3,294.7\n",
       "\t\tL88.4,292.7 L89.5,290.6 L90.7,288.4 L91.8,286.1 L93.0,283.7 L94.1,281.3 L95.2,278.7 L96.4,276.1\n",
       "\t\tL97.5,273.5 L98.7,270.7 L99.8,267.9 L100.9,265.0 L102.1,262.0 L103.2,259.0 L104.4,255.9 L105.5,252.8\n",
       "\t\tL106.6,249.6 L107.8,246.4 L108.9,243.0 L110.1,239.7 L111.2,236.3 L112.3,232.8 L113.5,229.3 L114.6,225.8\n",
       "\t\tL115.8,222.2 L116.9,218.6 L118.0,215.0 L119.2,211.3 L120.3,207.6 L121.5,203.8 L122.6,200.1 L123.7,196.3\n",
       "\t\tL124.9,192.5 L126.0,188.6 L127.2,184.8 L128.3,181.0 L129.4,177.1 L130.6,173.2 L131.7,169.4 L132.9,165.5\n",
       "\t\tL134.0,161.7 L135.1,157.8 L136.3,153.9 L137.4,150.1 L138.6,146.3 L139.7,142.5 L140.8,138.7 L142.0,134.9\n",
       "\t\tL143.1,131.2 L144.2,127.5 L145.4,123.8 L146.5,120.2 L147.7,116.6 L148.8,113.1 L149.9,109.6 L151.1,106.2\n",
       "\t\tL152.2,102.8 L153.4,99.4 L154.5,96.2 L155.6,93.0 L156.8,89.9 L157.9,86.8 L159.1,83.8 L160.2,80.9\n",
       "\t\tL161.3,78.1 L162.5,75.4 L163.6,72.8 L164.8,70.3 L165.9,67.8 L167.0,65.5 L168.2,63.3 L169.3,61.2\n",
       "\t\tL170.5,59.2 L171.6,57.4 L172.7,55.7 L173.9,54.1 L175.0,52.6 L176.2,51.3 L177.3,50.1 L178.4,49.0\n",
       "\t\tL179.6,48.1 L180.7,47.4 L181.9,46.8 L183.0,46.4 L184.1,46.1 L185.3,46.0 L186.4,46.1 L187.6,46.3\n",
       "\t\tL188.7,46.7 L189.8,47.3 L191.0,48.1 L192.1,49.0 L193.2,50.2 L194.4,51.5 L195.5,53.0 L196.7,54.7\n",
       "\t\tL197.8,56.6 L198.9,58.7 L200.1,61.0 L201.2,63.5 L202.4,66.2 L203.5,69.1 L204.6,72.2 L205.8,75.5\n",
       "\t\tL206.9,79.0 L208.1,82.6 L209.2,86.5 L210.3,90.6 L211.5,94.9 L212.6,99.3 L213.8,104.0 L214.9,108.8\n",
       "\t\tL216.0,113.8 L217.2,119.0 L218.3,124.4 L219.5,130.0 L220.6,135.7 L221.7,141.6 L222.9,147.6 L224.0,153.8\n",
       "\t\tL225.2,160.1 L226.3,166.6 L227.4,173.2 L228.6,180.0 L229.7,186.8 L230.9,193.8 L232.0,200.9 L233.1,208.1\n",
       "\t\tL234.3,215.3 L235.4,222.6 L236.6,230.0 L237.7,237.4 L238.8,244.9 L240.0,252.4 L241.1,260.0 L242.2,267.5\n",
       "\t\tL243.4,275.0 L244.5,282.6 L245.7,290.0 L246.8,297.5 L247.9,304.9 L249.1,312.2 L250.2,319.5 L251.4,326.6\n",
       "\t\tL252.5,333.7 L253.6,340.6 L254.8,347.4 L255.9,354.0 L257.1,360.5 L258.2,366.8 L259.3,372.9 L260.5,378.8\n",
       "\t\tL261.6,384.5 L262.8,390.0 L263.9,395.2 L265.0,400.2 L266.2,404.9 L267.3,409.3 L268.5,413.4 L269.6,417.3\n",
       "\t\tL270.7,420.9 L271.9,424.1 L273.0,427.0 L274.2,429.6 L275.3,431.8 L276.4,433.7 L277.6,435.3 L278.7,436.5\n",
       "\t\tL279.9,437.3 L281.0,437.8 L282.1,438.0 L283.3,437.7 L284.4,437.1 L285.6,436.2 L286.7,434.9 L287.8,433.2\n",
       "\t\tL289.0,431.2 L290.1,428.9 L291.3,426.2 L292.4,423.2 L293.5,419.9 L294.7,416.3 L295.8,412.4 L296.9,408.2\n",
       "\t\tL298.1,403.7 L299.2,399.0 L300.4,394.1 L301.5,388.9 L302.6,383.6 L303.8,378.1 L304.9,372.4 L306.1,366.6\n",
       "\t\tL307.2,360.7 L308.3,354.6 L309.5,348.6 L310.6,342.4 L311.8,336.3 L312.9,330.1 L314.0,324.0 L315.2,317.9\n",
       "\t\tL316.3,311.9 L317.5,306.0 L318.6,300.2 L319.7,294.6 L320.9,289.2 L322.0,283.9 L323.2,278.9 L324.3,274.1\n",
       "\t\tL325.4,269.6 L326.6,265.3 L327.7,261.4 L328.9,257.7 L330.0,254.4 L331.1,251.5 L332.3,248.9 L333.4,246.7\n",
       "\t\tL334.6,244.8 L335.7,243.4 L336.8,242.3 L338.0,241.6 L339.1,241.4 L340.3,241.5 L341.4,242.1 L342.5,243.0\n",
       "\t\tL343.7,244.3 L344.8,246.0 L345.9,248.1 L347.1,250.5 L348.2,253.3 L349.4,256.3 L350.5,259.7 L351.6,263.4\n",
       "\t\tL352.8,267.3 L353.9,271.5 L355.1,275.8 L356.2,280.4 L357.3,285.1 L358.5,289.9 L359.6,294.8 L360.8,299.8\n",
       "\t\tL361.9,304.8 L363.0,309.8 L364.2,314.8 L365.3,319.7 L366.5,324.5 L367.6,329.1 L368.7,333.6 L369.9,338.0\n",
       "\t\tL371.0,342.1 L372.2,345.9 L373.3,349.5 L374.4,352.8 L375.6,355.7 L376.7,358.3 L377.9,360.6 L379.0,362.5\n",
       "\t\tL380.1,364.0 L381.3,365.2 L382.4,365.9 L383.6,366.2 L384.7,366.2 L385.8,365.7 L387.0,364.9 L388.1,363.6\n",
       "\t\tL389.3,362.0 L390.4,360.1 L391.5,357.8 L392.7,355.2 L393.8,352.3 L395.0,349.1 L396.1,345.7 L397.2,342.1\n",
       "\t\tL398.4,338.3 L399.5,334.4 L400.6,330.4 L401.8,326.3 L402.9,322.2 L404.1,318.1 L405.2,314.0 L406.3,310.0\n",
       "\t\tL407.5,306.1 L408.6,302.4 L409.8,298.9 L410.9,295.5 L412.0,292.5 L413.2,289.7 L414.3,287.2 L415.5,285.0\n",
       "\t\tL416.6,283.2 L417.7,281.7 L418.9,280.6 L420.0,279.9 L421.2,279.5 L422.3,279.6 L423.4,280.0 L424.6,280.8\n",
       "\t\tL425.7,281.9 L426.9,283.4 L428.0,285.3 L429.1,287.4 L430.3,289.8 L431.4,292.5 L432.6,295.4 L433.7,298.4\n",
       "\t\tL434.8,301.6 L436.0,305.0 L437.1,308.4 L438.3,311.8 L439.4,315.2 L440.5,318.6 L441.7,321.9 L442.8,325.1\n",
       "\t\tL444.0,328.1 L445.1,330.9 L446.2,333.4 L447.4,335.8 L448.5,337.8 L449.6,339.5 L450.8,340.9 L451.9,341.9\n",
       "\t\tL453.1,342.6 L454.2,343.0 L455.3,342.9 L456.5,342.6 L457.6,341.8 L458.8,340.8 L459.9,339.4 L461.0,337.7\n",
       "\t\tL462.2,335.7 L463.3,333.5 L464.5,331.1 L465.6,328.5 L466.7,325.8 L467.9,323.0 L469.0,320.1 L470.2,317.2\n",
       "\t\tL471.3,314.4 L472.4,311.6 L473.6,308.9 L474.7,306.3 L475.9,304.0 L477.0,301.8 L478.1,299.9 L479.3,298.3\n",
       "\t\tL480.4,297.0 L481.6,296.0 L482.7,295.3 L483.8,294.9 L485.0,294.9 L486.1,295.2 L487.3,295.8 L488.4,296.8\n",
       "\t\tL489.5,298.0 L490.7,299.5 L491.8,301.3 L493.0,303.3 L494.1,305.4 L495.2,307.7 L496.4,310.1 L497.5,312.5\n",
       "\t\tL498.6,315.0 L499.8,317.4 L500.9,319.8 L502.1,322.0 L503.2,324.1 L504.3,326.1 L505.5,327.8 L506.6,329.2\n",
       "\t\tL507.8,330.4 L508.9,331.4 L510.0,332.0 L511.2,332.3 L512.3,332.3 L513.5,332.0 L514.6,331.3 L515.7,330.4\n",
       "\t\tL516.9,329.3 L518.0,327.9 L519.2,326.3  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000000ff0640 @options=Hamster::Hash[], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000000ff0370 @type=:datablock, @data=#<GnuplotRB::Datablock:0x00000000ff00c8 @stored_in_file=true, @file_name=\"tmp_data20150811-7742-1am91xu-0\">, @options=Hamster::Hash[:with => \"lines\", :title => \"Before update\"]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x0 = x[0..400]\n",
    "y0 = y[0..400]\n",
    "updatable_file_plot = Plot.new([[x0,y0], with: 'lines', title: 'Before update', file: true])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L71.2,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(53.9,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,401.3 L71.2,401.3 M575.0,401.3 L566.0,401.3  '/>\t<g transform=\"translate(53.9,405.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,358.5 L71.2,358.5 M575.0,358.5 L566.0,358.5  '/>\t<g transform=\"translate(53.9,363.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,315.8 L71.2,315.8 M575.0,315.8 L566.0,315.8  '/>\t<g transform=\"translate(53.9,320.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,273.1 L71.2,273.1 M575.0,273.1 L566.0,273.1  '/>\t<g transform=\"translate(53.9,277.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,230.3 L71.2,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(53.9,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,187.6 L71.2,187.6 M575.0,187.6 L566.0,187.6  '/>\t<g transform=\"translate(53.9,192.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,144.9 L71.2,144.9 M575.0,144.9 L566.0,144.9  '/>\t<g transform=\"translate(53.9,149.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,102.2 L71.2,102.2 M575.0,102.2 L566.0,102.2  '/>\t<g transform=\"translate(53.9,106.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.25</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,59.4 L71.2,59.4 M575.0,59.4 L566.0,59.4  '/>\t<g transform=\"translate(53.9,63.9)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L71.2,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(53.9,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.35</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L62.2,435.0 M62.2,16.7 L62.2,25.7  '/>\t<g transform=\"translate(62.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M147.7,444.0 L147.7,435.0 M147.7,16.7 L147.7,25.7  '/>\t<g transform=\"translate(147.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M233.1,444.0 L233.1,435.0 M233.1,16.7 L233.1,25.7  '/>\t<g transform=\"translate(233.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M318.6,444.0 L318.6,435.0 M318.6,16.7 L318.6,25.7  '/>\t<g transform=\"translate(318.6,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M404.1,444.0 L404.1,435.0 M404.1,16.7 L404.1,25.7  '/>\t<g transform=\"translate(404.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M489.5,444.0 L489.5,435.0 M489.5,16.7 L489.5,25.7  '/>\t<g transform=\"translate(489.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>After update</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >After update</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M63.1,315.8 L63.9,315.7 L64.8,315.5 L65.6,315.3 L66.5,315.0 L67.3,314.6\n",
       "\t\tL68.2,314.1 L69.0,313.4 L69.9,312.7 L70.7,311.9 L71.6,311.0 L72.5,310.0 L73.3,308.9 L74.2,307.7\n",
       "\t\tL75.0,306.4 L75.9,305.1 L76.7,303.6 L77.6,302.0 L78.4,300.3 L79.3,298.5 L80.1,296.7 L81.0,294.7\n",
       "\t\tL81.9,292.7 L82.7,290.6 L83.6,288.4 L84.4,286.1 L85.3,283.7 L86.1,281.3 L87.0,278.7 L87.8,276.1\n",
       "\t\tL88.7,273.5 L89.5,270.7 L90.4,267.9 L91.3,265.0 L92.1,262.0 L93.0,259.0 L93.8,255.9 L94.7,252.8\n",
       "\t\tL95.5,249.6 L96.4,246.4 L97.2,243.0 L98.1,239.7 L99.0,236.3 L99.8,232.8 L100.7,229.3 L101.5,225.8\n",
       "\t\tL102.4,222.2 L103.2,218.6 L104.1,215.0 L104.9,211.3 L105.8,207.6 L106.6,203.8 L107.5,200.1 L108.4,196.3\n",
       "\t\tL109.2,192.5 L110.1,188.6 L110.9,184.8 L111.8,181.0 L112.6,177.1 L113.5,173.2 L114.3,169.4 L115.2,165.5\n",
       "\t\tL116.0,161.7 L116.9,157.8 L117.8,153.9 L118.6,150.1 L119.5,146.3 L120.3,142.5 L121.2,138.7 L122.0,134.9\n",
       "\t\tL122.9,131.2 L123.7,127.5 L124.6,123.8 L125.4,120.2 L126.3,116.6 L127.2,113.1 L128.0,109.6 L128.9,106.2\n",
       "\t\tL129.7,102.8 L130.6,99.4 L131.4,96.2 L132.3,93.0 L133.1,89.9 L134.0,86.8 L134.8,83.8 L135.7,80.9\n",
       "\t\tL136.6,78.1 L137.4,75.4 L138.3,72.8 L139.1,70.3 L140.0,67.8 L140.8,65.5 L141.7,63.3 L142.5,61.2\n",
       "\t\tL143.4,59.2 L144.2,57.4 L145.1,55.7 L146.0,54.1 L146.8,52.6 L147.7,51.3 L148.5,50.1 L149.4,49.0\n",
       "\t\tL150.2,48.1 L151.1,47.4 L151.9,46.8 L152.8,46.4 L153.6,46.1 L154.5,46.0 L155.4,46.1 L156.2,46.3\n",
       "\t\tL157.1,46.7 L157.9,47.3 L158.8,48.1 L159.6,49.0 L160.5,50.2 L161.3,51.5 L162.2,53.0 L163.1,54.7\n",
       "\t\tL163.9,56.6 L164.8,58.7 L165.6,61.0 L166.5,63.5 L167.3,66.2 L168.2,69.1 L169.0,72.2 L169.9,75.5\n",
       "\t\tL170.7,79.0 L171.6,82.6 L172.5,86.5 L173.3,90.6 L174.2,94.9 L175.0,99.3 L175.9,104.0 L176.7,108.8\n",
       "\t\tL177.6,113.8 L178.4,119.0 L179.3,124.4 L180.1,130.0 L181.0,135.7 L181.9,141.6 L182.7,147.6 L183.6,153.8\n",
       "\t\tL184.4,160.1 L185.3,166.6 L186.1,173.2 L187.0,180.0 L187.8,186.8 L188.7,193.8 L189.5,200.9 L190.4,208.1\n",
       "\t\tL191.3,215.3 L192.1,222.6 L193.0,230.0 L193.8,237.4 L194.7,244.9 L195.5,252.4 L196.4,260.0 L197.2,267.5\n",
       "\t\tL198.1,275.0 L198.9,282.6 L199.8,290.0 L200.7,297.5 L201.5,304.9 L202.4,312.2 L203.2,319.5 L204.1,326.6\n",
       "\t\tL204.9,333.7 L205.8,340.6 L206.6,347.4 L207.5,354.0 L208.3,360.5 L209.2,366.8 L210.1,372.9 L210.9,378.8\n",
       "\t\tL211.8,384.5 L212.6,390.0 L213.5,395.2 L214.3,400.2 L215.2,404.9 L216.0,409.3 L216.9,413.4 L217.7,417.3\n",
       "\t\tL218.6,420.9 L219.5,424.1 L220.3,427.0 L221.2,429.6 L222.0,431.8 L222.9,433.7 L223.7,435.3 L224.6,436.5\n",
       "\t\tL225.4,437.3 L226.3,437.8 L227.2,438.0 L228.0,437.7 L228.9,437.1 L229.7,436.2 L230.6,434.9 L231.4,433.2\n",
       "\t\tL232.3,431.2 L233.1,428.9 L234.0,426.2 L234.8,423.2 L235.7,419.9 L236.6,416.3 L237.4,412.4 L238.3,408.2\n",
       "\t\tL239.1,403.7 L240.0,399.0 L240.8,394.1 L241.7,388.9 L242.5,383.6 L243.4,378.1 L244.2,372.4 L245.1,366.6\n",
       "\t\tL246.0,360.7 L246.8,354.6 L247.7,348.6 L248.5,342.4 L249.4,336.3 L250.2,330.1 L251.1,324.0 L251.9,317.9\n",
       "\t\tL252.8,311.9 L253.6,306.0 L254.5,300.2 L255.4,294.6 L256.2,289.2 L257.1,283.9 L257.9,278.9 L258.8,274.1\n",
       "\t\tL259.6,269.6 L260.5,265.3 L261.3,261.4 L262.2,257.7 L263.0,254.4 L263.9,251.5 L264.8,248.9 L265.6,246.7\n",
       "\t\tL266.5,244.8 L267.3,243.4 L268.2,242.3 L269.0,241.6 L269.9,241.4 L270.7,241.5 L271.6,242.1 L272.4,243.0\n",
       "\t\tL273.3,244.3 L274.2,246.0 L275.0,248.1 L275.9,250.5 L276.7,253.3 L277.6,256.3 L278.4,259.7 L279.3,263.4\n",
       "\t\tL280.1,267.3 L281.0,271.5 L281.8,275.8 L282.7,280.4 L283.6,285.1 L284.4,289.9 L285.3,294.8 L286.1,299.8\n",
       "\t\tL287.0,304.8 L287.8,309.8 L288.7,314.8 L289.5,319.7 L290.4,324.5 L291.3,329.1 L292.1,333.6 L293.0,338.0\n",
       "\t\tL293.8,342.1 L294.7,345.9 L295.5,349.5 L296.4,352.8 L297.2,355.7 L298.1,358.3 L298.9,360.6 L299.8,362.5\n",
       "\t\tL300.7,364.0 L301.5,365.2 L302.4,365.9 L303.2,366.2 L304.1,366.2 L304.9,365.7 L305.8,364.9 L306.6,363.6\n",
       "\t\tL307.5,362.0 L308.3,360.1 L309.2,357.8 L310.1,355.2 L310.9,352.3 L311.8,349.1 L312.6,345.7 L313.5,342.1\n",
       "\t\tL314.3,338.3 L315.2,334.4 L316.0,330.4 L316.9,326.3 L317.7,322.2 L318.6,318.1 L319.5,314.0 L320.3,310.0\n",
       "\t\tL321.2,306.1 L322.0,302.4 L322.9,298.9 L323.7,295.5 L324.6,292.5 L325.4,289.7 L326.3,287.2 L327.1,285.0\n",
       "\t\tL328.0,283.2 L328.9,281.7 L329.7,280.6 L330.6,279.9 L331.4,279.5 L332.3,279.6 L333.1,280.0 L334.0,280.8\n",
       "\t\tL334.8,281.9 L335.7,283.4 L336.5,285.3 L337.4,287.4 L338.3,289.8 L339.1,292.5 L340.0,295.4 L340.8,298.4\n",
       "\t\tL341.7,301.6 L342.5,305.0 L343.4,308.4 L344.2,311.8 L345.1,315.2 L345.9,318.6 L346.8,321.9 L347.7,325.1\n",
       "\t\tL348.5,328.1 L349.4,330.9 L350.2,333.4 L351.1,335.8 L351.9,337.8 L352.8,339.5 L353.6,340.9 L354.5,341.9\n",
       "\t\tL355.4,342.6 L356.2,343.0 L357.1,342.9 L357.9,342.6 L358.8,341.8 L359.6,340.8 L360.5,339.4 L361.3,337.7\n",
       "\t\tL362.2,335.7 L363.0,333.5 L363.9,331.1 L364.8,328.5 L365.6,325.8 L366.5,323.0 L367.3,320.1 L368.2,317.2\n",
       "\t\tL369.0,314.4 L369.9,311.6 L370.7,308.9 L371.6,306.3 L372.4,304.0 L373.3,301.8 L374.2,299.9 L375.0,298.3\n",
       "\t\tL375.9,297.0 L376.7,296.0 L377.6,295.3 L378.4,294.9 L379.3,294.9 L380.1,295.2 L381.0,295.8 L381.8,296.8\n",
       "\t\tL382.7,298.0 L383.6,299.5 L384.4,301.3 L385.3,303.3 L386.1,305.4 L387.0,307.7 L387.8,310.1 L388.7,312.5\n",
       "\t\tL389.5,315.0 L390.4,317.4 L391.2,319.8 L392.1,322.0 L393.0,324.1 L393.8,326.1 L394.7,327.8 L395.5,329.2\n",
       "\t\tL396.4,330.4 L397.2,331.4 L398.1,332.0 L398.9,332.3 L399.8,332.3 L400.6,332.0 L401.5,331.3 L402.4,330.4\n",
       "\t\tL403.2,329.3 L404.1,327.9 L404.9,326.3 L405.8,324.5 L406.6,322.6 L407.5,320.5 L408.3,318.5 L409.2,316.3\n",
       "\t\tL410.0,314.3 L410.9,312.3 L411.8,310.3 L412.6,308.6 L413.5,307.0 L414.3,305.6 L415.2,304.5 L416.0,303.6\n",
       "\t\tL416.9,303.0 L417.7,302.6 L418.6,302.6 L419.5,302.8 L420.3,303.4 L421.2,304.2 L422.0,305.2 L422.9,306.4\n",
       "\t\tL423.7,307.8 L424.6,309.4 L425.4,311.1 L426.3,312.9 L427.1,314.7 L428.0,316.5 L428.9,318.3 L429.7,320.0\n",
       "\t\tL430.6,321.5 L431.4,322.9 L432.3,324.1 L433.1,325.1 L434.0,325.8 L434.8,326.3 L435.7,326.5 L436.5,326.5\n",
       "\t\tL437.4,326.2 L438.3,325.7 L439.1,324.9 L440.0,323.9 L440.8,322.7 L441.7,321.4 L442.5,319.9 L443.4,318.4\n",
       "\t\tL444.2,316.8 L445.1,315.3 L445.9,313.7 L446.8,312.3 L447.7,310.9 L448.5,309.8 L449.4,308.8 L450.2,308.0\n",
       "\t\tL451.1,307.4 L451.9,307.1 L452.8,307.0 L453.6,307.1 L454.5,307.5 L455.3,308.1 L456.2,308.9 L457.1,309.9\n",
       "\t\tL457.9,311.0 L458.8,312.3 L459.6,313.6 L460.5,315.0 L461.3,316.4 L462.2,317.7 L463.0,319.0 L463.9,320.1\n",
       "\t\tL464.7,321.1 L465.6,321.9 L466.5,322.5 L467.3,323.0 L468.2,323.2 L469.0,323.1 L469.9,322.9 L470.7,322.4\n",
       "\t\tL471.6,321.7 L472.4,320.9 L473.3,319.9 L474.1,318.9 L475.0,317.7 L475.9,316.5 L476.7,315.3 L477.6,314.1\n",
       "\t\tL478.4,313.0 L479.3,312.1 L480.1,311.2 L481.0,310.5 L481.8,310.0 L482.7,309.7 L483.6,309.6 L484.4,309.8\n",
       "\t\tL485.3,310.1 L486.1,310.6 L487.0,311.2 L487.8,312.0 L488.7,313.0 L489.5,314.0 L490.4,315.0 L491.2,316.1\n",
       "\t\tL492.1,317.1 L493.0,318.1 L493.8,319.0 L494.7,319.7 L495.5,320.3 L496.4,320.7 L497.2,321.0 L498.1,321.0\n",
       "\t\tL498.9,320.9 L499.8,320.6 L500.6,320.1 L501.5,319.4 L502.4,318.7 L503.2,317.8 L504.1,316.9 L504.9,316.0\n",
       "\t\tL505.8,315.0 L506.6,314.2 L507.5,313.3 L508.3,312.7 L509.2,312.1 L510.0,311.7 L510.9,311.4 L511.8,311.4\n",
       "\t\tL512.6,311.5 L513.5,311.8 L514.3,312.2 L515.2,312.8 L516.0,313.4 L516.9,314.2 L517.7,315.0 L518.6,315.9\n",
       "\t\tL519.4,316.7 L520.3,317.4 L521.2,318.1 L522.0,318.7 L522.9,319.2 L523.7,319.5 L524.6,319.6 L525.4,319.6\n",
       "\t\tL526.3,319.4 L527.1,319.1 L528.0,318.6 L528.8,318.0 L529.7,317.4 L530.6,316.7 L531.4,315.9 L532.3,315.2\n",
       "\t\tL533.1,314.5 L534.0,313.9 L534.8,313.3 L535.7,312.9 L536.5,312.7 L537.4,312.5 L538.2,312.6 L539.1,312.7\n",
       "\t\tL540.0,313.1 L540.8,313.5 L541.7,314.0 L542.5,314.6 L543.4,315.3 L544.2,315.9 L545.1,316.6 L545.9,317.2\n",
       "\t\tL546.8,317.7 L547.7,318.1 L548.5,318.4 L549.4,318.6 L550.2,318.6 L551.1,318.5 L551.9,318.3 L552.8,318.0\n",
       "\t\tL553.6,317.5 L554.5,317.0 L555.3,316.4 L556.2,315.8 L557.1,315.2 L557.9,314.7 L558.8,314.2 L559.6,313.8\n",
       "\t\tL560.5,313.5 L561.3,313.4 L562.2,313.3 L563.0,313.4 L563.9,313.7 L564.7,314.0 L565.6,314.4 L566.5,314.9\n",
       "\t\tL567.3,315.4 L568.2,315.9 L569.0,316.5 L569.9,316.9 L570.7,317.3 L571.6,317.7 L572.4,317.9 L573.3,318.0\n",
       "\t\tL574.1,317.9 L575.0,317.8  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000002bdb5f8 @options=Hamster::Hash[], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000002bdba30 @type=:datablock, @data=#<GnuplotRB::Datablock:0x00000000ff00c8 @stored_in_file=true, @file_name=\"tmp_data20150811-7742-1am91xu-0\">, @options=Hamster::Hash[:with => \"lines\", :title => \"After update\"]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x1 = x[401..600]\n",
    "y1 = y[401..600]\n",
    "updatable_file_plot.update_dataset(data: [x1,y1], title: 'After update')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**Be careful**: updating data stored in temp file **affects** original Plot:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L71.2,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(53.9,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,401.3 L71.2,401.3 M575.0,401.3 L566.0,401.3  '/>\t<g transform=\"translate(53.9,405.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,358.5 L71.2,358.5 M575.0,358.5 L566.0,358.5  '/>\t<g transform=\"translate(53.9,363.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,315.8 L71.2,315.8 M575.0,315.8 L566.0,315.8  '/>\t<g transform=\"translate(53.9,320.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,273.1 L71.2,273.1 M575.0,273.1 L566.0,273.1  '/>\t<g transform=\"translate(53.9,277.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.05</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,230.3 L71.2,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(53.9,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,187.6 L71.2,187.6 M575.0,187.6 L566.0,187.6  '/>\t<g transform=\"translate(53.9,192.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.15</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,144.9 L71.2,144.9 M575.0,144.9 L566.0,144.9  '/>\t<g transform=\"translate(53.9,149.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,102.2 L71.2,102.2 M575.0,102.2 L566.0,102.2  '/>\t<g transform=\"translate(53.9,106.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.25</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,59.4 L71.2,59.4 M575.0,59.4 L566.0,59.4  '/>\t<g transform=\"translate(53.9,63.9)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L71.2,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(53.9,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.35</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,444.0 L62.2,435.0 M62.2,16.7 L62.2,25.7  '/>\t<g transform=\"translate(62.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M147.7,444.0 L147.7,435.0 M147.7,16.7 L147.7,25.7  '/>\t<g transform=\"translate(147.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M233.1,444.0 L233.1,435.0 M233.1,16.7 L233.1,25.7  '/>\t<g transform=\"translate(233.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M318.6,444.0 L318.6,435.0 M318.6,16.7 L318.6,25.7  '/>\t<g transform=\"translate(318.6,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M404.1,444.0 L404.1,435.0 M404.1,16.7 L404.1,25.7  '/>\t<g transform=\"translate(404.1,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M489.5,444.0 L489.5,435.0 M489.5,16.7 L489.5,25.7  '/>\t<g transform=\"translate(489.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>Before update</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >Before update</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M63.1,315.8 L63.9,315.7 L64.8,315.5 L65.6,315.3 L66.5,315.0 L67.3,314.6\n",
       "\t\tL68.2,314.1 L69.0,313.4 L69.9,312.7 L70.7,311.9 L71.6,311.0 L72.5,310.0 L73.3,308.9 L74.2,307.7\n",
       "\t\tL75.0,306.4 L75.9,305.1 L76.7,303.6 L77.6,302.0 L78.4,300.3 L79.3,298.5 L80.1,296.7 L81.0,294.7\n",
       "\t\tL81.9,292.7 L82.7,290.6 L83.6,288.4 L84.4,286.1 L85.3,283.7 L86.1,281.3 L87.0,278.7 L87.8,276.1\n",
       "\t\tL88.7,273.5 L89.5,270.7 L90.4,267.9 L91.3,265.0 L92.1,262.0 L93.0,259.0 L93.8,255.9 L94.7,252.8\n",
       "\t\tL95.5,249.6 L96.4,246.4 L97.2,243.0 L98.1,239.7 L99.0,236.3 L99.8,232.8 L100.7,229.3 L101.5,225.8\n",
       "\t\tL102.4,222.2 L103.2,218.6 L104.1,215.0 L104.9,211.3 L105.8,207.6 L106.6,203.8 L107.5,200.1 L108.4,196.3\n",
       "\t\tL109.2,192.5 L110.1,188.6 L110.9,184.8 L111.8,181.0 L112.6,177.1 L113.5,173.2 L114.3,169.4 L115.2,165.5\n",
       "\t\tL116.0,161.7 L116.9,157.8 L117.8,153.9 L118.6,150.1 L119.5,146.3 L120.3,142.5 L121.2,138.7 L122.0,134.9\n",
       "\t\tL122.9,131.2 L123.7,127.5 L124.6,123.8 L125.4,120.2 L126.3,116.6 L127.2,113.1 L128.0,109.6 L128.9,106.2\n",
       "\t\tL129.7,102.8 L130.6,99.4 L131.4,96.2 L132.3,93.0 L133.1,89.9 L134.0,86.8 L134.8,83.8 L135.7,80.9\n",
       "\t\tL136.6,78.1 L137.4,75.4 L138.3,72.8 L139.1,70.3 L140.0,67.8 L140.8,65.5 L141.7,63.3 L142.5,61.2\n",
       "\t\tL143.4,59.2 L144.2,57.4 L145.1,55.7 L146.0,54.1 L146.8,52.6 L147.7,51.3 L148.5,50.1 L149.4,49.0\n",
       "\t\tL150.2,48.1 L151.1,47.4 L151.9,46.8 L152.8,46.4 L153.6,46.1 L154.5,46.0 L155.4,46.1 L156.2,46.3\n",
       "\t\tL157.1,46.7 L157.9,47.3 L158.8,48.1 L159.6,49.0 L160.5,50.2 L161.3,51.5 L162.2,53.0 L163.1,54.7\n",
       "\t\tL163.9,56.6 L164.8,58.7 L165.6,61.0 L166.5,63.5 L167.3,66.2 L168.2,69.1 L169.0,72.2 L169.9,75.5\n",
       "\t\tL170.7,79.0 L171.6,82.6 L172.5,86.5 L173.3,90.6 L174.2,94.9 L175.0,99.3 L175.9,104.0 L176.7,108.8\n",
       "\t\tL177.6,113.8 L178.4,119.0 L179.3,124.4 L180.1,130.0 L181.0,135.7 L181.9,141.6 L182.7,147.6 L183.6,153.8\n",
       "\t\tL184.4,160.1 L185.3,166.6 L186.1,173.2 L187.0,180.0 L187.8,186.8 L188.7,193.8 L189.5,200.9 L190.4,208.1\n",
       "\t\tL191.3,215.3 L192.1,222.6 L193.0,230.0 L193.8,237.4 L194.7,244.9 L195.5,252.4 L196.4,260.0 L197.2,267.5\n",
       "\t\tL198.1,275.0 L198.9,282.6 L199.8,290.0 L200.7,297.5 L201.5,304.9 L202.4,312.2 L203.2,319.5 L204.1,326.6\n",
       "\t\tL204.9,333.7 L205.8,340.6 L206.6,347.4 L207.5,354.0 L208.3,360.5 L209.2,366.8 L210.1,372.9 L210.9,378.8\n",
       "\t\tL211.8,384.5 L212.6,390.0 L213.5,395.2 L214.3,400.2 L215.2,404.9 L216.0,409.3 L216.9,413.4 L217.7,417.3\n",
       "\t\tL218.6,420.9 L219.5,424.1 L220.3,427.0 L221.2,429.6 L222.0,431.8 L222.9,433.7 L223.7,435.3 L224.6,436.5\n",
       "\t\tL225.4,437.3 L226.3,437.8 L227.2,438.0 L228.0,437.7 L228.9,437.1 L229.7,436.2 L230.6,434.9 L231.4,433.2\n",
       "\t\tL232.3,431.2 L233.1,428.9 L234.0,426.2 L234.8,423.2 L235.7,419.9 L236.6,416.3 L237.4,412.4 L238.3,408.2\n",
       "\t\tL239.1,403.7 L240.0,399.0 L240.8,394.1 L241.7,388.9 L242.5,383.6 L243.4,378.1 L244.2,372.4 L245.1,366.6\n",
       "\t\tL246.0,360.7 L246.8,354.6 L247.7,348.6 L248.5,342.4 L249.4,336.3 L250.2,330.1 L251.1,324.0 L251.9,317.9\n",
       "\t\tL252.8,311.9 L253.6,306.0 L254.5,300.2 L255.4,294.6 L256.2,289.2 L257.1,283.9 L257.9,278.9 L258.8,274.1\n",
       "\t\tL259.6,269.6 L260.5,265.3 L261.3,261.4 L262.2,257.7 L263.0,254.4 L263.9,251.5 L264.8,248.9 L265.6,246.7\n",
       "\t\tL266.5,244.8 L267.3,243.4 L268.2,242.3 L269.0,241.6 L269.9,241.4 L270.7,241.5 L271.6,242.1 L272.4,243.0\n",
       "\t\tL273.3,244.3 L274.2,246.0 L275.0,248.1 L275.9,250.5 L276.7,253.3 L277.6,256.3 L278.4,259.7 L279.3,263.4\n",
       "\t\tL280.1,267.3 L281.0,271.5 L281.8,275.8 L282.7,280.4 L283.6,285.1 L284.4,289.9 L285.3,294.8 L286.1,299.8\n",
       "\t\tL287.0,304.8 L287.8,309.8 L288.7,314.8 L289.5,319.7 L290.4,324.5 L291.3,329.1 L292.1,333.6 L293.0,338.0\n",
       "\t\tL293.8,342.1 L294.7,345.9 L295.5,349.5 L296.4,352.8 L297.2,355.7 L298.1,358.3 L298.9,360.6 L299.8,362.5\n",
       "\t\tL300.7,364.0 L301.5,365.2 L302.4,365.9 L303.2,366.2 L304.1,366.2 L304.9,365.7 L305.8,364.9 L306.6,363.6\n",
       "\t\tL307.5,362.0 L308.3,360.1 L309.2,357.8 L310.1,355.2 L310.9,352.3 L311.8,349.1 L312.6,345.7 L313.5,342.1\n",
       "\t\tL314.3,338.3 L315.2,334.4 L316.0,330.4 L316.9,326.3 L317.7,322.2 L318.6,318.1 L319.5,314.0 L320.3,310.0\n",
       "\t\tL321.2,306.1 L322.0,302.4 L322.9,298.9 L323.7,295.5 L324.6,292.5 L325.4,289.7 L326.3,287.2 L327.1,285.0\n",
       "\t\tL328.0,283.2 L328.9,281.7 L329.7,280.6 L330.6,279.9 L331.4,279.5 L332.3,279.6 L333.1,280.0 L334.0,280.8\n",
       "\t\tL334.8,281.9 L335.7,283.4 L336.5,285.3 L337.4,287.4 L338.3,289.8 L339.1,292.5 L340.0,295.4 L340.8,298.4\n",
       "\t\tL341.7,301.6 L342.5,305.0 L343.4,308.4 L344.2,311.8 L345.1,315.2 L345.9,318.6 L346.8,321.9 L347.7,325.1\n",
       "\t\tL348.5,328.1 L349.4,330.9 L350.2,333.4 L351.1,335.8 L351.9,337.8 L352.8,339.5 L353.6,340.9 L354.5,341.9\n",
       "\t\tL355.4,342.6 L356.2,343.0 L357.1,342.9 L357.9,342.6 L358.8,341.8 L359.6,340.8 L360.5,339.4 L361.3,337.7\n",
       "\t\tL362.2,335.7 L363.0,333.5 L363.9,331.1 L364.8,328.5 L365.6,325.8 L366.5,323.0 L367.3,320.1 L368.2,317.2\n",
       "\t\tL369.0,314.4 L369.9,311.6 L370.7,308.9 L371.6,306.3 L372.4,304.0 L373.3,301.8 L374.2,299.9 L375.0,298.3\n",
       "\t\tL375.9,297.0 L376.7,296.0 L377.6,295.3 L378.4,294.9 L379.3,294.9 L380.1,295.2 L381.0,295.8 L381.8,296.8\n",
       "\t\tL382.7,298.0 L383.6,299.5 L384.4,301.3 L385.3,303.3 L386.1,305.4 L387.0,307.7 L387.8,310.1 L388.7,312.5\n",
       "\t\tL389.5,315.0 L390.4,317.4 L391.2,319.8 L392.1,322.0 L393.0,324.1 L393.8,326.1 L394.7,327.8 L395.5,329.2\n",
       "\t\tL396.4,330.4 L397.2,331.4 L398.1,332.0 L398.9,332.3 L399.8,332.3 L400.6,332.0 L401.5,331.3 L402.4,330.4\n",
       "\t\tL403.2,329.3 L404.1,327.9 L404.9,326.3 L405.8,324.5 L406.6,322.6 L407.5,320.5 L408.3,318.5 L409.2,316.3\n",
       "\t\tL410.0,314.3 L410.9,312.3 L411.8,310.3 L412.6,308.6 L413.5,307.0 L414.3,305.6 L415.2,304.5 L416.0,303.6\n",
       "\t\tL416.9,303.0 L417.7,302.6 L418.6,302.6 L419.5,302.8 L420.3,303.4 L421.2,304.2 L422.0,305.2 L422.9,306.4\n",
       "\t\tL423.7,307.8 L424.6,309.4 L425.4,311.1 L426.3,312.9 L427.1,314.7 L428.0,316.5 L428.9,318.3 L429.7,320.0\n",
       "\t\tL430.6,321.5 L431.4,322.9 L432.3,324.1 L433.1,325.1 L434.0,325.8 L434.8,326.3 L435.7,326.5 L436.5,326.5\n",
       "\t\tL437.4,326.2 L438.3,325.7 L439.1,324.9 L440.0,323.9 L440.8,322.7 L441.7,321.4 L442.5,319.9 L443.4,318.4\n",
       "\t\tL444.2,316.8 L445.1,315.3 L445.9,313.7 L446.8,312.3 L447.7,310.9 L448.5,309.8 L449.4,308.8 L450.2,308.0\n",
       "\t\tL451.1,307.4 L451.9,307.1 L452.8,307.0 L453.6,307.1 L454.5,307.5 L455.3,308.1 L456.2,308.9 L457.1,309.9\n",
       "\t\tL457.9,311.0 L458.8,312.3 L459.6,313.6 L460.5,315.0 L461.3,316.4 L462.2,317.7 L463.0,319.0 L463.9,320.1\n",
       "\t\tL464.7,321.1 L465.6,321.9 L466.5,322.5 L467.3,323.0 L468.2,323.2 L469.0,323.1 L469.9,322.9 L470.7,322.4\n",
       "\t\tL471.6,321.7 L472.4,320.9 L473.3,319.9 L474.1,318.9 L475.0,317.7 L475.9,316.5 L476.7,315.3 L477.6,314.1\n",
       "\t\tL478.4,313.0 L479.3,312.1 L480.1,311.2 L481.0,310.5 L481.8,310.0 L482.7,309.7 L483.6,309.6 L484.4,309.8\n",
       "\t\tL485.3,310.1 L486.1,310.6 L487.0,311.2 L487.8,312.0 L488.7,313.0 L489.5,314.0 L490.4,315.0 L491.2,316.1\n",
       "\t\tL492.1,317.1 L493.0,318.1 L493.8,319.0 L494.7,319.7 L495.5,320.3 L496.4,320.7 L497.2,321.0 L498.1,321.0\n",
       "\t\tL498.9,320.9 L499.8,320.6 L500.6,320.1 L501.5,319.4 L502.4,318.7 L503.2,317.8 L504.1,316.9 L504.9,316.0\n",
       "\t\tL505.8,315.0 L506.6,314.2 L507.5,313.3 L508.3,312.7 L509.2,312.1 L510.0,311.7 L510.9,311.4 L511.8,311.4\n",
       "\t\tL512.6,311.5 L513.5,311.8 L514.3,312.2 L515.2,312.8 L516.0,313.4 L516.9,314.2 L517.7,315.0 L518.6,315.9\n",
       "\t\tL519.4,316.7 L520.3,317.4 L521.2,318.1 L522.0,318.7 L522.9,319.2 L523.7,319.5 L524.6,319.6 L525.4,319.6\n",
       "\t\tL526.3,319.4 L527.1,319.1 L528.0,318.6 L528.8,318.0 L529.7,317.4 L530.6,316.7 L531.4,315.9 L532.3,315.2\n",
       "\t\tL533.1,314.5 L534.0,313.9 L534.8,313.3 L535.7,312.9 L536.5,312.7 L537.4,312.5 L538.2,312.6 L539.1,312.7\n",
       "\t\tL540.0,313.1 L540.8,313.5 L541.7,314.0 L542.5,314.6 L543.4,315.3 L544.2,315.9 L545.1,316.6 L545.9,317.2\n",
       "\t\tL546.8,317.7 L547.7,318.1 L548.5,318.4 L549.4,318.6 L550.2,318.6 L551.1,318.5 L551.9,318.3 L552.8,318.0\n",
       "\t\tL553.6,317.5 L554.5,317.0 L555.3,316.4 L556.2,315.8 L557.1,315.2 L557.9,314.7 L558.8,314.2 L559.6,313.8\n",
       "\t\tL560.5,313.5 L561.3,313.4 L562.2,313.3 L563.0,313.4 L563.9,313.7 L564.7,314.0 L565.6,314.4 L566.5,314.9\n",
       "\t\tL567.3,315.4 L568.2,315.9 L569.0,316.5 L569.9,316.9 L570.7,317.3 L571.6,317.7 L572.4,317.9 L573.3,318.0\n",
       "\t\tL574.1,317.9 L575.0,317.8  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M62.2,16.7 L62.2,444.0 L575.0,444.0 L575.0,16.7 L62.2,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000000ff0640 @options=Hamster::Hash[], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000000ff0370 @type=:datablock, @data=#<GnuplotRB::Datablock:0x00000000ff00c8 @stored_in_file=true, @file_name=\"tmp_data20150811-7742-1am91xu-0\">, @options=Hamster::Hash[:with => \"lines\", :title => \"Before update\"]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "updatable_file_plot"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Destructive update methods\n",
    "Almost every update method in GnuplotRB's classes has its destructive twin ending with '!' or '='."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 1. Updating options\n",
    "\n",
    "Examples relate to Plot, but Splot, Multiplot, Animation and so on options may be changed the same way too."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L62.9,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(45.6,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,405.0 L62.9,405.0 M575.0,405.0 L566.0,405.0  '/>\t<g transform=\"translate(45.6,409.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,366.0 L62.9,366.0 M575.0,366.0 L566.0,366.0  '/>\t<g transform=\"translate(45.6,370.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,327.0 L62.9,327.0 M575.0,327.0 L566.0,327.0  '/>\t<g transform=\"translate(45.6,331.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,288.0 L62.9,288.0 M575.0,288.0 L566.0,288.0  '/>\t<g transform=\"translate(45.6,292.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,249.0 L62.9,249.0 M575.0,249.0 L566.0,249.0  '/>\t<g transform=\"translate(45.6,253.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,210.1 L62.9,210.1 M575.0,210.1 L566.0,210.1  '/>\t<g transform=\"translate(45.6,214.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,171.1 L62.9,171.1 M575.0,171.1 L566.0,171.1  '/>\t<g transform=\"translate(45.6,175.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,132.1 L62.9,132.1 M575.0,132.1 L566.0,132.1  '/>\t<g transform=\"translate(45.6,136.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,93.1 L62.9,93.1 M575.0,93.1 L566.0,93.1  '/>\t<g transform=\"translate(45.6,97.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,54.1 L62.9,54.1 M575.0,54.1 L566.0,54.1  '/>\t<g transform=\"translate(45.6,58.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L53.9,435.0 M53.9,54.1 L53.9,63.1  '/>\t<g transform=\"translate(53.9,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-10</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M184.2,444.0 L184.2,435.0 M184.2,54.1 L184.2,63.1  '/>\t<g transform=\"translate(184.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M314.5,444.0 L314.5,435.0 M314.5,54.1 L314.5,63.1  '/>\t<g transform=\"translate(314.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M444.7,444.0 L444.7,435.0 M444.7,54.1 L444.7,63.1  '/>\t<g transform=\"translate(444.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,54.1 L575.0,63.1  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 10</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,54.1 L53.9,444.0 L575.0,444.0 L575.0,54.1 L53.9,54.1 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(314.4,31.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >Old title</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>sin(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,76.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>sin(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,72.1 L558.4,72.1 M53.9,143.0 L59.2,178.0 L64.4,215.8 L69.7,255.1 L75.0,294.0 L80.2,331.2\n",
       "\t\tL85.5,365.0 L90.7,394.1 L96.0,417.3 L101.3,433.6 L106.5,442.5 L111.8,443.4 L117.1,436.5 L122.3,421.9\n",
       "\t\tL127.6,400.4 L132.9,372.6 L138.1,339.8 L143.4,303.4 L148.6,264.7 L153.9,225.4 L159.2,187.1 L164.4,151.2\n",
       "\t\tL169.7,119.4 L175.0,92.8 L180.2,72.6 L185.5,59.6 L190.8,54.2 L196.0,56.8 L201.3,67.2 L206.5,85.0\n",
       "\t\tL211.8,109.5 L217.1,139.7 L222.3,174.3 L227.6,211.9 L232.9,251.1 L238.1,290.1 L243.4,327.5 L248.7,361.7\n",
       "\t\tL253.9,391.4 L259.2,415.2 L264.4,432.3 L269.7,441.9 L275.0,443.7 L280.2,437.6 L285.5,423.8 L290.8,402.9\n",
       "\t\tL296.0,375.7 L301.3,343.4 L306.6,307.2 L311.8,268.7 L317.1,229.4 L322.3,190.9 L327.6,154.7 L332.9,122.4\n",
       "\t\tL338.1,95.2 L343.4,74.3 L348.7,60.5 L353.9,54.4 L359.2,56.2 L364.5,65.8 L369.7,82.9 L375.0,106.7\n",
       "\t\tL380.2,136.4 L385.5,170.6 L390.8,208.0 L396.0,247.0 L401.3,286.2 L406.6,323.8 L411.8,358.4 L417.1,388.6\n",
       "\t\tL422.4,413.1 L427.6,430.9 L432.9,441.3 L438.1,443.9 L443.4,438.5 L448.7,425.5 L453.9,405.3 L459.2,378.7\n",
       "\t\tL464.5,346.9 L469.7,311.0 L475.0,272.7 L480.3,233.4 L485.5,194.7 L490.8,158.3 L496.0,125.5 L501.3,97.7\n",
       "\t\tL506.6,76.2 L511.8,61.6 L517.1,54.7 L522.4,55.6 L527.6,64.5 L532.9,80.8 L538.2,104.0 L543.4,133.1\n",
       "\t\tL548.7,166.9 L553.9,204.1 L559.2,243.0 L564.5,282.3 L569.7,320.1 L575.0,355.1  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,54.1 L53.9,444.0 L575.0,444.0 L575.0,54.1 L53.9,54.1 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000002c56618 @options=Hamster::Hash[:title => \"Old title\"], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000002c56488 @type=:math_function, @data=\"sin(x)\", @options=Hamster::Hash[]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot = Plot.new('sin(x)', title: 'Old title')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L62.9,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(45.6,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,366.0 L62.9,366.0 M575.0,366.0 L566.0,366.0  '/>\t<g transform=\"translate(45.6,370.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,288.0 L62.9,288.0 M575.0,288.0 L566.0,288.0  '/>\t<g transform=\"translate(45.6,292.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,210.1 L62.9,210.1 M575.0,210.1 L566.0,210.1  '/>\t<g transform=\"translate(45.6,214.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,132.1 L62.9,132.1 M575.0,132.1 L566.0,132.1  '/>\t<g transform=\"translate(45.6,136.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,54.1 L62.9,54.1 M575.0,54.1 L566.0,54.1  '/>\t<g transform=\"translate(45.6,58.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L53.9,435.0 M53.9,54.1 L53.9,63.1  '/>\t<g transform=\"translate(53.9,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M184.2,444.0 L184.2,435.0 M184.2,54.1 L184.2,63.1  '/>\t<g transform=\"translate(184.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M314.5,444.0 L314.5,435.0 M314.5,54.1 L314.5,63.1  '/>\t<g transform=\"translate(314.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M444.7,444.0 L444.7,435.0 M444.7,54.1 L444.7,63.1  '/>\t<g transform=\"translate(444.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,54.1 L575.0,63.1  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,54.1 L53.9,444.0 L575.0,444.0 L575.0,54.1 L53.9,54.1 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(314.4,31.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >New title</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>Dataset title</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,76.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >Dataset title</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,72.1 L558.4,72.1 M314.5,444.0 L317.1,440.1 L322.3,432.2 L327.6,424.3 L332.9,416.5 L338.1,408.6\n",
       "\t\tL343.4,400.8 L348.7,392.9 L353.9,385.2 L359.2,377.4 L364.5,369.6 L369.7,361.9 L375.0,354.2 L380.2,346.6\n",
       "\t\tL385.5,339.0 L390.8,331.4 L396.0,323.9 L401.3,316.4 L406.6,309.0 L411.8,301.6 L417.1,294.3 L422.4,287.1\n",
       "\t\tL427.6,279.9 L432.9,272.8 L438.1,265.8 L443.4,258.8 L448.7,251.9 L453.9,245.1 L459.2,238.4 L464.5,231.7\n",
       "\t\tL469.7,225.1 L475.0,218.7 L480.3,212.3 L485.5,206.0 L490.8,199.8 L496.0,193.7 L501.3,187.7 L506.6,181.9\n",
       "\t\tL511.8,176.1 L517.1,170.4 L522.4,164.9 L527.6,159.4 L532.9,154.1 L538.2,148.9 L543.4,143.8 L548.7,138.8\n",
       "\t\tL553.9,134.0 L559.2,129.3 L564.5,124.7 L569.7,120.2 L575.0,115.9  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(148,   0, 211)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,54.1 L53.9,444.0 L575.0,444.0 L575.0,54.1 L53.9,54.1 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000002c56618 @options=Hamster::Hash[:title => [\"New title\"], :yrange => [0..1], :xrange => [-1..1]], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000002c56488 @type=:math_function, @data=\"sin(x)\", @options=Hamster::Hash[:title => [\"Dataset title\"]]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot.title = 'New title'\n",
    "# plot is container of datasets, so plot[0] is Dataset object\n",
    "plot[0].title = 'Dataset title'\n",
    "plot.xrange!(-1..1)\n",
    "plot.yrange = 0..1\n",
    "plot"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "You can update several options at once using ```#options!``` method or use something like ```Plot#update_dataset!```.Please see [GnuplotRB](https://rubygems.org/gems/gnuplotrb) doc for more methods."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 2. Updating containers\n",
    "\n",
    "Plot and Splot are containers for Dataset, Multiplot and Animation - for Plots and Splots. So sometimes you may want to modify them. GnuplotRB offers methods such as ```#add_dataset```, ```#remove_dataset```, ```#replace_dataset```, ```#update_dataset```, their destructive twins (with '!' at the end) and methods like them for other classes."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,444.0 L46.3,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(29.0,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,396.5 L46.3,396.5 M575.0,396.5 L566.0,396.5  '/>\t<g transform=\"translate(29.0,401.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,349.0 L46.3,349.0 M575.0,349.0 L566.0,349.0  '/>\t<g transform=\"translate(29.0,353.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,301.6 L46.3,301.6 M575.0,301.6 L566.0,301.6  '/>\t<g transform=\"translate(29.0,306.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,254.1 L46.3,254.1 M575.0,254.1 L566.0,254.1  '/>\t<g transform=\"translate(29.0,258.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,206.6 L46.3,206.6 M575.0,206.6 L566.0,206.6  '/>\t<g transform=\"translate(29.0,211.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,159.1 L46.3,159.1 M575.0,159.1 L566.0,159.1  '/>\t<g transform=\"translate(29.0,163.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,111.7 L46.3,111.7 M575.0,111.7 L566.0,111.7  '/>\t<g transform=\"translate(29.0,116.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,64.2 L46.3,64.2 M575.0,64.2 L566.0,64.2  '/>\t<g transform=\"translate(29.0,68.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 7</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,16.7 L46.3,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(29.0,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,444.0 L37.3,435.0 M37.3,16.7 L37.3,25.7  '/>\t<g transform=\"translate(37.3,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M171.7,444.0 L171.7,435.0 M171.7,16.7 L171.7,25.7  '/>\t<g transform=\"translate(171.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M306.2,444.0 L306.2,435.0 M306.2,16.7 L306.2,25.7  '/>\t<g transform=\"translate(306.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M440.6,444.0 L440.6,435.0 M440.6,16.7 L440.6,25.7  '/>\t<g transform=\"translate(440.6,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,16.7 L37.3,444.0 L575.0,444.0 L575.0,16.7 L37.3,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>sin(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>sin(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M37.3,396.5 L42.7,395.6 L48.2,394.6 L53.6,393.6 L59.0,392.7 L64.5,391.7\n",
       "\t\tL69.9,390.8 L75.3,389.8 L80.8,388.9 L86.2,387.9 L91.6,387.0 L97.0,386.1 L102.5,385.1 L107.9,384.2\n",
       "\t\tL113.3,383.3 L118.8,382.4 L124.2,381.4 L129.6,380.5 L135.1,379.6 L140.5,378.7 L145.9,377.9 L151.4,377.0\n",
       "\t\tL156.8,376.1 L162.2,375.2 L167.7,374.4 L173.1,373.6 L178.5,372.7 L183.9,371.9 L189.4,371.1 L194.8,370.3\n",
       "\t\tL200.2,369.5 L205.7,368.7 L211.1,367.9 L216.5,367.2 L222.0,366.4 L227.4,365.7 L232.8,365.0 L238.3,364.2\n",
       "\t\tL243.7,363.6 L249.1,362.9 L254.6,362.2 L260.0,361.5 L265.4,360.9 L270.8,360.3 L276.3,359.7 L281.7,359.1\n",
       "\t\tL287.1,358.5 L292.6,357.9 L298.0,357.4 L303.4,356.8 L308.9,356.3 L314.3,355.8 L319.7,355.3 L325.2,354.9\n",
       "\t\tL330.6,354.4 L336.0,354.0 L341.5,353.6 L346.9,353.2 L352.3,352.8 L357.7,352.4 L363.2,352.1 L368.6,351.7\n",
       "\t\tL374.0,351.4 L379.5,351.1 L384.9,350.9 L390.3,350.6 L395.8,350.4 L401.2,350.2 L406.6,350.0 L412.1,349.8\n",
       "\t\tL417.5,349.6 L422.9,349.5 L428.4,349.4 L433.8,349.3 L439.2,349.2 L444.6,349.1 L450.1,349.1 L455.5,349.0\n",
       "\t\tL460.9,349.0 L466.4,349.1 L471.8,349.1 L477.2,349.1 L482.7,349.2 L488.1,349.3 L493.5,349.4 L499.0,349.6\n",
       "\t\tL504.4,349.7 L509.8,349.9 L515.3,350.1 L520.7,350.3 L526.1,350.5 L531.5,350.7 L537.0,351.0 L542.4,351.3\n",
       "\t\tL547.8,351.6 L553.3,351.9 L558.7,352.2 L564.1,352.6 L569.6,353.0 L575.0,353.4  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_2\" ><title>cos(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,57.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>cos(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(  0, 158, 115)'  d='M516.2,52.7 L558.4,52.7 M37.3,349.0 L42.7,349.1 L48.2,349.1 L53.6,349.1 L59.0,349.2 L64.5,349.3\n",
       "\t\tL69.9,349.4 L75.3,349.5 L80.8,349.7 L86.2,349.8 L91.6,350.0 L97.0,350.2 L102.5,350.4 L107.9,350.7\n",
       "\t\tL113.3,350.9 L118.8,351.2 L124.2,351.5 L129.6,351.8 L135.1,352.1 L140.5,352.5 L145.9,352.9 L151.4,353.3\n",
       "\t\tL156.8,353.7 L162.2,354.1 L167.7,354.5 L173.1,355.0 L178.5,355.4 L183.9,355.9 L189.4,356.4 L194.8,357.0\n",
       "\t\tL200.2,357.5 L205.7,358.1 L211.1,358.6 L216.5,359.2 L222.0,359.8 L227.4,360.4 L232.8,361.1 L238.3,361.7\n",
       "\t\tL243.7,362.4 L249.1,363.0 L254.6,363.7 L260.0,364.4 L265.4,365.1 L270.8,365.9 L276.3,366.6 L281.7,367.3\n",
       "\t\tL287.1,368.1 L292.6,368.9 L298.0,369.7 L303.4,370.5 L308.9,371.3 L314.3,372.1 L319.7,372.9 L325.2,373.8\n",
       "\t\tL330.6,374.6 L336.0,375.5 L341.5,376.3 L346.9,377.2 L352.3,378.1 L357.7,379.0 L363.2,379.9 L368.6,380.8\n",
       "\t\tL374.0,381.7 L379.5,382.6 L384.9,383.5 L390.3,384.4 L395.8,385.4 L401.2,386.3 L406.6,387.2 L412.1,388.2\n",
       "\t\tL417.5,389.1 L422.9,390.1 L428.4,391.0 L433.8,392.0 L439.2,392.9 L444.6,393.9 L450.1,394.8 L455.5,395.8\n",
       "\t\tL460.9,396.8 L466.4,397.7 L471.8,398.7 L477.2,399.6 L482.7,400.6 L488.1,401.5 L493.5,402.5 L499.0,403.4\n",
       "\t\tL504.4,404.4 L509.8,405.3 L515.3,406.3 L520.7,407.2 L526.1,408.1 L531.5,409.1 L537.0,410.0 L542.4,410.9\n",
       "\t\tL547.8,411.8 L553.3,412.7 L558.7,413.6 L564.1,414.5 L569.6,415.4 L575.0,416.3  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_3\" ><title>exp(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,75.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>exp(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb( 86, 180, 233)'  d='M516.2,70.7 L558.4,70.7 M37.3,349.0 L42.7,348.1 L48.2,347.1 L53.6,346.1 L59.0,345.0 L64.5,344.0\n",
       "\t\tL69.9,342.9 L75.3,341.8 L80.8,340.7 L86.2,339.6 L91.6,338.4 L97.0,337.2 L102.5,336.0 L107.9,334.8\n",
       "\t\tL113.3,333.5 L118.8,332.2 L124.2,330.9 L129.6,329.6 L135.1,328.2 L140.5,326.8 L145.9,325.4 L151.4,324.0\n",
       "\t\tL156.8,322.5 L162.2,321.0 L167.7,319.4 L173.1,317.8 L178.5,316.2 L183.9,314.6 L189.4,312.9 L194.8,311.2\n",
       "\t\tL200.2,309.5 L205.7,307.7 L211.1,305.9 L216.5,304.0 L222.0,302.2 L227.4,300.2 L232.8,298.3 L238.3,296.3\n",
       "\t\tL243.7,294.2 L249.1,292.1 L254.6,290.0 L260.0,287.8 L265.4,285.6 L270.8,283.3 L276.3,281.0 L281.7,278.7\n",
       "\t\tL287.1,276.3 L292.6,273.8 L298.0,271.3 L303.4,268.8 L308.9,266.2 L314.3,263.5 L319.7,260.8 L325.2,258.0\n",
       "\t\tL330.6,255.2 L336.0,252.3 L341.5,249.4 L346.9,246.4 L352.3,243.3 L357.7,240.2 L363.2,237.0 L368.6,233.7\n",
       "\t\tL374.0,230.4 L379.5,227.0 L384.9,223.5 L390.3,220.0 L395.8,216.4 L401.2,212.7 L406.6,209.0 L412.1,205.2\n",
       "\t\tL417.5,201.2 L422.9,197.3 L428.4,193.2 L433.8,189.0 L439.2,184.8 L444.6,180.5 L450.1,176.1 L455.5,171.6\n",
       "\t\tL460.9,167.0 L466.4,162.3 L471.8,157.5 L477.2,152.7 L482.7,147.7 L488.1,142.6 L493.5,137.4 L499.0,132.1\n",
       "\t\tL504.4,126.7 L509.8,121.2 L515.3,115.6 L520.7,109.9 L526.1,104.0 L531.5,98.1 L537.0,92.0 L542.4,85.8\n",
       "\t\tL547.8,79.4 L553.3,72.9 L558.7,66.3 L564.1,59.6 L569.6,52.7 L575.0,45.7  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb( 86, 180, 233)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,16.7 L37.3,444.0 L575.0,444.0 L575.0,16.7 L37.3,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000002cc32b8 @options=Hamster::Hash[:xrange => 0..2], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000002cc3128 @type=:math_function, @data=\"sin(x)\", @options=Hamster::Hash[]>, #<GnuplotRB::Dataset:0x00000002cc2e08 @type=:math_function, @data=\"cos(x)\", @options=Hamster::Hash[]>, #<GnuplotRB::Dataset:0x00000002cc2ae8 @type=:math_function, @data=\"exp(x)\", @options=Hamster::Hash[]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot = Plot.new('sin(x)', 'cos(x)', 'exp(x)', xrange: 0..2)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,444.0 L46.3,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(29.0,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,390.6 L46.3,390.6 M575.0,390.6 L566.0,390.6  '/>\t<g transform=\"translate(29.0,395.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,337.2 L46.3,337.2 M575.0,337.2 L566.0,337.2  '/>\t<g transform=\"translate(29.0,341.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,283.8 L46.3,283.8 M575.0,283.8 L566.0,283.8  '/>\t<g transform=\"translate(29.0,288.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,230.3 L46.3,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(29.0,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,176.9 L46.3,176.9 M575.0,176.9 L566.0,176.9  '/>\t<g transform=\"translate(29.0,181.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,123.5 L46.3,123.5 M575.0,123.5 L566.0,123.5  '/>\t<g transform=\"translate(29.0,128.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,70.1 L46.3,70.1 M575.0,70.1 L566.0,70.1  '/>\t<g transform=\"translate(29.0,74.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 7</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,16.7 L46.3,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(29.0,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,444.0 L37.3,435.0 M37.3,16.7 L37.3,25.7  '/>\t<g transform=\"translate(37.3,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M171.7,444.0 L171.7,435.0 M171.7,16.7 L171.7,25.7  '/>\t<g transform=\"translate(171.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M306.2,444.0 L306.2,435.0 M306.2,16.7 L306.2,25.7  '/>\t<g transform=\"translate(306.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M440.6,444.0 L440.6,435.0 M440.6,16.7 L440.6,25.7  '/>\t<g transform=\"translate(440.6,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,16.7 L37.3,444.0 L575.0,444.0 L575.0,16.7 L37.3,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>sin(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>sin(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M37.3,444.0 L42.7,442.9 L48.2,441.8 L53.6,440.8 L59.0,439.7 L64.5,438.6\n",
       "\t\tL69.9,437.5 L75.3,436.5 L80.8,435.4 L86.2,434.3 L91.6,433.3 L97.0,432.2 L102.5,431.2 L107.9,430.1\n",
       "\t\tL113.3,429.1 L118.8,428.1 L124.2,427.0 L129.6,426.0 L135.1,425.0 L140.5,424.0 L145.9,423.0 L151.4,422.0\n",
       "\t\tL156.8,421.0 L162.2,420.1 L167.7,419.1 L173.1,418.2 L178.5,417.2 L183.9,416.3 L189.4,415.4 L194.8,414.5\n",
       "\t\tL200.2,413.6 L205.7,412.7 L211.1,411.8 L216.5,411.0 L222.0,410.1 L227.4,409.3 L232.8,408.5 L238.3,407.7\n",
       "\t\tL243.7,406.9 L249.1,406.1 L254.6,405.4 L260.0,404.6 L265.4,403.9 L270.8,403.2 L276.3,402.5 L281.7,401.9\n",
       "\t\tL287.1,401.2 L292.6,400.6 L298.0,399.9 L303.4,399.3 L308.9,398.8 L314.3,398.2 L319.7,397.7 L325.2,397.1\n",
       "\t\tL330.6,396.6 L336.0,396.1 L341.5,395.7 L346.9,395.2 L352.3,394.8 L357.7,394.4 L363.2,394.0 L368.6,393.6\n",
       "\t\tL374.0,393.3 L379.5,392.9 L384.9,392.6 L390.3,392.4 L395.8,392.1 L401.2,391.8 L406.6,391.6 L412.1,391.4\n",
       "\t\tL417.5,391.2 L422.9,391.1 L428.4,390.9 L433.8,390.8 L439.2,390.7 L444.6,390.7 L450.1,390.6 L455.5,390.6\n",
       "\t\tL460.9,390.6 L466.4,390.6 L471.8,390.6 L477.2,390.7 L482.7,390.8 L488.1,390.9 L493.5,391.0 L499.0,391.2\n",
       "\t\tL504.4,391.3 L509.8,391.5 L515.3,391.7 L520.7,392.0 L526.1,392.2 L531.5,392.5 L537.0,392.8 L542.4,393.1\n",
       "\t\tL547.8,393.4 L553.3,393.8 L558.7,394.2 L564.1,394.6 L569.6,395.0 L575.0,395.4  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_2\" ><title>x*x</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,57.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>x*x</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(  0, 158, 115)'  d='M516.2,52.7 L558.4,52.7 M37.3,444.0 L42.7,444.0 L48.2,443.9 L53.6,443.8 L59.0,443.7 L64.5,443.5\n",
       "\t\tL69.9,443.2 L75.3,442.9 L80.8,442.6 L86.2,442.2 L91.6,441.8 L97.0,441.4 L102.5,440.9 L107.9,440.3\n",
       "\t\tL113.3,439.7 L118.8,439.1 L124.2,438.4 L129.6,437.7 L135.1,436.9 L140.5,436.1 L145.9,435.3 L151.4,434.4\n",
       "\t\tL156.8,433.4 L162.2,432.5 L167.7,431.4 L173.1,430.4 L178.5,429.3 L183.9,428.1 L189.4,426.9 L194.8,425.7\n",
       "\t\tL200.2,424.4 L205.7,423.1 L211.1,421.7 L216.5,420.3 L222.0,418.8 L227.4,417.3 L232.8,415.7 L238.3,414.2\n",
       "\t\tL243.7,412.5 L249.1,410.8 L254.6,409.1 L260.0,407.4 L265.4,405.5 L270.8,403.7 L276.3,401.8 L281.7,399.9\n",
       "\t\tL287.1,397.9 L292.6,395.8 L298.0,393.8 L303.4,391.7 L308.9,389.5 L314.3,387.3 L319.7,385.1 L325.2,382.8\n",
       "\t\tL330.6,380.4 L336.0,378.1 L341.5,375.6 L346.9,373.2 L352.3,370.7 L357.7,368.1 L363.2,365.5 L368.6,362.9\n",
       "\t\tL374.0,360.2 L379.5,357.5 L384.9,354.7 L390.3,351.9 L395.8,349.0 L401.2,346.1 L406.6,343.2 L412.1,340.2\n",
       "\t\tL417.5,337.2 L422.9,334.1 L428.4,331.0 L433.8,327.8 L439.2,324.6 L444.6,321.4 L450.1,318.1 L455.5,314.8\n",
       "\t\tL460.9,311.4 L466.4,308.0 L471.8,304.5 L477.2,301.0 L482.7,297.4 L488.1,293.8 L493.5,290.2 L499.0,286.5\n",
       "\t\tL504.4,282.8 L509.8,279.0 L515.3,275.2 L520.7,271.3 L526.1,267.4 L531.5,263.5 L537.0,259.5 L542.4,255.5\n",
       "\t\tL547.8,251.4 L553.3,247.3 L558.7,243.1 L564.1,238.9 L569.6,234.6 L575.0,230.3  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_3\" ><title>exp(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,75.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>exp(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb( 86, 180, 233)'  d='M516.2,70.7 L558.4,70.7 M37.3,390.6 L42.7,389.5 L48.2,388.4 L53.6,387.3 L59.0,386.1 L64.5,384.9\n",
       "\t\tL69.9,383.7 L75.3,382.5 L80.8,381.2 L86.2,379.9 L91.6,378.6 L97.0,377.3 L102.5,375.9 L107.9,374.5\n",
       "\t\tL113.3,373.1 L118.8,371.7 L124.2,370.2 L129.6,368.7 L135.1,367.2 L140.5,365.6 L145.9,364.0 L151.4,362.4\n",
       "\t\tL156.8,360.7 L162.2,359.0 L167.7,357.3 L173.1,355.5 L178.5,353.7 L183.9,351.8 L189.4,350.0 L194.8,348.0\n",
       "\t\tL200.2,346.1 L205.7,344.1 L211.1,342.0 L216.5,340.0 L222.0,337.8 L227.4,335.7 L232.8,333.5 L238.3,331.2\n",
       "\t\tL243.7,328.9 L249.1,326.6 L254.6,324.2 L260.0,321.7 L265.4,319.2 L270.8,316.7 L276.3,314.1 L281.7,311.4\n",
       "\t\tL287.1,308.7 L292.6,306.0 L298.0,303.1 L303.4,300.3 L308.9,297.3 L314.3,294.3 L319.7,291.3 L325.2,288.2\n",
       "\t\tL330.6,285.0 L336.0,281.7 L341.5,278.4 L346.9,275.1 L352.3,271.6 L357.7,268.1 L363.2,264.5 L368.6,260.8\n",
       "\t\tL374.0,257.1 L379.5,253.3 L384.9,249.4 L390.3,245.4 L395.8,241.4 L401.2,237.2 L406.6,233.0 L412.1,228.7\n",
       "\t\tL417.5,224.3 L422.9,219.8 L428.4,215.3 L433.8,210.6 L439.2,205.8 L444.6,201.0 L450.1,196.0 L455.5,190.9\n",
       "\t\tL460.9,185.8 L466.4,180.5 L471.8,175.1 L477.2,169.6 L482.7,164.1 L488.1,158.3 L493.5,152.5 L499.0,146.6\n",
       "\t\tL504.4,140.5 L509.8,134.3 L515.3,128.0 L520.7,121.5 L526.1,114.9 L531.5,108.2 L537.0,101.4 L542.4,94.4\n",
       "\t\tL547.8,87.3 L553.3,80.0 L558.7,72.5 L564.1,65.0 L569.6,57.2 L575.0,49.3  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb( 86, 180, 233)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M37.3,16.7 L37.3,444.0 L575.0,444.0 L575.0,16.7 L37.3,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000002d03318 @options=Hamster::Hash[:xrange => 0..2], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000002cc3128 @type=:math_function, @data=\"sin(x)\", @options=Hamster::Hash[]>, #<GnuplotRB::Dataset:0x00000002d03688 @type=:math_function, @data=\"x*x\", @options=Hamster::Hash[]>, #<GnuplotRB::Dataset:0x00000002cc2ae8 @type=:math_function, @data=\"exp(x)\", @options=Hamster::Hash[]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot.replace_dataset(1, 'x*x') # DOES NOT modify original plot"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L62.9,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(45.6,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,396.5 L62.9,396.5 M575.0,396.5 L566.0,396.5  '/>\t<g transform=\"translate(45.6,401.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,349.0 L62.9,349.0 M575.0,349.0 L566.0,349.0  '/>\t<g transform=\"translate(45.6,353.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,301.6 L62.9,301.6 M575.0,301.6 L566.0,301.6  '/>\t<g transform=\"translate(45.6,306.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,254.1 L62.9,254.1 M575.0,254.1 L566.0,254.1  '/>\t<g transform=\"translate(45.6,258.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,206.6 L62.9,206.6 M575.0,206.6 L566.0,206.6  '/>\t<g transform=\"translate(45.6,211.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,159.1 L62.9,159.1 M575.0,159.1 L566.0,159.1  '/>\t<g transform=\"translate(45.6,163.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,111.7 L62.9,111.7 M575.0,111.7 L566.0,111.7  '/>\t<g transform=\"translate(45.6,116.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,64.2 L62.9,64.2 M575.0,64.2 L566.0,64.2  '/>\t<g transform=\"translate(45.6,68.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L62.9,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(45.6,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L53.9,435.0 M53.9,16.7 L53.9,25.7  '/>\t<g transform=\"translate(53.9,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M184.2,444.0 L184.2,435.0 M184.2,16.7 L184.2,25.7  '/>\t<g transform=\"translate(184.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M314.5,444.0 L314.5,435.0 M314.5,16.7 L314.5,25.7  '/>\t<g transform=\"translate(314.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M444.7,444.0 L444.7,435.0 M444.7,16.7 L444.7,25.7  '/>\t<g transform=\"translate(444.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L53.9,444.0 L575.0,444.0 L575.0,16.7 L53.9,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>sin(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>sin(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M53.9,396.5 L59.2,394.6 L64.4,392.7 L69.7,390.8 L75.0,388.9 L80.2,386.9\n",
       "\t\tL85.5,385.0 L90.7,383.1 L96.0,381.2 L101.3,379.4 L106.5,377.5 L111.8,375.6 L117.1,373.7 L122.3,371.9\n",
       "\t\tL127.6,370.0 L132.9,368.2 L138.1,366.4 L143.4,364.5 L148.6,362.7 L153.9,361.0 L159.2,359.2 L164.4,357.4\n",
       "\t\tL169.7,355.7 L175.0,354.0 L180.2,352.3 L185.5,350.6 L190.8,348.9 L196.0,347.3 L201.3,345.6 L206.5,344.0\n",
       "\t\tL211.8,342.4 L217.1,340.9 L222.3,339.3 L227.6,337.8 L232.9,336.3 L238.1,334.8 L243.4,333.4 L248.7,332.0\n",
       "\t\tL253.9,330.6 L259.2,329.2 L264.4,327.9 L269.7,326.6 L275.0,325.3 L280.2,324.0 L285.5,322.8 L290.8,321.6\n",
       "\t\tL296.0,320.4 L301.3,319.3 L306.6,318.2 L311.8,317.1 L317.1,316.1 L322.3,315.1 L327.6,314.1 L332.9,313.2\n",
       "\t\tL338.1,312.3 L343.4,311.4 L348.7,310.6 L353.9,309.8 L359.2,309.0 L364.5,308.3 L369.7,307.6 L375.0,307.0\n",
       "\t\tL380.2,306.3 L385.5,305.8 L390.8,305.2 L396.0,304.7 L401.3,304.2 L406.6,303.8 L411.8,303.4 L417.1,303.0\n",
       "\t\tL422.4,302.7 L427.6,302.4 L432.9,302.2 L438.1,302.0 L443.4,301.8 L448.7,301.7 L453.9,301.6 L459.2,301.6\n",
       "\t\tL464.5,301.6 L469.7,301.6 L475.0,301.7 L480.3,301.8 L485.5,301.9 L490.8,302.1 L496.0,302.3 L501.3,302.6\n",
       "\t\tL506.6,302.9 L511.8,303.2 L517.1,303.6 L522.4,304.0 L527.6,304.5 L532.9,304.9 L538.2,305.5 L543.4,306.0\n",
       "\t\tL548.7,306.6 L553.9,307.3 L559.2,307.9 L564.5,308.7 L569.7,309.4 L575.0,310.2  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_2\" ><title>cos(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,57.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>cos(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(  0, 158, 115)'  d='M516.2,52.7 L558.4,52.7 M53.9,301.6 L59.2,301.6 L64.4,301.6 L69.7,301.7 L75.0,301.9 L80.2,302.1\n",
       "\t\tL85.5,302.3 L90.7,302.5 L96.0,302.8 L101.3,303.1 L106.5,303.5 L111.8,303.9 L117.1,304.3 L122.3,304.8\n",
       "\t\tL127.6,305.3 L132.9,305.9 L138.1,306.5 L143.4,307.1 L148.6,307.8 L153.9,308.5 L159.2,309.2 L164.4,310.0\n",
       "\t\tL169.7,310.8 L175.0,311.6 L180.2,312.5 L185.5,313.4 L190.8,314.4 L196.0,315.3 L201.3,316.4 L206.5,317.4\n",
       "\t\tL211.8,318.5 L217.1,319.6 L222.3,320.7 L227.6,321.9 L232.9,323.1 L238.1,324.3 L243.4,325.6 L248.7,326.9\n",
       "\t\tL253.9,328.2 L259.2,329.5 L264.4,330.9 L269.7,332.3 L275.0,333.7 L280.2,335.2 L285.5,336.7 L290.8,338.2\n",
       "\t\tL296.0,339.7 L301.3,341.2 L306.6,342.8 L311.8,344.4 L317.1,346.0 L322.3,347.7 L327.6,349.3 L332.9,351.0\n",
       "\t\tL338.1,352.7 L343.4,354.4 L348.7,356.1 L353.9,357.9 L359.2,359.6 L364.5,361.4 L369.7,363.2 L375.0,365.0\n",
       "\t\tL380.2,366.8 L385.5,368.6 L390.8,370.5 L396.0,372.3 L401.3,374.2 L406.6,376.1 L411.8,377.9 L417.1,379.8\n",
       "\t\tL422.4,381.7 L427.6,383.6 L432.9,385.5 L438.1,387.4 L443.4,389.3 L448.7,391.2 L453.9,393.2 L459.2,395.1\n",
       "\t\tL464.5,397.0 L469.7,398.9 L475.0,400.8 L480.3,402.7 L485.5,404.7 L490.8,406.6 L496.0,408.5 L501.3,410.4\n",
       "\t\tL506.6,412.3 L511.8,414.2 L517.1,416.0 L522.4,417.9 L527.6,419.8 L532.9,421.6 L538.2,423.5 L543.4,425.3\n",
       "\t\tL548.7,427.1 L553.9,428.9 L559.2,430.7 L564.5,432.5 L569.7,434.3 L575.0,436.0  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_3\" ><title>x*x</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,75.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>x*x</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb( 86, 180, 233)'  d='M516.2,70.7 L558.4,70.7 M53.9,396.5 L59.2,396.5 L64.4,396.4 L69.7,396.2 L75.0,395.9 L80.2,395.6\n",
       "\t\tL85.5,395.1 L90.7,394.6 L96.0,394.0 L101.3,393.4 L106.5,392.6 L111.8,391.8 L117.1,390.9 L122.3,390.0\n",
       "\t\tL127.6,388.9 L132.9,387.8 L138.1,386.6 L143.4,385.3 L148.6,384.0 L153.9,382.5 L159.2,381.0 L164.4,379.4\n",
       "\t\tL169.7,377.8 L175.0,376.0 L180.2,374.2 L185.5,372.3 L190.8,370.3 L196.0,368.3 L201.3,366.1 L206.5,363.9\n",
       "\t\tL211.8,361.6 L217.1,359.3 L222.3,356.8 L227.6,354.3 L232.9,351.7 L238.1,349.0 L243.4,346.3 L248.7,343.5\n",
       "\t\tL253.9,340.6 L259.2,337.6 L264.4,334.5 L269.7,331.4 L275.0,328.2 L280.2,324.9 L285.5,321.5 L290.8,318.0\n",
       "\t\tL296.0,314.5 L301.3,310.9 L306.6,307.2 L311.8,303.5 L317.1,299.6 L322.3,295.7 L327.6,291.7 L332.9,287.7\n",
       "\t\tL338.1,283.5 L343.4,279.3 L348.7,275.0 L353.9,270.6 L359.2,266.2 L364.5,261.6 L369.7,257.0 L375.0,252.3\n",
       "\t\tL380.2,247.6 L385.5,242.7 L390.8,237.8 L396.0,232.8 L401.3,227.7 L406.6,222.6 L411.8,217.3 L417.1,212.0\n",
       "\t\tL422.4,206.6 L427.6,201.2 L432.9,195.6 L438.1,190.0 L443.4,184.3 L448.7,178.5 L453.9,172.7 L459.2,166.8\n",
       "\t\tL464.5,160.7 L469.7,154.7 L475.0,148.5 L480.3,142.3 L485.5,135.9 L490.8,129.5 L496.0,123.1 L501.3,116.5\n",
       "\t\tL506.6,109.9 L511.8,103.2 L517.1,96.4 L522.4,89.6 L527.6,82.6 L532.9,75.6 L538.2,68.5 L543.4,61.3\n",
       "\t\tL548.7,54.1 L553.9,46.8 L559.2,39.4 L564.5,31.9 L569.7,24.3 L575.0,16.7  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb( 86, 180, 233)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L53.9,444.0 L575.0,444.0 L575.0,16.7 L53.9,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000002cc32b8 @options=Hamster::Hash[:xrange => 0..2], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000002cc3128 @type=:math_function, @data=\"sin(x)\", @options=Hamster::Hash[]>, #<GnuplotRB::Dataset:0x00000002cc2e08 @type=:math_function, @data=\"cos(x)\", @options=Hamster::Hash[]>, #<GnuplotRB::Dataset:0x00000002d3c168 @type=:math_function, @data=\"x*x\", @options=Hamster::Hash[]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot.replace_dataset!(2, 'x*x') # MODIFYES original plot"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L62.9,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(45.6,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,396.5 L62.9,396.5 M575.0,396.5 L566.0,396.5  '/>\t<g transform=\"translate(45.6,401.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,349.0 L62.9,349.0 M575.0,349.0 L566.0,349.0  '/>\t<g transform=\"translate(45.6,353.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,301.6 L62.9,301.6 M575.0,301.6 L566.0,301.6  '/>\t<g transform=\"translate(45.6,306.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,254.1 L62.9,254.1 M575.0,254.1 L566.0,254.1  '/>\t<g transform=\"translate(45.6,258.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,206.6 L62.9,206.6 M575.0,206.6 L566.0,206.6  '/>\t<g transform=\"translate(45.6,211.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,159.1 L62.9,159.1 M575.0,159.1 L566.0,159.1  '/>\t<g transform=\"translate(45.6,163.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,111.7 L62.9,111.7 M575.0,111.7 L566.0,111.7  '/>\t<g transform=\"translate(45.6,116.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,64.2 L62.9,64.2 M575.0,64.2 L566.0,64.2  '/>\t<g transform=\"translate(45.6,68.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 3.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L62.9,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(45.6,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L53.9,435.0 M53.9,16.7 L53.9,25.7  '/>\t<g transform=\"translate(53.9,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M184.2,444.0 L184.2,435.0 M184.2,16.7 L184.2,25.7  '/>\t<g transform=\"translate(184.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M314.5,444.0 L314.5,435.0 M314.5,16.7 L314.5,25.7  '/>\t<g transform=\"translate(314.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M444.7,444.0 L444.7,435.0 M444.7,16.7 L444.7,25.7  '/>\t<g transform=\"translate(444.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L53.9,444.0 L575.0,444.0 L575.0,16.7 L53.9,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>1-st dataset</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >1-st dataset</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M53.9,396.5 L59.2,394.6 L64.4,392.7 L69.7,390.8 L75.0,388.9 L80.2,386.9\n",
       "\t\tL85.5,385.0 L90.7,383.1 L96.0,381.2 L101.3,379.4 L106.5,377.5 L111.8,375.6 L117.1,373.7 L122.3,371.9\n",
       "\t\tL127.6,370.0 L132.9,368.2 L138.1,366.4 L143.4,364.5 L148.6,362.7 L153.9,361.0 L159.2,359.2 L164.4,357.4\n",
       "\t\tL169.7,355.7 L175.0,354.0 L180.2,352.3 L185.5,350.6 L190.8,348.9 L196.0,347.3 L201.3,345.6 L206.5,344.0\n",
       "\t\tL211.8,342.4 L217.1,340.9 L222.3,339.3 L227.6,337.8 L232.9,336.3 L238.1,334.8 L243.4,333.4 L248.7,332.0\n",
       "\t\tL253.9,330.6 L259.2,329.2 L264.4,327.9 L269.7,326.6 L275.0,325.3 L280.2,324.0 L285.5,322.8 L290.8,321.6\n",
       "\t\tL296.0,320.4 L301.3,319.3 L306.6,318.2 L311.8,317.1 L317.1,316.1 L322.3,315.1 L327.6,314.1 L332.9,313.2\n",
       "\t\tL338.1,312.3 L343.4,311.4 L348.7,310.6 L353.9,309.8 L359.2,309.0 L364.5,308.3 L369.7,307.6 L375.0,307.0\n",
       "\t\tL380.2,306.3 L385.5,305.8 L390.8,305.2 L396.0,304.7 L401.3,304.2 L406.6,303.8 L411.8,303.4 L417.1,303.0\n",
       "\t\tL422.4,302.7 L427.6,302.4 L432.9,302.2 L438.1,302.0 L443.4,301.8 L448.7,301.7 L453.9,301.6 L459.2,301.6\n",
       "\t\tL464.5,301.6 L469.7,301.6 L475.0,301.7 L480.3,301.8 L485.5,301.9 L490.8,302.1 L496.0,302.3 L501.3,302.6\n",
       "\t\tL506.6,302.9 L511.8,303.2 L517.1,303.6 L522.4,304.0 L527.6,304.5 L532.9,304.9 L538.2,305.5 L543.4,306.0\n",
       "\t\tL548.7,306.6 L553.9,307.3 L559.2,307.9 L564.5,308.7 L569.7,309.4 L575.0,310.2  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_2\" ><title>cos(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,57.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>cos(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(  0, 158, 115)'  d='M516.2,52.7 L558.4,52.7 M53.9,301.6 L59.2,301.6 L64.4,301.6 L69.7,301.7 L75.0,301.9 L80.2,302.1\n",
       "\t\tL85.5,302.3 L90.7,302.5 L96.0,302.8 L101.3,303.1 L106.5,303.5 L111.8,303.9 L117.1,304.3 L122.3,304.8\n",
       "\t\tL127.6,305.3 L132.9,305.9 L138.1,306.5 L143.4,307.1 L148.6,307.8 L153.9,308.5 L159.2,309.2 L164.4,310.0\n",
       "\t\tL169.7,310.8 L175.0,311.6 L180.2,312.5 L185.5,313.4 L190.8,314.4 L196.0,315.3 L201.3,316.4 L206.5,317.4\n",
       "\t\tL211.8,318.5 L217.1,319.6 L222.3,320.7 L227.6,321.9 L232.9,323.1 L238.1,324.3 L243.4,325.6 L248.7,326.9\n",
       "\t\tL253.9,328.2 L259.2,329.5 L264.4,330.9 L269.7,332.3 L275.0,333.7 L280.2,335.2 L285.5,336.7 L290.8,338.2\n",
       "\t\tL296.0,339.7 L301.3,341.2 L306.6,342.8 L311.8,344.4 L317.1,346.0 L322.3,347.7 L327.6,349.3 L332.9,351.0\n",
       "\t\tL338.1,352.7 L343.4,354.4 L348.7,356.1 L353.9,357.9 L359.2,359.6 L364.5,361.4 L369.7,363.2 L375.0,365.0\n",
       "\t\tL380.2,366.8 L385.5,368.6 L390.8,370.5 L396.0,372.3 L401.3,374.2 L406.6,376.1 L411.8,377.9 L417.1,379.8\n",
       "\t\tL422.4,381.7 L427.6,383.6 L432.9,385.5 L438.1,387.4 L443.4,389.3 L448.7,391.2 L453.9,393.2 L459.2,395.1\n",
       "\t\tL464.5,397.0 L469.7,398.9 L475.0,400.8 L480.3,402.7 L485.5,404.7 L490.8,406.6 L496.0,408.5 L501.3,410.4\n",
       "\t\tL506.6,412.3 L511.8,414.2 L517.1,416.0 L522.4,417.9 L527.6,419.8 L532.9,421.6 L538.2,423.5 L543.4,425.3\n",
       "\t\tL548.7,427.1 L553.9,428.9 L559.2,430.7 L564.5,432.5 L569.7,434.3 L575.0,436.0  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_3\" ><title>x*x</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,75.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>x*x</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb( 86, 180, 233)'  d='M516.2,70.7 L558.4,70.7 M53.9,396.5 L59.2,396.5 L64.4,396.4 L69.7,396.2 L75.0,395.9 L80.2,395.6\n",
       "\t\tL85.5,395.1 L90.7,394.6 L96.0,394.0 L101.3,393.4 L106.5,392.6 L111.8,391.8 L117.1,390.9 L122.3,390.0\n",
       "\t\tL127.6,388.9 L132.9,387.8 L138.1,386.6 L143.4,385.3 L148.6,384.0 L153.9,382.5 L159.2,381.0 L164.4,379.4\n",
       "\t\tL169.7,377.8 L175.0,376.0 L180.2,374.2 L185.5,372.3 L190.8,370.3 L196.0,368.3 L201.3,366.1 L206.5,363.9\n",
       "\t\tL211.8,361.6 L217.1,359.3 L222.3,356.8 L227.6,354.3 L232.9,351.7 L238.1,349.0 L243.4,346.3 L248.7,343.5\n",
       "\t\tL253.9,340.6 L259.2,337.6 L264.4,334.5 L269.7,331.4 L275.0,328.2 L280.2,324.9 L285.5,321.5 L290.8,318.0\n",
       "\t\tL296.0,314.5 L301.3,310.9 L306.6,307.2 L311.8,303.5 L317.1,299.6 L322.3,295.7 L327.6,291.7 L332.9,287.7\n",
       "\t\tL338.1,283.5 L343.4,279.3 L348.7,275.0 L353.9,270.6 L359.2,266.2 L364.5,261.6 L369.7,257.0 L375.0,252.3\n",
       "\t\tL380.2,247.6 L385.5,242.7 L390.8,237.8 L396.0,232.8 L401.3,227.7 L406.6,222.6 L411.8,217.3 L417.1,212.0\n",
       "\t\tL422.4,206.6 L427.6,201.2 L432.9,195.6 L438.1,190.0 L443.4,184.3 L448.7,178.5 L453.9,172.7 L459.2,166.8\n",
       "\t\tL464.5,160.7 L469.7,154.7 L475.0,148.5 L480.3,142.3 L485.5,135.9 L490.8,129.5 L496.0,123.1 L501.3,116.5\n",
       "\t\tL506.6,109.9 L511.8,103.2 L517.1,96.4 L522.4,89.6 L527.6,82.6 L532.9,75.6 L538.2,68.5 L543.4,61.3\n",
       "\t\tL548.7,54.1 L553.9,46.8 L559.2,39.4 L564.5,31.9 L569.7,24.3 L575.0,16.7  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb( 86, 180, 233)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L53.9,444.0 L575.0,444.0 L575.0,16.7 L53.9,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000002cc32b8 @options=Hamster::Hash[:xrange => 0..2], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000002cc3128 @type=:math_function, @data=\"sin(x)\", @options=Hamster::Hash[:title => \"1-st dataset\"]>, #<GnuplotRB::Dataset:0x00000002cc2e08 @type=:math_function, @data=\"cos(x)\", @options=Hamster::Hash[]>, #<GnuplotRB::Dataset:0x00000002d3c168 @type=:math_function, @data=\"x*x\", @options=Hamster::Hash[]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot.update_dataset!(0, title: '1-st dataset')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\"  standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg \n",
       " width=\"600\" height=\"480\"\n",
       " viewBox=\"0 0 600 480\"\n",
       " xmlns=\"http://www.w3.org/2000/svg\"\n",
       " xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
       ">\n",
       "\n",
       "<title>Gnuplot</title>\n",
       "<desc>Produced by GNUPLOT 5.0 patchlevel rc2 </desc>\n",
       "\n",
       "<g id=\"gnuplot_canvas\">\n",
       "\n",
       "<rect x=\"0\" y=\"0\" width=\"600\" height=\"480\" fill=\"none\"/>\n",
       "<defs>\n",
       "\n",
       "\t<circle id='gpDot' r='0.5' stroke-width='0.5'/>\n",
       "\t<path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>\n",
       "\t<path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>\n",
       "\t<path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>\n",
       "\t<rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>\n",
       "\t<circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>\n",
       "\t<use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>\n",
       "\t<use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>\n",
       "\t<use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>\n",
       "\t<use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>\n",
       "\t<path id='gpPt13' stroke-width='0.222' stroke='currentColor' d='M0,1.330 L1.265,0.411 L0.782,-1.067 L-0.782,-1.076 L-1.265,0.411 z'/>\n",
       "\t<use xlink:href='#gpPt13' id='gpPt14' fill='currentColor' stroke='none'/>\n",
       "\t<filter id='textbox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='white' flood-opacity='1' result='bgnd'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='bgnd' operator='atop'/>\n",
       "\t</filter>\n",
       "\t<filter id='greybox' filterUnits='objectBoundingBox' x='0' y='0' height='1' width='1'>\n",
       "\t  <feFlood flood-color='lightgrey' flood-opacity='1' result='grey'/>\n",
       "\t  <feComposite in='SourceGraphic' in2='grey' operator='atop'/>\n",
       "\t</filter>\n",
       "</defs>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L62.9,444.0 M575.0,444.0 L566.0,444.0  '/>\t<g transform=\"translate(45.6,448.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,390.6 L62.9,390.6 M575.0,390.6 L566.0,390.6  '/>\t<g transform=\"translate(45.6,395.1)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,337.2 L62.9,337.2 M575.0,337.2 L566.0,337.2  '/>\t<g transform=\"translate(45.6,341.7)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >-0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,283.8 L62.9,283.8 M575.0,283.8 L566.0,283.8  '/>\t<g transform=\"translate(45.6,288.3)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,230.3 L62.9,230.3 M575.0,230.3 L566.0,230.3  '/>\t<g transform=\"translate(45.6,234.8)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,176.9 L62.9,176.9 M575.0,176.9 L566.0,176.9  '/>\t<g transform=\"translate(45.6,181.4)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.4</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,123.5 L62.9,123.5 M575.0,123.5 L566.0,123.5  '/>\t<g transform=\"translate(45.6,128.0)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.6</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,70.1 L62.9,70.1 M575.0,70.1 L566.0,70.1  '/>\t<g transform=\"translate(45.6,74.6)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.8</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L62.9,16.7 M575.0,16.7 L566.0,16.7  '/>\t<g transform=\"translate(45.6,21.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,444.0 L53.9,435.0 M53.9,16.7 L53.9,25.7  '/>\t<g transform=\"translate(53.9,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M184.2,444.0 L184.2,435.0 M184.2,16.7 L184.2,25.7  '/>\t<g transform=\"translate(184.2,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 0.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M314.5,444.0 L314.5,435.0 M314.5,16.7 L314.5,25.7  '/>\t<g transform=\"translate(314.5,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M444.7,444.0 L444.7,435.0 M444.7,16.7 L444.7,25.7  '/>\t<g transform=\"translate(444.7,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 1.5</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M575.0,444.0 L575.0,435.0 M575.0,16.7 L575.0,25.7  '/>\t<g transform=\"translate(575.0,466.5)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"middle\">\n",
       "\t\t<text><tspan font-family=\"Arial\" > 2</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L53.9,444.0 L575.0,444.0 L575.0,16.7 L53.9,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "\t<g id=\"gnuplot_plot_1\" ><title>1-st dataset</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,39.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text><tspan font-family=\"Arial\" >1-st dataset</tspan></text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(148,   0, 211)'  d='M516.2,34.7 L558.4,34.7 M53.9,283.8 L59.2,278.4 L64.4,273.0 L69.7,267.6 L75.0,262.2 L80.2,256.8\n",
       "\t\tL85.5,251.5 L90.7,246.1 L96.0,240.8 L101.3,235.5 L106.5,230.2 L111.8,224.9 L117.1,219.7 L122.3,214.4\n",
       "\t\tL127.6,209.2 L132.9,204.1 L138.1,198.9 L143.4,193.8 L148.6,188.8 L153.9,183.8 L159.2,178.8 L164.4,173.8\n",
       "\t\tL169.7,168.9 L175.0,164.1 L180.2,159.3 L185.5,154.5 L190.8,149.8 L196.0,145.2 L201.3,140.6 L206.5,136.1\n",
       "\t\tL211.8,131.6 L217.1,127.2 L222.3,122.9 L227.6,118.6 L232.9,114.4 L238.1,110.3 L243.4,106.2 L248.7,102.2\n",
       "\t\tL253.9,98.3 L259.2,94.5 L264.4,90.7 L269.7,87.0 L275.0,83.4 L280.2,79.9 L285.5,76.4 L290.8,73.1\n",
       "\t\tL296.0,69.8 L301.3,66.6 L306.6,63.5 L311.8,60.5 L317.1,57.6 L322.3,54.8 L327.6,52.0 L332.9,49.4\n",
       "\t\tL338.1,46.9 L343.4,44.4 L348.7,42.1 L353.9,39.8 L359.2,37.7 L364.5,35.6 L369.7,33.7 L375.0,31.9\n",
       "\t\tL380.2,30.1 L385.5,28.5 L390.8,26.9 L396.0,25.5 L401.3,24.2 L406.6,23.0 L411.8,21.9 L417.1,20.9\n",
       "\t\tL422.4,20.0 L427.6,19.2 L432.9,18.5 L438.1,17.9 L443.4,17.5 L448.7,17.1 L453.9,16.9 L459.2,16.7\n",
       "\t\tL464.5,16.7 L469.7,16.8 L475.0,17.0 L480.3,17.3 L485.5,17.7 L490.8,18.2 L496.0,18.8 L501.3,19.6\n",
       "\t\tL506.6,20.4 L511.8,21.3 L517.1,22.4 L522.4,23.6 L527.6,24.8 L532.9,26.2 L538.2,27.7 L543.4,29.3\n",
       "\t\tL548.7,31.0 L553.9,32.7 L559.2,34.6 L564.5,36.6 L569.7,38.7 L575.0,40.9  '/></g>\n",
       "\t</g>\n",
       "\t<g id=\"gnuplot_plot_2\" ><title>cos(x)</title>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<g transform=\"translate(507.9,57.2)\" stroke=\"none\" fill=\"black\" font-family=\"Arial\" font-size=\"12.00\"  text-anchor=\"end\">\n",
       "\t\t<text>cos(x)</text>\n",
       "\t</g>\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='rgb(  0, 158, 115)'  d='M516.2,52.7 L558.4,52.7 M53.9,16.7 L59.2,16.8 L64.4,16.9 L69.7,17.2 L75.0,17.6 L80.2,18.1\n",
       "\t\tL85.5,18.7 L90.7,19.4 L96.0,20.2 L101.3,21.1 L106.5,22.1 L111.8,23.3 L117.1,24.5 L122.3,25.9\n",
       "\t\tL127.6,27.3 L132.9,28.9 L138.1,30.5 L143.4,32.3 L148.6,34.2 L153.9,36.1 L159.2,38.2 L164.4,40.4\n",
       "\t\tL169.7,42.6 L175.0,45.0 L180.2,47.5 L185.5,50.0 L190.8,52.7 L196.0,55.5 L201.3,58.3 L206.5,61.2\n",
       "\t\tL211.8,64.3 L217.1,67.4 L222.3,70.6 L227.6,73.9 L232.9,77.3 L238.1,80.7 L243.4,84.3 L248.7,87.9\n",
       "\t\tL253.9,91.6 L259.2,95.4 L264.4,99.3 L269.7,103.2 L275.0,107.2 L280.2,111.3 L285.5,115.4 L290.8,119.7\n",
       "\t\tL296.0,124.0 L301.3,128.3 L306.6,132.7 L311.8,137.2 L317.1,141.7 L322.3,146.3 L327.6,151.0 L332.9,155.7\n",
       "\t\tL338.1,160.5 L343.4,165.3 L348.7,170.1 L353.9,175.0 L359.2,180.0 L364.5,185.0 L369.7,190.0 L375.0,195.1\n",
       "\t\tL380.2,200.2 L385.5,205.3 L390.8,210.5 L396.0,215.7 L401.3,220.9 L406.6,226.2 L411.8,231.5 L417.1,236.8\n",
       "\t\tL422.4,242.1 L427.6,247.4 L432.9,252.8 L438.1,258.2 L443.4,263.5 L448.7,268.9 L453.9,274.3 L459.2,279.7\n",
       "\t\tL464.5,285.1 L469.7,290.5 L475.0,295.9 L480.3,301.3 L485.5,306.6 L490.8,312.0 L496.0,317.4 L501.3,322.7\n",
       "\t\tL506.6,328.0 L511.8,333.4 L517.1,338.6 L522.4,343.9 L527.6,349.2 L532.9,354.4 L538.2,359.6 L543.4,364.7\n",
       "\t\tL548.7,369.8 L553.9,374.9 L559.2,380.0 L564.5,385.0 L569.7,390.0 L575.0,394.9  '/></g>\n",
       "\t</g>\n",
       "<g fill=\"none\" color=\"white\" stroke=\"rgb(  0, 158, 115)\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"2.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"black\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "\t<path stroke='black'  d='M53.9,16.7 L53.9,444.0 L575.0,444.0 L575.0,16.7 L53.9,16.7 Z  '/></g>\n",
       "<g fill=\"none\" color=\"black\" stroke=\"currentColor\" stroke-width=\"1.00\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\">\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n",
       "\n"
      ],
      "text/plain": [
       "#<GnuplotRB::Plot:0x00000002cc32b8 @options=Hamster::Hash[:xrange => 0..2], @datasets=Hamster::Vector[#<GnuplotRB::Dataset:0x00000002cc3128 @type=:math_function, @data=\"sin(x)\", @options=Hamster::Hash[:title => \"1-st dataset\"]>, #<GnuplotRB::Dataset:0x00000002cc2e08 @type=:math_function, @data=\"cos(x)\", @options=Hamster::Hash[]>], @cmd=\"plot \">"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot.remove_dataset!(2)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Ruby 2.1.2",
   "language": "ruby",
   "name": "ruby"
  },
  "language_info": {
   "file_extension": "rb",
   "mimetype": "application/x-ruby",
   "name": "ruby",
   "version": "2.1.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}