<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.96.4909.6802"?>
<regions>
  <settings>
    <identity>
      <id>48dc90f3-7e0c-4930-9a69-facac3aae299</id>
      <revision>5</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependences>
      <assembly name="SMath Studio Desktop" version="0.96.4909.6802" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Text Region" version="1.9.4909.6785" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="MaximaPlugin" version="1.0.5115.5713" guid="44011c1e-5d0d-4533-8e68-e32b5badce41" />
      <assembly name="Math Region" version="0.96.4909.6802" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Mathcad File Access Functions" version="1.0.5036.4937" guid="02a1c2c5-590e-46bb-bcf6-c87856a8b14b" />
      <assembly name="Image Region" version="1.0.5033.40342" guid="63ddaef8-9a56-4ff6-938e-d590b638bf99" />
      <assembly name="Special Functions" version="1.10.4909.6779" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
    </dependences>
  </settings>
  <region id="0" left="18" top="18" width="571" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p bold="true">Examples for the barsplot function from Maxima package "descriptive"</p>
    </text>
  </region>
  <region id="1" left="450" top="54" width="61" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Plugin Maxima.sm">Maxima</p>
    </text>
  </region>
  <region id="2" left="450" top="72" width="176" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Section Graphics Maxima.sm">Diagramme mit Maxima</p>
    </text>
    <text lang="eng">
      <p href="Section Graphics Maxima.sm">Plotting with Maxima</p>
    </text>
  </region>
  <region id="3" left="450" top="90" width="275" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Example Maxima descriptive.sm">Statistik mit dem Paket "descriptive"</p>
    </text>
    <text lang="eng">
      <p href="Example Maxima descriptive.sm">Statistics package "descriptive"</p>
    </text>
  </region>
  <region id="4" left="18" top="108" width="371" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">restart</e>
        <e type="function" preserve="true" args="1">MaximaControl</e>
      </input>
      <result action="symbolic">
        <e type="operand" style="string">Restart complete.</e>
      </result>
    </math>
  </region>
  <region id="5" left="18" top="126" width="249" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">msg</e>
        <e type="operand">descriptive</e>
        <e type="function" args="1">load</e>
        <e type="function" preserve="true" args="1">Maxima</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="18" top="144" width="364" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">dir</e>
        <e type="operand" style="string" />
        <e type="function" preserve="true" args="1">DocumentDirectory</e>
        <e type="function" preserve="true" args="1">CurrentDirectory</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="7" left="18" top="180" width="616" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">pa</e>
        <e type="operand">user_preamble</e>
        <e type="operand" style="string">set term svg size 400,300 noenhanced dynamic fsize 8</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="8" left="18" top="198" width="155" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">tm</e>
        <e type="operand">terminal</e>
        <e type="operand">svg</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="9" left="18" top="216" width="270" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">bg</e>
        <e type="operand">background_color</e>
        <e type="operand" style="string">#fefefe</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="10" left="18" top="270" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fn</e>
        <e type="operand">file_name</e>
        <e type="operand" style="string">barsplot1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="11" left="18" top="306" width="348" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">m</e>
        <e type="operand" style="string">biomed.data</e>
        <e type="function" args="1">file_search</e>
        <e type="function" args="1">read_matrix</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="12" left="18" top="342" width="154" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">ti</e>
        <e type="operand">title</e>
        <e type="operand" style="string">Ages</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="13" left="18" top="360" width="171" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">xl</e>
        <e type="operand">xlabel</e>
        <e type="operand" style="string">years</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="14" left="18" top="387" width="150" height="43" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">bw</e>
        <e type="operand">box_width</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="15" left="18" top="423" width="196" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fd</e>
        <e type="operand">fill_density</e>
        <e type="operand">0.75</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="16" left="18" top="450" width="524" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">plot</e>
        <e type="operand">m</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="2">col</e>
        <e type="operand">ti</e>
        <e type="operand">xl</e>
        <e type="operand">bw</e>
        <e type="operand">fd</e>
        <e type="operand">pa</e>
        <e type="operand">tm</e>
        <e type="operand">bg</e>
        <e type="operand">fn</e>
        <e type="function" args="9">barsplot</e>
        <e type="function" preserve="true" args="1">Maxima</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="17" left="18" top="504" width="416" height="319" color="#000000" bgColor="#ffffff" fontSize="10">
    <image width="406" height="311">
      <input>
        <e type="operand" style="string">barsplot1.svg</e>
      </input>
    </image>
  </region>
  <region id="18" left="9" top="900" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fn</e>
        <e type="operand">file_name</e>
        <e type="operand" style="string">barsplot2</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="19" left="18" top="945" width="279" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">l.1</e>
        <e type="operand">10</e>
        <e type="function" preserve="true" args="1">random</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">50</e>
        <e type="function" args="4">makelist</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="20" left="324" top="945" width="405" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p>These expressions are just stored and then 
executed in Maxima (as part of the plot command)</p>
    </text>
  </region>
  <region id="21" left="18" top="972" width="279" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">l.2</e>
        <e type="operand">10</e>
        <e type="function" preserve="true" args="1">random</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">50</e>
        <e type="function" args="4">makelist</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="22" left="18" top="1017" width="146" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">bw</e>
        <e type="operand">box_width</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="23" left="18" top="1035" width="171" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fd</e>
        <e type="operand">fill_density</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="24" left="18" top="1053" width="205" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">bc</e>
        <e type="operand">bars_colors</e>
        <e type="operand">black</e>
        <e type="operand">grey</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="25" left="18" top="1098" width="204" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fr</e>
        <e type="operand">frequency</e>
        <e type="operand">relative</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="26" left="18" top="1125" width="189" height="46" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">sk</e>
        <e type="operand">sample_keys</e>
        <e type="operand" style="string">A</e>
        <e type="operand" style="string">B</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="27" left="18" top="1179" width="537" height="36" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">plot</e>
        <e type="operand">l.1</e>
        <e type="operand">l.2</e>
        <e type="operand">bw</e>
        <e type="operand">fd</e>
        <e type="operand">bc</e>
        <e type="operand">fr</e>
        <e type="operand">sk</e>
        <e type="operand">pa</e>
        <e type="operand">tm</e>
        <e type="operand">bg</e>
        <e type="operand">fn</e>
        <e type="function" args="11">barsplot</e>
        <e type="function" preserve="true" args="1">Maxima</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="28" left="18" top="1215" width="416" height="319" color="#000000" bgColor="#ffffff" fontSize="10">
    <image width="406" height="311">
      <input>
        <e type="operand" style="string">barsplot2.svg</e>
      </input>
    </image>
  </region>
  <region id="29" left="18" top="1602" width="241" height="104" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">50</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">M</e>
        <e type="operand">j</e>
        <e type="operand">k</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="operand">Yes</e>
        <e type="operand">No</e>
        <e type="operand">Maybe</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">sys</e>
        <e type="operand">3</e>
        <e type="function" preserve="true" args="1">random</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="function" preserve="true" args="3">for</e>
      </input>
    </math>
  </region>
  <region id="30" left="18" top="1710" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fn</e>
        <e type="operand">file_name</e>
        <e type="operand" style="string">barsplot3</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="31" left="18" top="1746" width="418" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">ti</e>
        <e type="operand">title</e>
        <e type="operand" style="string">Asking for something to four groups </e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="32" left="18" top="1764" width="261" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">yl</e>
        <e type="operand">ylabel</e>
        <e type="operand" style="string"># of individuals</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="33" left="18" top="1782" width="154" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">gg</e>
        <e type="operand">groups_gap</e>
        <e type="operand">3</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="34" left="18" top="1800" width="188" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fd</e>
        <e type="operand">fill_density</e>
        <e type="operand">0.5</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="35" left="18" top="1818" width="221" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">od</e>
        <e type="operand">ordering</e>
        <e type="operand">ordergreatp</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="36" left="18" top="1854" width="495" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">plot</e>
        <e type="operand">M</e>
        <e type="operand">ti</e>
        <e type="operand">yl</e>
        <e type="operand">fd</e>
        <e type="operand">gg</e>
        <e type="operand">od</e>
        <e type="operand">pa</e>
        <e type="operand">tm</e>
        <e type="operand">bg</e>
        <e type="operand">fn</e>
        <e type="function" args="10">barsplot</e>
        <e type="function" preserve="true" args="1">Maxima</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="37" left="18" top="1890" width="416" height="319" color="#000000" bgColor="#ffffff" fontSize="10">
    <image width="406" height="311">
      <input>
        <e type="operand" style="string">barsplot3.svg</e>
      </input>
    </image>
  </region>
  <region id="38" left="18" top="2250" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fn</e>
        <e type="operand">file_name</e>
        <e type="operand" style="string">barsplot4</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="39" left="18" top="2286" width="648" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">plot</e>
        <e type="operand">M</e>
        <e type="operand">ti</e>
        <e type="operand">yl</e>
        <e type="operand">fd</e>
        <e type="operand">gg</e>
        <e type="operand">od</e>
        <e type="operand">pa</e>
        <e type="operand">tm</e>
        <e type="operand">bg</e>
        <e type="operand">fn</e>
        <e type="operand">grouping</e>
        <e type="operand">stacked</e>
        <e type="operator" args="2">≡</e>
        <e type="function" args="11">barsplot</e>
        <e type="function" preserve="true" args="1">Maxima</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="40" left="18" top="2322" width="416" height="319" color="#000000" bgColor="#ffffff" fontSize="10">
    <image width="406" height="311">
      <input>
        <e type="operand" style="string">barsplot4.svg</e>
      </input>
    </image>
  </region>
  <region id="41" left="18" top="2691" width="300" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p underline="true">The following example does not work</p>
    </text>
  </region>
  <region id="42" left="18" top="2718" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fn</e>
        <e type="operand">file_name</e>
        <e type="operand" style="string">barsplot5</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="43" left="18" top="2736" width="146" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">bw</e>
        <e type="operand">box_width</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="44" left="18" top="2754" width="171" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fd</e>
        <e type="operand">fill_density</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="45" left="18" top="2772" width="204" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">fr</e>
        <e type="operand">frequency</e>
        <e type="operand">relative</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="46" left="18" top="2817" width="495" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">bp.1</e>
        <e type="operand">M</e>
        <e type="operand">bw</e>
        <e type="operand">fd</e>
        <e type="operand">fr</e>
        <e type="operand">bars_colors</e>
        <e type="operand">blue</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">sys</e>
        <e type="operator" args="2">≡</e>
        <e type="function" args="5">barsplot_description</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="47" left="18" top="2853" width="487" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">bp.2</e>
        <e type="operand">M</e>
        <e type="operand">bw</e>
        <e type="operand">fd</e>
        <e type="operand">fr</e>
        <e type="operand">bars_colors</e>
        <e type="operand">red</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">sys</e>
        <e type="operator" args="2">≡</e>
        <e type="function" args="5">barsplot_description</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="48" left="18" top="2889" width="450" height="38" color="#000000" bgColor="#ffffff" fontSize="10">
    <math error="9">
      <input>
        <e type="operand">plot</e>
        <e type="operand">bp.1</e>
        <e type="function" args="1">gr2d</e>
        <e type="operand">bp.2</e>
        <e type="function" args="1">gr2d</e>
        <e type="operand">pa</e>
        <e type="operand">tm</e>
        <e type="operand">bg</e>
        <e type="operand">fn</e>
        <e type="function" args="6">draw</e>
        <e type="function" preserve="true" args="1">Maxima</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
</regions>