This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings.maxtile = (0,0); | |
if(settings.render < 0) settings.render = 10; | |
settings.antialias=1; | |
import three; | |
size(250,0); | |
currentprojection=perspective(250,-1000,250,center=true); | |
//L21 lattice. | |
//define two types of ions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{tikzpicture} | |
\begin{groupplot}[group style={columns=2,rows=2},] | |
\nextgroupplot[axis y line*=left,axis x line*=bottom,] % 1 | |
\addplot[blue] coordinates {(0,2) (2,0)}; | |
\nextgroupplot[axis y line*=left,axis x line*=bottom,] % 2 | |
\addplot[blue] coordinates {(0,0) (3,3)}; | |
\nextgroupplot[at=(group c1r1.north),axis y line*=right,axis x line*=top,] % 1, 2nd axis | |
\addplot[red] coordinates {(0,0) (2,3)}; | |
\nextgroupplot[at=(group c2r1.north),axis y line*=right,axis x line*=top] % 2, 2nd axis | |
\addplot[red] coordinates {(0,3) (4,0)}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#remove fullprof output files | |
rm -v *pcr *hkl *out *sum | |
#looping around orthorhombic crystal system with mmm point group | |
for i in 'Pmmm' 'Pnnn' 'Pccm' 'Pban' 'Pmma' 'Pnna' 'Pmna' 'Pcca' 'Pbam' 'Pccn' 'Pbcm' 'Pnnm' 'Pmmn' 'Pbcn' 'Pbca' 'Pnma' 'Cmcm' 'Cmce' 'Cmmm' 'Cccm' 'Cmme' 'Ccce' 'Fmmm' 'Fddd' 'Immm' 'Ibam' 'Ibca' 'Imma' | |
do | |
#remove output in the loop | |
rm -v *out *sum | |
#put spaces between the characters | |
j=$(echo $i | sed 's/./& /g') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[tikz]{standalone} | |
\begin{document} | |
\begin{tikzpicture} | |
\draw (0,0) circle (0.4cm); | |
\end{tikzpicture} | |
\end{document} |