Programy Gnuplot IATeX |ATEX-TikZ Praktikum z vakuové fyziky 1/26 Gnuplot hlavní stránka: www.gnuplot.info dokumentace: www.gnuplot.info/documentation.ht příklady: gnuplot.sourceforge.net/demo_5.2/ matematické funkce experimentální data Příkaz - test Gnu plot (window id : 0) 4 ? wxt terminal test gnuplot version 5.0.3 X <3J .+. OJ U "O OJ O ... 6j. Q' linewidth%> Iw 6 Iw 5 Iw 4 Iw3 Iw 2 Iw 1 show ticscale right justified! test of character width: filled polygons: •left justified centre+d text 1234-56789Q12345-6789TQ- dashtype -------- dt5 -------dt4 ............. dt3 -----dt2 - dt 1 Enhanced text: xJ3+1 Bold Italic 0 pattern fill 12345678 I A _l S,3SS47e+307, 8,3B847e+307 -1 0 1 2 3 4 6 7 8 9 10 ...... 12 14 15 16 17 18 19 20 22 0 pavel@GA-MA790X-... jR Gnjplot (window id:... I I I P Úterýr27.září,10:24 Oj Praktikum z vakuové fyziky 3/26 2 #!/usr/bin/gnuplot -persist set terminal pdfcairo enhanced color solid set terminal pdfcairo font " Helvetika,12" set terminal pdfcairo linewidth 3 set output "test.pdf" plot 2*sin(x) Praktikum z vakuové fyziky 4/26 #!/usr/bin/gnuplot set terminal pdfcairo set terminal pdfcairo set terminal pdfcairo set output "test.pdf" unset key set grid set title "Nadpis" set xlabel "X" set ylabel "Y" plot 2*sin(x) persist enhanced color solid font " Helvetika,12" linewidth 3 #!/usr/bin/gnuplot -persist set terminal pdfcairo enhanced color solid set terminal pdfcairo font " Helvetika,20" set terminal pdfcairo linewidth 3 set output "test.pdf" unset key set grid set title "Čeština, mocnina lCT{-25}" set xlabel "index P_ {tr}" set ylabel "{ /Symbol abl }" plot 2*sin(x) Čeština, mocnina 10" -10 -5 0 5 index Ptr #!/usr/bin/gnuplot -persist set terminal pdfcairo enhanced color solid set terminal pdfcairo font " Helvetika,12" set terminal pdfcairo linewidth 3 set output "test.pdf" unset key set grid set label "NO" at 5,1 font " Helvetika,20" set arrow from 5,0.5 to -5,-1 set title "Čeština, mocnina 10{-25}" set xlabel "index P_ {tr}" set ylabel "{ /Symbol abl }" plot 2*sin(x) Čeština, mocnina 10" #!/usr/bin/gnuplot -persist set terminal pdfcairo enhanced color solid set terminal pdfcairo font " Helvetika,12" set terminal pdfcairo linewidth 3 set output "test.pdf" set grid set xlabel "čas [s]" set ylabel "tlak [Pa]" set key left set xrange [-5:110] set yrange [20:850] plot "VAKP5-01.DAT" using ($1):($2*133.2) title "A"with lines,/ using ($1):($2*133.2) title "B"with lines,/ using ($1):($2*133.2) title "C'with lines,/ using ($1):($2*133.2) title "D"with lines,/ u ($1):($2*133.2) t "E"w I "VAKP5-02.DAT" "VAKP5-03.DAT" "VAKP5-04.DAT" "VAKP5-05.DAT" čas [s] Praktikum z vakuové fyziky 8/26 #!/usr/bin/gnuplot -persist set terminal pdfcairo enhanced color solid set terminal pdfcairo font " Helvetika,20" set terminal pdfcairo linewidth 3 set output "test.pdf" unset key set xlabel "tlak [Pa]" set ylabel "kolektorový proud [nA]" set format x "%.le" le = 0.5e-3 #proud elektronu [A] plot 'ionl.dať using ($l*100):($2*le*1000000000) w Ip pt 5 ps 1.5 It 7 Iw 1.5 < -Q =5 O > O Ol O.Oe+00 2.0e-04 4.0e-04 6.0e-04 8.0e-04 tlak [Pa] l.Oe-03 1.2e-03 Praktikum z vakuové fyziky 9/26 set xlabel "tlak [Pa]" set ylabel "kolektorový proud [nA]" unset key set xrange [0:0.0013] set format x "%.le" le = 0.5e-3 linl(x) = al*x+bl al=l bl=l fit linl(x) 'ionl.dať using ($l*100):($2*le) via al.bl set title sprintf(" Konstanta manometru %.4f [1/Pa] pro proud elektronů %.2f [mA]" ,al*100,le*1000) set label sprintf("%.4e *x + %.4e", K,bl) at 0.0004,30 plot 'ionl.dať using ($l*100):($2*le*1000000000) w p, linl(x)* 1000000000 Konstanta manometru 0.0025 [1/Pa] pro proud elektronů 0.50 [mA] 35 0 I-1-1-1-1-1-1- 0.0e+00 2.0e-04 4.0e-04 6.0e-04 8.0e-04 1.0e-03 1.2e-03 tlak [Pa] hlavní stránka: www.latex-project.org/ dokumentace: www.latex-project.org/help/documentation/ J. Rybička: |ATgX pro začátečníky, Konvoj 1995 příklady: internet, dokumentace, ... článek, kniha, DP, BP, skripta, poster, přednáška, protokoly, integrovaná prostředí - TeXstudio, TeXmaker,... formát obrázků - png, jpg, eps, pdf ľexstudio /hDme/pavel/PavelAryuka/Texc/praktikum-OZa-programy.cex-TeXscudio File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help I« m y q \right) label - tiny í — I Is M : ,". ,". I U praktikum-Q2a-programy.tex E3 |^ \input{hlavička.tex} psn w \begin{document} L*-1 %===================== [U] " \frame{ \nadpis{Programy} ~] Ö (T) of 5 * M " ^ J ss I \begin{itemize} Utem 60UBlfll Utem \LaTeX \item \LaTeX-UJsZ \end{itemize} } %===================== \frame{ \ nadpis {fimiBlaU 7 iff *■ \begin{itemize} \item hlavni stránka: www.gjiufilffit.iolffi Utem dokumentace: www.gjmfiliU^JIÍla/ilaa^ \item příklady: QJiyiOiJjU^mU^tam 5-6/ \end{itemize} } %================================= \Ťrame{ \begin{columns} \begin{column}{G.5\textwidth} test \end{column} \begin{column}{6.5\textwidth} test \end{column} \end{columns} } Programy • Gnuplot . LATeX • rTEX-TikZ Praktikum z vakuové fyziky - \frfl»ů/ Line: 64 Column: 0 Messages Log Preview Search Results Process started: p-dflatex -synttex=l -interattirjn=nonstopmode "praktikum-OZa-programy".tex Process exited norrnally Gnuplot Pages 1 to 3 of 5 1B5% , 1| csCZ,| UTF-B , II Ready II Automatic II H n Fl mc [pavel[5iGA-MA7... i /homeVpaveiyPavel/V... Praktikum z vakuové fyziky 12 / 26 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help i? m y q r j » ► Q ft M i »>«• \nght) /home/pave I/Pa velA/yuka/Praktika/Programy/test.tex -TeXstudio part - label - tiny - g | [| ~ | 1 H j A test.ten i go_.- -Bofi» \documentclass[12pt]{article} \begin{document} Test \end{document} jj f Test Line: 3 Column: 0 j Messages | Log j Preview Search Results j Process started: pdflatex -synctex=l -interaction=nonstoprnode "tesf'.tex Process edited nornially [A[ALL Page 1 of 1 349% . n. ■OK E B ^ Menu Ifl S 0" 0 mc [p^vel@GA-MA7... -,EÍ /home/pavel/Pavel/V... csCZ <■ UTF-8 ^ Ready Automatic H =1 / 40 ^ Pátek,30.iáří,13:41 Q Praktikum z vakuové fyziky 13 / 26 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help ? m U © \left[ Vighü /holTie/pavel/Pavel/Vyukŕi/Praktika/Procirŕimy/test.tex -TeXstudio part - label - tiny ' : Š B E - I I. }| ' ' hJ test.tex □ f 1^ \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \pagestyle{empty} \topmargin -1cm \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} Test češtiny. Test $\lambda$ ; $TAP$; $T {mn}$ \end{document} Line: 19 Column: 0 j Messages |Tog Preview 5earch Results | Process started: pdflatex -synctex=l -interattion=nonstopmode "tesf.tex Process exited normally BE 1 »«>u ň SSI Test češtiny. Test A ; TF; T, 77i n Al AlC Page 1 of 1 349% . k —^l>l k] Q mc [pavel@GA-MA7... ^ /home/pave I/Pave l/V... csCZ <■ UTF-8 ^ Ready Automatic H =1 / 40 ^ Pátek, 30.iáří,13:45 Q Praktikum z vakuové fyziky 14 / 26 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help ? m u © UefW \nght) /honie/pavel/Pavel/Vyuka/Praktika/Procjramy/test.tex -TeXstudio part - label - tiny - g | [| ~ | L SI A A kJ test.tex P (r|ofi ■ X f \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \pagestyle{empty} \topmargin -1cm \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} \begin{center} Test $\lambda$ ; \end{center} $TAP$; $T_{mn}$ $$ v a = \sqrt{\frac{4}{\pi}}v_p = \sqrt{\frac{8kT}{\pi m 0}} $$ \sqrt{\frac{8kT}{\pi m_0}} \end{document} \begin{equation} v_a = \sqrt{\frac{4}{\pi}}v_p \end{equation} Line: 1 Column: 0 j Messages | Log j Preview Search Results j Process started: pdflatex -synctex=l -interattion=nonstopmode "tesf.tex Process exited norrnally Test A ; Tp; Tn Va = (D E B «Menu ň SEI csCZ <■ UTF-8 , Ready Automatic H Q mc [pavelfaGA-MA?... ^ /home/pavel/Pavel/V... ■ / «* $ Pátek, 30.září,13:49 Q Praktikum z vakuové fyziky 15 / 26 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help ? m U © r j fr ► □ °N \left[ Vight) /home/pave I/Pa vel/Vyuka/Praktika/Proyr a my/test.tex -TeXstudio part - label - tiny - g | [| ~ | L SI A A IrJ te&t.tex P f \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \usepackage{graphicx} \pagestyle{empty} \topinargin -lern \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} \includegraphics [wljdjth= 0.8\textwidth] {v-boltz-01.pjdf } \end{document} Line: 37 Column: 0 j Messages || Log | Preview Search Results | Process started: pdflatex -synctex=l -interaction=nonstopmode "tesf.tex Process exited normally Teplota T=300 K, M=28, N2 "T" 0,0e+00 200 400 600 800 1000 1200 1400 v [ms"1] E B «Menu ň SEI csCZ <■ UTF-8 , Ready Automatic H Q mc [pavelfaGA-MA?... ^ /home/pavel/Pavel/V... ■ / «* $ Pátekr30.září,13:52 Q Praktikum z vakuové fyziky 16 / 26 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help ? m u © \left[ Vight) /honie/rjavel/Pavel/Vyuka/Praktika/Procjramy/test.tex -TeXstudio part - label - tiny * ; T* | f ~ | |. }| I ' hJ test.tex □ r* « (T]of i » m I y \usepackage{graphicx} \pagestyle{empty} \topmargin -lem \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} Text Obr.\ref{ml} jjext pokračuje. \begin{figure}[!htb] \begin{center} \includegraphics[width= 0.8\textwidth]{v-boltz-01.pdf} \end{center} \caption{\em MaxweJULojíp_ rozdělení rychlostí pro dusík a teplotu 300 K } \label{ml} \end{figure} I\end{document> Line: 1 Column: 0 INSERT j Messages || Log | Preview Search Results | Process started: pdflatex -synctex=l -interaction=nonstopmode "tesf.tex Process exited normally Text Obr.l text pokračuje 2.0e-03 1.5e-03 ,» 1.0e-03 5.0e-04 0.0e+00 Obrázek 1: Maxwelíovo rozdělení rychlostí pro dusík a teplotu 300 K E B ^ Menu Ifl S 0" 0 mc [pavelfSGA-MAľ... -,EÍ /home/pa ve l/Pavel/V... csCZ <■ UTF-8 , Ready Automatic H ^ Pátek, 30.iáří,13:54 Q Praktikum z vakuové fyziky 17 / 26 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help /home/pavel/PrivelA/yuka/Pralitika/ProyraiTiy/te&t.tex -TeXstudio part - label - tiny ' : Š B E - I I. }| ' ' test.ten a N (T|ofi \begin{document} \begin{table}[!ht] \begin{center} \begin{tabular}{|c|cccc | } \hline Plyn & $He$ & $Ne$ & $Ar$ & $Kr$ \\ \hline $d~[10'v{-10}~m]$ & 2,20 & 2,55 & 3,69 & 4,27 \\ \hline \end{tabular} \end{center} \caption{\em Efektivní průměr některých atomů a molekul} \label{prumer} \end{table} \end{document} Plyn He Ne Ar Kr d [KT10 m 2,20 2,55 3,69 4,27 Tabulka 1: Efektivní průměr některých atomů a molekul Line: 17 Column: 30 j Messages |Tog Preview 5earch Results j Process started: pdflatex -synctex=l -interattion=nonstopmode "tesf.tex Process exited norrnally Page 1 of 1 200%^ BE ^ Menu Ifl S 0" 0 mc [p^vel@GA-MA7... ;ct /home/pave I/Pa vel/V... cs_CZ <■ UTF-8 , Ready Automatic H ^ Pátek, 30.láří. 13:59 Q Praktikum z vakuové fyziky 18 / 26 5oubor Úpravy Idefix Nástroje LaTeX Matematika Průvodci Bibliografie Makra Pohled Volby Nápověda H B B lil O 11 <^ ř» 1 žž li 11 » ►■ftjra } Drobné - \tiny •Hu-» Di a -r m IBIIIH íA \documentclass[12pt]{article} [jj » \begin{documerit} El = \renewcommand{\arraystretch}{1.5} ss X f \begin{tabular}{|c|c|c|c|c|} \hline \bf plyn & He & Ne & Ar & Kr \\ \hline I \boldmath $ d~[10"{-10}~\rm m]$ \hline \end{tabular> \renewcommand{\arraystretch}{l} \end{documerit} 5, 2,20 & 2,55 5, 3,69 & 4,27 \\ plyn He Ne Ar Kr d [ÍCT10 m] 2,20 2,55 3,69 4,27 Řádek: LI Sloupec: D Režim: Vložit | Zprávy | Záznam Náhled Výsledky hledáni | Jroces spuštěn: pdflatex -5ynctej<=l -interattion=non5toprnade "texstudio_PsApíF".tex ?roces ukončen jako obvykle mm m O-Niibidkii □ i m~ Strana 1 z 1 169% , |@] ^^^^J= |(gj| "_CZ . UTF-E _ Připraven Automaticky U ^ U Praktikum z vakuové fyziky 19 / 26 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help ? m U © ľ j * ► Q ft n i »>«• \nght) /hame/pavel/PŕivelA/yuka/Pralítika/ProyraiTiy/te&t.tex -TeXstudio Part • label - tiny ' : Š B E ~ | I. }| I ' hJ test.tex □ r* « (T]of l » m \topmargin -lem \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \usepackage{color} \begin{document} \begin{center} {\tiny Test}\\ {\scriptsize Test}\\ {\footnotesize Test}\\ {\small Jest}\\ {Xnormalsize Test}\\ {\large Test}\\ {\Large Jest}\\ {\huge Jest}\\ {\Huge Jest}\\ {\color{ned} Test} \end{center} \end{document} Test Test Test Test Test Test =!est _?est Test Line: 12 Column: 0 j Messages | Log j Preview Search Results j Process started: pdflatex -synctex=l -interattion=nonstopmode "tesf.tex Process exited norrnally MAH Page 1 of 1 400%-. [ E B «Menu ň SEI csCZ <■ UTF-8 , Ready Automatic H Q mc [pavel@GA-ma7... \& /home/pavel/Pavel/V... _ľ / *t $ Pálek, 30. září, 14:07 Q Praktikum z vakuové fyziky <□► < rj? ► < t < ► -i ^) Os O 20 / 26 File 9 Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help m y © r j » ► n ft ľ"i i »>«• \nght) /home/pave I/Pa velA/yuka/Praktika/Programy/test.tex -TeXstudio part - label - tiny - g | [| ~ | L SI A A test.ten (r|ofi ■ X f \textwidth 16.5cm \usepackage{color} \begin{document} \begin{itemize} \item Test A \item Test B \end{itemize \begin{enumerate \item Test, A \item Test, B \end{enumerate} \end{document} Line: 21 Column: 34 j Messages | Log | Preview Search Results j Process started: pdflatex -synctex=l -interattion=noristopmode "tesf.tex Process exited normally E B ^ Menu Ifl S 0" 0 mc [p^vel@GA-MA7... ;ct /home/pavel/Pavel/V... Test A Test B 1. Test A 2. Test B ,Al (A, Page 1 of 1 400%-. [ cs_CZ <■ UTF-8 , Ready Automatic H =1 / 40 ^ Pátek, 30.iáří, 14:03 Q Praktikum z vakuové fyziky 21 / 26 File 9 Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help m y © r j » ► Q ft ľ"i i »>«• \nght) /home/pa ve l/Pa vel A/yuka/P raktika/Progra m y/test. tex - TeXstudio part - label - tiny T ; ɧ E E — I 1 H | A A test.tex (p í ■í- a k o . |T)ofi - M \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} Text \cite{testl}, text text \cite{test2}. \begin{thebibliography}{99} \bibitem{testl} J. Gxjos^zJsgwsJy^: Technika vysokého vakua, SNTL, Praha 1981 \bibitem{test2} L. Pátý: Fyzika nízkých tlaků, Academia, Praha 1968 \end{thebibliography} \end{document} Line: 13 Column: 0 j Messages | Log j Preview Search Results j Process started: pdflatex -synctex=l -interattion=nonstopmode "tesf.tex Process exited norrnally Text [1], text text [2]. Reference 1] J. Groszkowski: Technika vysokého vakua, SNTL, Praha 1981 2] L. Pátý: Fyzika nízkých tlaků, Academia, Praha 1968 E B ^ Menu Ifl S 0" 0 mc [p^vel@GA-MA7... -,EÍ /home/pavel/Pavel/V... csCZ <■ UTF-8 , Ready Automatic H =1 / 40 ^ Pátek, 30.iáří, 14:23 Q Praktikum z vakuové fyziky 22 / 26 ISTeX- TikZ avní stránka: www.ctan.org/pkg/pgf dokumentace: www.ctan.org/pkg/pgf příklady: www.texample.net/tikz/examples schémata Praktikum z vakuové fyziky 23 / 26 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help i? m y q r j » ► Zá '\ ľ"i i »>«• \nght) /hame/pavel/Pavel/Vyuka/Praktika/ProyraiTiy/te&t.tex -TeXstudio part - label - tiny - g | [| ~ | L SI A A test.tex b Kl ö (T]0fi \oddsidemargin -0.6cm n \textheight 24cm m \textwidth 16.5cm \usepackage{tikz} \begin{document} f \begin{tikzpicture}[ultra thick] \draw (2,4) rectangle (6,2); \draw (0,0) circle (2); \draw [fill = magenta, draw = blue] (0,0) circle (1); \node at (-1,-3) {\bf \textsf{CCD}}; \draw [->, > = stealth] (4,-3)--(6,1.5); \draw (-1,-5)--(2,-5)--(3,0)--(3.5,0)--(2,2); \end{tikzpicture} Line: 21 Column: 43 | Messages |j_og Preview Search Results | Process started: p-dflatex -synctex=l -interaction=nonstopmode "tesf.tex Process exited normally 21 A E B 1 »NU ň SEI Q mc [pavelfSThinkPa... ^ /home/pavel/Pavel/V... cs_CZ <■ UTF-8 , Ready Automatic H =1 Ď O t Neděle, 2. říjen, 12:13 Ol Praktikum z vakuové fyziky 24 / 26 Praktikum z vakuové fyziky 25 / 26 ccd spectrometer fhr 1000 - 1 1 ceramics oil hv power supply Praktikum z vakuové fyziky 26 / 26