﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.0.8348.30405"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>d81f1c08-d8f8-4c3e-bbec-06d847ab75bf</id>
      <revision>2</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="1.0.8348.30405" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8348.30405" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.8348.30405" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Maple Tools" version="1.1.8517.16356" guid="32dfd679-8cfd-483a-b79a-19d5ea838750" />
      <assembly name="TextRegion" version="1.11.8348.30405" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="AreaRegion" version="1.11.8348.30405" guid="4974b228-4974-44cf-8274-bf2936b4a766" />
      <assembly name="Mathcad Toolbox" version="0.4.8519.34061" guid="ddc09821-49f1-4c21-a829-6499de0a8f06" />
    </dependencies>
  </settings>
  <regions type="content">
    <region top="54" color="#000000">
      <area collapsed="false">
        <title lang="rus">
          <content>
            <p>python</p>
          </content>
        </title>
      </area>
      <region left="36" top="72" width="571" height="78" color="#000000" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">script</e>
            <e type="function" args="1">python</e>
            <e type="operand">pyfile</e>
            <e type="operand" style="string">./tmp/test.py</e>
            <e type="operator" args="2">:</e>
            <e type="operand">cmd</e>
            <e type="operand" style="string">\"python {pyfile}\"</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">pyfile</e>
            <e type="operand">script</e>
            <e type="function" args="2">writeline</e>
            <e type="function" args="1">maple</e>
            <e type="operand">2</e>
            <e type="operand">cmd</e>
            <e type="function" args="1">ssystem</e>
            <e type="function" args="2">op</e>
            <e type="operand">symbol</e>
            <e type="function" args="2">convert</e>
            <e type="function" args="1">maple</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="144" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="36" top="162" width="448" height="188" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="false">
      <mathcadblock width="438" height="180" seqop="mat">
        <input>
          <e type="operand">script</e>
        </input>
      </mathcadblock>
    </region>
    <region left="45" top="171" width="406" height="152" color="#000000" bgColor="#80ff80" fontSize="10" isBreakable="false">
      <text lang="rus" width="406" fontFamily="Arial" fontSize="10">
        <content>
          <p style="background-color: #80ff80; font-family: Consolas;">from mpl_toolkits.mplot3d import axes3d<br />import matplotlib.pyplot as plt<br />fig = plt.figure()<br />ax = fig.add_subplot(projection='3d')<br />X, Y, Z = axes3d.get_test_data(0.05)<br />ax.plot_wireframe(X, Y, Z, rstride=10, cstride=10)<br />plt.show()<br />fig.savefig('plot.png')<br />print(1)</p>
        </content>
      </text>
    </region>
    <region left="54" top="360" width="149" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">script</e>
          <e type="function" args="1">python</e>
        </input>
        <result action="symbolic">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region left="54" top="387" width="399" height="23" color="#000000" fontSize="10">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>plot.png under \AppData\Roaming\SMat ... maple plugin directory</p>
        </content>
      </text>
    </region>
  </regions>
</worksheet>