Programy Gnuplot IATeX |ATEX-TikZ Praktikum z vakuové fyziky 1/25 Gnuplot hlavní stránka: www.gnuplot.info dokumentace: www.gnuplot.info/documentation.ht příklady: gnuplot.sourceforge.net/demo_5.0/ matematické funkce experimentální data Příkaz - test Gnu plot (window id : 0) e p* a @ a ^ ? wxt terminal test gnuplot version 5.0.3 X CD CU L. ■4-J .+. .ŕ ... & "O CU -I—' ro O r, linewidtn% show ticscale lieft justified centre-H-d text right justified: test of character width: filled polygons: 1-23456789QI2345-6789IQ- Iw 6 dashtype Iw5 -------- dt5 Iw 4 -------dt4 Iw 3 ............. dt3 Iw 2 -----dt2 Iw 1 - dt 1 Enhanced text: xj]+1 Bold Italic 0 pattern fill 12345678 íl -i 0 1 2 3 4 6 7 8 9 10 11-12 14 15 16 17 18 19 20 22 8.98847E+307, 8.98847E+307 ^ Menu n 0 pavel@GA-MA790X-... |H Gnjplot [window id: ' Úterý,27.iáří,10:24 Q < □ ► Praktikum z vakuové fyziky 3/25 #!/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) □ (3 = Praktikum z vakuové fyziky #!/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 title " Nadpis" set xlabel "X" set ylabel "Y" plot 2*sin(x) #!/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 l(T{-25}" set xlabel "index P_ {tr}" set ylabel "{ /Symbol abl }" plot 2*sin(x) CD. Ö 2 1.5 1 0.5 0 -0.5 -1 -1.5 -2 -10 Čeština, mocnina 10 ■25 0 index Ptr ........................./ f.\...................... \ A . ......................./ \.................... /\ / \. [/... ......\................... / \ / V. \ /.... ........\.................. /.............\.......... / V \ / ..........\.............. .................\......... / x -\ / \ I ...................\....... I \ -\ / \ I .....................\..... /...................... \y \f v. 10 Praktikum z vakuové fyziky □ S - 1 ^0 Q, o 6/25 #!/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) index Ptr Praktikum z vakuové fyziky □ <3 7 / 25 #!/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 "cas [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" Praktikum z vakuové fyziky 8/25 #!/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 < c TD O > O Ol 0.0e+00 2.0e-04 4.0e-04 6.0e-04 8.0e-04 tlak [Pa] 1.0e-03 1.2e-03 Praktikum z vakuové fyziky □ S1 1 1 -O °sO 9/25 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] 0.0e+00 2.0e-04 4.0e-04 6.0e-04 8.0e-04 tlak [Pa] 1.0e-03 1.2e-03 Praktikum z vakuové fyziky 10 / 25 hlavní stránka: www.latex-project.org/ dokumentace: www.latex-project.org/help/documentation/ J. Rybička: I^T^X 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 /home/pavel/Pavel/Vyuka/Texcypraktikum~D2a-prDgramy.tex -TeXstudio File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help i? m y o r/\W ► S P4 \") i u-* \nght) tiny B F — I B H i A A y praktikurn-02a-pnrjgrarny.tex |I| (T) of 5 * m n [ f -í- \input{hlavička.tex} T \begin{document} \frame{ \nadpis{Programy} \begin{itemize} \ltem SiJjJidai \item \LaTeX \item \LaTeX \end{itemize} } \frame{ VnadpisíftoftlSl} \begin{itemize} \item hlavni stránka: www. gfljjfilat. ids. \item dokumentace: www.mW\SiX«^^1immS£JÚ^-iOSH Utem příklady: cmjJOl!jrLJJLUXa&íi^ \end{itemize} } !*========================================================== \frame{ \begin{columns} \begin{column}{6.5\textwidth} test \end{column} \begin{column}{G.5\textwidth} test \end{column} \end{columns} } |%========================================================== Line: 64 Column: 0 INSERT Programy • Gnuplot • ĽTeX . ŕTEX-TikZ Praktikum z vakuové fyziky Messages Log Preview 5earch Results Process started: p-dflatex -synctex=l -interaction=nonstopmode "praktikum-02a-programy".tex Process exited normally Gnuplot Pages 1 to 3 of 5 LB5% pj BE CS_CZ , UTF-B , F Q mc [pavelr^GA-MA?... ^ /home/pavel/Pavel/V... Uterýr27.září,10:12 Ol □ Praktikum z vakuové fyziky 12 / 25 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help \? m y o X T ji ► WÁ PJ \") \ W • Irightl - /home/pavel/Pavel/Vyuka/Praktika/Programy/cest.tex - TeXstudio part - label - tiny ' ~ I £" ~ | I. H /'. /'. testtex Q \documentclass[12pt]{article} - \begin{document} Test \end{document} I S* x f Test Line: 1 Column: 0 j Messages |Tog Preview Search Results j Process started: pdflatex -synctex=l -interattion=nonstoprnode "t«t".tex Process exited normally Mlč j|pB9elGf l|| 349%T||^|[ EE ^ Menu M 0 mc [pävel@GA-MA7... -|ŕ /home/pavelVPavel/V... es CZ , LITF-8 -» Ready Automatic "|J Praktikum z vakuové fyziky 13 / 25 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help \f m y q r j !► ► n ry r*1 i **' - - /home/pavel/Pavel/Vyuka/Praktika/Programy/cest.tex - TeXstudio part - label - tiny ' | | B E " I E H j & A H test.tex Q I ss X y \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \pagestyle{empty} \topmargin -lem \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} Test češtiny. Test $\lambda$ ; $TAP$; $T_{mn}$ \end{document} Line: 19 Column: 0 Test češtiny. Test A j T , Tmn j Messages |Tog Preview Search Results j Process started: pdflatex -synctex=l -interaction=nonstopmode "tesf'tex Process exited normally HUT J|pagel of l|| 349%T||^|| ^iRl BE ^ Menu m HE] Q mc [pavelt^GA-MA?... \* /home/pavel/Pavel/V... Praktikum z vakuové fyziky 14 / 25 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help ■ HO n i * ► o Pí \m) \ *«i ' '^ht) - /home/pave l/Pavel/Vyuka/Praktika/Programy/cest.tex - TeXstudio part - label - tiny ' ~ I £" ~ | Is H ; /'. /'. H test.tex Q SS 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}$ $$ va = \sqrt{\frac{4}{\pi}}v_p = \sqrt{\frac{8kT}{\pi m_0}} $$ \begin{equation} v a = \sqrt{\frac{4}{\pi}}v p = \sqrt{\frac{8kT}{\pi m 0}} \end{equation} \end{document} Test A ; Tp: Tn va - Line: 1 Column: 0 j Messages |Tog Preview Search Results j Process started: pdflatex -synctex=l -interaction=nonstopmode "tesf.tex Process exited normally -Vr, — Va = \ -V„ = ISkT 7rm0 7rm0 (D EE ^ Menu m HE] Q mc [pavelt^GA-MA?... \* /home/pave I/Pave l/V... Praktikum z vakuové fyziky 15 / 25 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help i9 w y Q irj test tex Q r \ » ► q cu i-1 \left( » \right) » /home/pavel/Pavel/Vyuka/Praktika/Programy/test.tex -TeXstudio part - label - tiny 'illBIl L H aa SS P i + \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \usepackage{graphicx} \pagestyle{empty} \topmargin -1cm \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} \includegraphics Twidth= 8.8\textwidth1fv-boltz-01.pdf} \end{document} Line: 17 Column: 0 19 9 [Boll 9 «| Messages | Lag ] Preview | Search Results Process started: pdflatex -synctex=l -interaction=nonstoprnode "test'Vtex Process exited normally 2.06-03 1.5e-03 1.0e-03 5.0e-04 0.0e+00 AW Teplota T=300 K, M=28, N3 1000 1200 1400 v [ms"1] Page 1 of 1 141%, [^j ^^^_^= [*J cscz . UTF-S , Ready Automatic B B ^ Fľ| mc [pavel^GA-MA7... v /ho me/pave I/Pa vel A/... Praktikum z vakuové fyziky □ É?1 16 / 25 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help ■ HO r ! !► ► S Pí ľ"1 I *«i ' ^ht) - /h ome/pavel/Pavel/Vyuka/Praktika/Progra my/cest. tex - TeXstudio part - label - tiny ^IBE - I Is M ; /'. /'. H t e st.tex □ diofi ss x f \usepackage{graphicx} \pagestyle{empty} \topmargin -lem \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} Text Obr.\ref{ml} text pokračuje. \begin{figure}[!htb] \begin{center} \includegraphics[width= 0.8\textwidth]{v-boltz-01.pdf} \end{center} \caption{\em MaxweJJ^ rozdělení rychlosti pro dusik a teplotu 300 K } \label{ml} \end{figure} I\end{document} Line: 3 Column: 0 INSERT j Messages |Tog Preview Search Results | Process started: pdflatex -synctex=l -interaction^nonstopmode "test",tax Process exited normally Text Obr.l text pokračuje. Teplota T=300 K, M=28, N2 2.0e-03 1.5e-03 1.0e-03 5.0e-04 0.0e+00 600 800 1000 1200 1400 Obrázek 1: Maxwellovo rozdělení rychlostí pro dusík a teplotu 300 K HE ^ Menu H Q mc [pavelt^GA-MA?... \t /home/pave I/Pave l/V... Praktikum z vakuové fyziky 17 / 25 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help I? m U @ I X T, i I ► ■ W I"'1 i *>* - UighH /home/pave l/Pavel/Vyuka/Praktika/Programy/cest.tex - TeXstudio part - label - tiny ' | | B E " I E H j & A testlex y diofi ss \begin{document} \begin{table}[!ht] \begin{center} \begin{tabular}{|c|cccc|} \hline Plyn & $He$ & $Ne$ & $Ar$ & $Kr$ \\ \hline $d~[10A{-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 K r d [IQ-10 m 2,20 2,55 3,69 4,27 Tabulka 1: Efektivní prvměr některých atomů a molekul Line: 17 Column: 30 j Messages |Tog Preview Search Results j Process started: pdflatex -synctex=l -interaction^nonstoprnode "tesf.tex Process exited normally BE ^ Menu M 0 mc [pavel@GA-MA7... -|r /home/pavelVPavel/V... Praktikum z vakuové fyziky 18 / 25 /h ome/pavel/Pavel/Vyuka/Praktika/Progra my/cest. tex - TeXstudio File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help e m y Q \left( v \right) - label - tiny E F — I ľ H ! A A H t e st.tex Q diofi ss f \topmargin -lem \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \usepackage{color} \begin{document} \begin{center} {\tiny Test}\\ {\scriptsize Test}\\ {\footnotesize Test}\\ {\small Test}\\ {\normalsize Test}\\ {Marge Jest}\\ {\Large Test}\\ {\huge Jest}\\ {\Huge Iest}\\ {\color{red} Test} \end{center} \end{document} Test Test Test Test Test Test =!est _!bst Test Line: 12 Column: 0 | Messages |Tog Preview Search Results j Process started: pdflatex -synctex=l -interaction^nonstoprnode "tesf.tex Process exited normally j|pagel of l|| «00% | | EE ^ Menu m HE] Q mc [pavelt^GA-MA?... \t /home/pavel/Pavel/V... Praktikum z vakuové fyziky 19 / 25 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help m U © Hi* ► H 9i ľ"1 ! - ^ht) - /home/pavel/Pavel/Vyuka/Praktika/Programy/cest.tex - TeXstudio part - label - tiny ^IBE - I Is M ; /'. /'. testtex Q \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 |Tog Preview Search Results | Process started: pdflatex -synctex=l -interaction^nonstoprnode "tesf.tex Process exited normally EE ^ Menu M 0 mc [pävel@GA-MA7... ^ /home/pavelVPavel/V... diofi Test A Test B 1. Test A 2. Test B Bit j|pagel of l|| «00% 11 Q, O Praktikum z vakuové fyziky 20 / 25 File I8* Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help m U © r j * ► H 9i ľ"1 i ' ^ht) - /home/pavel/Pavel/Vyuka/Praktika/Programy/cest.tex - TeXstudio part - label - tiny ' ~ I £" ~ | I. H /'. /'. testtex Q EM i \oddsidemargin -0.6cm \textheight 24cm \textwidth 16.5cm \begin{document} Text \cite{testl}, text text \cite{test2}. \begin{thebibliography}{99} \bibitem{testl} J. Gxjoszk^cMski.: Technika vysokého vakua, SNTL, Praha 1981 \bibitem{test2} L. Pátý: Fyzika nízkych tlaků, Academia, Praha 1968 \end{thebibliography} \end{document} Line: 13 Column: 0 j Messages |Tog Preview Search Results j Process started: pdflatex -synctex=l -interacticjn=nonstopmode "tesf.tex Process exited normally Text [1], text text [2]. Reference 1] ,T. Groszkowski: Technika vysokého vakua, SNTL. Praha 1981 2] L. Pátý: Fyzika nízkých tlaků, Academia, Praha 1968 WW j|pB9elGf l|| 165%T||^|[ EE S Menu B sb cs CZ , LITF-ř 0 mc [pavelt^GA-MA?... \t /home/pavel/Pavel/V... Praktikum z vakuové fyziky 21 / 25 ETeX- TikZ avní stránka: www.ctan.org/pkg/pgf dokumentace: www.ctan.org/pkg/pgf příklady: www.texample.net/tikz/ schémata Praktikum z vakuové fyziky 22 / 25 File Edit Jdefix Tools LaTeX Math Wizards Bibliography Macros View Options Help \? m y o X T ji ► WÁ PJ \") \ W • Irightl - /home/pavel/Pavel/Vyuka/Praktika/Programy/cest.tex - TeXstudio part - label - tiny ' ~ I £" ~ | I. H /'. /'. testtex Q [g of i \oddsidemargin -0.6cm u \textheight 24cm m \textwidth 16.5cm \usepackage{tikz} \begin{document} ss x 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 j Messages |Tog Preview Search Results j Process started: pdflatex -synctex=l -inr_erattion=nonstopmode "tesf.tex Process exited normally IB BE ^ Menu n SEJfc 0 mc[pave!@ThinkPa... □ |pB9elGf"l|| Z31%T|||Öj|[ ■ei /home/pavel/Pavel/V... cs CZ , LITF-8 , Ready Automatic U =s Cl O t Nedělř, 4 □ ► Praktikum z vakuové fyziky 23 / 25 Praktikum z vakuové fyziky 24 / 25 CCD □ SPECTROMETER FHR 1000 - 1 1 ceramics oil HV POWER SUPPLY Praktikum z vakuové fyziky 25 / 25