Skip to content
Snippets Groups Projects
Commit 14e32ba1 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

another plot bites the dust

parent fc0d84d8
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -50,6 +50,25 @@ def plot_einstein():
draw_classic_axes(ax)
pyplot.savefig('zeropoint.svg')
def plot_debye():
T = np.linspace(0.01, 1.5, 500)
fig, ax = pyplot.subplots()
ax.plot(T, c_debye(T))
ax.set_ylim(bottom=0, top=3.4)
ax.set_xlabel('$T$')
ax.set_ylabel(r'$\omega$')
ax.set_xticks([1])
ax.set_xticklabels([r'$\Theta_D$'])
ax.set_yticks([3])
ax.set_yticklabels(['$3Nk_B$'])
pyplot.hlines([3], 0, 1.5, linestyles='dashed')
draw_classic_axes(ax, xlabeloffset=0.3)
pyplot.savefig('debye.svg')
def main():
os.chdir('docs/figures')
plot_einstein()
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 425.2 95.2" style="enable-background:new 0 0 425.2 95.2;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-width:0.5;stroke-miterlimit:10;}
.st1{fill:#FFFFFF;}
.st2{fill:none;stroke:#000000;stroke-width:0.5;stroke-miterlimit:10;stroke-dasharray:2;}
.st3{clip-path:url(#SVGID_2_);}
.st4{clip-path:url(#SVGID_4_);}
.st5{clip-path:url(#SVGID_6_);}
.st6{clip-path:url(#SVGID_8_);}
</style>
<path class="st0" d="M277.9,7.7H150.1c0,0-17.6,72.2,0,72.2c27.8,0,9.6-57.6,127.8-57.6C281.5,22.2,277.9,7.7,277.9,7.7z"/>
<rect x="127" y="5.2" class="st1" width="22.8" height="77.8"/>
<rect x="208.4" y="-53.1" transform="matrix(6.123234e-17 -1 1 6.123234e-17 203.1854 229.4335)" class="st1" width="15.9" height="132.4"/>
<rect x="275.3" y="7.6" class="st1" width="22.8" height="77.8"/>
<line class="st2" x1="150.1" y1="21.2" x2="275.3" y2="21.2"/>
<g>
<g>
<line class="st0" x1="150.1" y1="80" x2="150.1" y2="5.7"/>
<g>
<polygon points="151.3,6.5 150.1,2.2 148.9,6.5 "/>
</g>
</g>
</g>
<g>
<g>
<line class="st0" x1="149.9" y1="80" x2="271.8" y2="80"/>
<g>
<polygon points="271,81.2 275.3,80 271,78.8 "/>
</g>
</g>
</g>
<g>
<defs>
<rect id="SVGID_1_" x="137.8" y="2.6" width="7.5" height="7.5"/>
</defs>
<clipPath id="SVGID_2_">
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
</clipPath>
<path class="st3" d="M144.6,3.3c0,0,0-0.1-0.1-0.1c0,0,0,0-0.1,0.1L143.7,4c-0.1-0.1-0.5-0.8-1.5-0.8c-2.1,0-4.2,2.1-4.2,4.2
c0,1.6,1.1,2.6,2.5,2.6c0.8,0,1.5-0.4,2-0.8c0.9-0.8,1-1.6,1-1.7c0-0.1-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c-0.1,0.3-0.3,1-1,1.5
c-0.7,0.5-1.2,0.7-1.7,0.7c-0.8,0-1.8-0.5-1.8-2c0-0.5,0.2-2.1,1.1-3.1c0.6-0.7,1.5-1.1,2.3-1.1c1,0,1.5,0.7,1.5,1.8
c0,0.4-0.1,0.4-0.1,0.5c0,0.1,0.1,0.1,0.2,0.1c0.1,0,0.1,0,0.2-0.2L144.6,3.3"/>
</g>
<g>
<defs>
<rect id="SVGID_3_" x="268.8" y="82.9" width="7.5" height="7.5"/>
</defs>
<clipPath id="SVGID_4_">
<use xlink:href="#SVGID_3_" style="overflow:visible;"/>
</clipPath>
<path class="st4" d="M272.8,84.4c0.1-0.3,0.1-0.3,0.2-0.4c0.1,0,0.4,0,0.6,0c1,0,1.4,0,1.4,0.8c0,0.1-0.1,0.5-0.1,0.7
c0,0.1,0,0.2,0,0.2c0,0.1,0,0.1,0.1,0.1c0.1,0,0.1-0.1,0.2-0.2l0.3-1.6c0-0.1,0-0.1,0-0.2c0-0.1-0.1-0.1-0.3-0.1H270
c-0.2,0-0.3,0-0.3,0.2l-0.6,1.7l0,0.2c0,0.1,0,0.1,0.1,0.1c0.1,0,0.1,0,0.2-0.2c0.5-1.5,0.8-1.6,2.1-1.6h0.4c0.3,0,0.3,0,0.3,0.1
c0,0.1,0,0.2-0.1,0.2l-1.3,5c-0.1,0.3-0.1,0.4-1.1,0.4c-0.3,0-0.4,0-0.4,0.2c0,0.1,0.1,0.1,0.2,0.1c0.3,0,0.5,0,0.8,0
c0.3,0,0.5,0,0.8,0c0.3,0,0.5,0,0.8,0c0.3,0,0.6,0,0.8,0c0.1,0,0.2,0,0.2-0.2c0-0.1-0.1-0.1-0.3-0.1c-0.2,0-0.4,0-0.6,0
c-0.3,0-0.4-0.1-0.4-0.2c0,0,0-0.1,0.1-0.2L272.8,84.4"/>
</g>
<line class="st0" x1="200.8" y1="80" x2="200.8" y2="77.2"/>
<g>
<defs>
<rect id="SVGID_5_" x="125.4" y="16.7" width="22" height="9"/>
</defs>
<clipPath id="SVGID_6_">
<use xlink:href="#SVGID_5_" style="overflow:visible;"/>
</clipPath>
<path class="st5" d="M127.9,20.4c0.7-0.2,1.3-0.9,1.3-1.6c0-0.7-0.8-1.2-1.7-1.2c-0.9,0-1.6,0.5-1.6,1.2c0,0.3,0.2,0.5,0.5,0.5
c0.3,0,0.5-0.2,0.5-0.5c0-0.5-0.4-0.5-0.6-0.5c0.3-0.5,0.9-0.6,1.2-0.6c0.4,0,0.9,0.2,0.9,1c0,0.1,0,0.6-0.3,1
c-0.3,0.4-0.6,0.5-0.8,0.5c-0.1,0-0.3,0-0.3,0c-0.1,0-0.1,0-0.1,0.1c0,0.1,0.1,0.1,0.2,0.1h0.4c0.7,0,1.1,0.6,1.1,1.5
c0,1.2-0.6,1.5-1,1.5c-0.4,0-1.1-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0.5,0.4,0.9,0.8,0.9c0.3,0,0.5-0.2,0.7-0.5c0.2-0.4,0.3-0.9,0.3-0.9
c0-0.1-0.1-0.1-0.1-0.1c-0.1,0-0.1,0.1-0.1,0.2c-0.2,0.7-0.4,1.1-0.8,1.1c-0.2,0-0.3-0.1-0.3-0.4c0-0.1,0-0.3,0.1-0.5
c0-0.2,0-0.2,0-0.3c0-0.6-0.6-0.9-1.3-1c0.3-0.2,0.6-0.4,0.8-0.7c0.4-0.5,0.9-0.9,1.3-0.9c0.1,0,0.1,0,0.1,0c0.1,0,0.1,0,0.2,0.1
c0,0,0,0,0,0c-0.4,0-0.5,0.4-0.5,0.5c0,0.1,0.1,0.3,0.3,0.3c0.2,0,0.5-0.2,0.5-0.5c0-0.3-0.2-0.6-0.6-0.6c-0.2,0-0.7,0.1-1.3,0.8
c-0.3,0.3-0.7,0.7-1,0.9L140.5,17.4"/>
<path class="st5" d="M144.4,24.7c-0.3,0-0.3-0.1-0.3-0.3v-1.7h1.3c0.7,0,1,0.5,1,1c0,0.5-0.4,1-1.1,1H144.4 M144.1,22.6v-1.5
c0-0.2,0-0.2,0.3-0.2h0.9c0.6,0,1,0.4,1,0.8c0,0.5-0.4,0.9-1.1,0.9H144.1z M142.9,20.6v0.2h0.2c0.5,0,0.5,0.1,0.5,0.3v3.3
c0,0.2,0,0.3-0.5,0.3h-0.2v0.2h2.7c0.9,0,1.5-0.6,1.5-1.1c0-0.6-0.5-1-1.3-1.1c0.6-0.1,1.1-0.5,1.1-1c0-0.6-0.7-1.1-1.5-1.1H142.9z
"/>
</g>
<g>
<defs>
<rect id="SVGID_7_" x="195.5" y="82.2" width="12.5" height="9"/>
</defs>
<clipPath id="SVGID_8_">
<use xlink:href="#SVGID_7_" style="overflow:visible;"/>
</clipPath>
<path class="st6" d="M201,85.4h-0.2v0.3h-2.8v-0.3h-0.2v1.3h0.2v-0.3h2.8v0.3h0.2V85.4 M199.4,89.1c-0.9,0-2.1-0.8-2.1-3.1
c0-2.3,1.3-3.1,2.1-3.1c0.9,0,2.1,0.8,2.1,3.1C201.6,88.4,200.3,89.1,199.4,89.1z M202.4,86c0-1.8-1.4-3.3-3-3.3
c-1.6,0-3,1.5-3,3.3c0,1.9,1.4,3.3,3,3.3C201.1,89.3,202.4,87.9,202.4,86z"/>
<path class="st6" d="M204.8,90.2c-0.3,0-0.3-0.1-0.3-0.3v-3.3c0-0.2,0-0.2,0.3-0.2h0.8c0.5,0,1,0.2,1.3,0.6
c0.3,0.3,0.3,0.8,0.3,1.4c0,0.7-0.2,1.1-0.4,1.4c-0.3,0.3-0.7,0.5-1.2,0.5H204.8 M203.3,86.1v0.2h0.1c0.5,0,0.5,0.1,0.5,0.3v3.3
c0,0.2,0,0.3-0.5,0.3h-0.1v0.2h2.4c1.2,0,2.1-0.9,2.1-2.1c0-1.2-1-2.2-2.1-2.2H203.3z"/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment