\documentclass[11pt,a4paper,usenames,dvipsnames]{article} \usepackage{../tikz-osci} % Use sans serif font \renewcommand{\familydefault}{\sfdefault} \begin{document} \begin{center} \osci[% scale=0.7 ] \vspace*{0.3cm} \osci[% scale=0.7, rounded corners=5, second channel=1, screen offset one=2, screen offset two=-2, time div=20, voltage div one=4, voltage div two=1, sample rate=200, xy mode=0, func one=2*sin(2*180/0.020*x), func two=1*sin(2*180/0.020*x)+0.2*sin(2*180/0.040*x), indicators=0, color one=D62626, color two=1053AF, graph back color=777799, info back color=333333, info text color=FFFFFF, main axis color=DDDDDD, grid color=CCCCCC, ] \vspace*{0.3cm} \osci[% scale=0.7, rounded corners=0, second channel=1, screen offset one=2, screen offset two=-2, time div=20, voltage div one=4, voltage div two=10, sample rate=200, xy mode=0, func one=2*sin(2*180/0.020*x), func two=10*sin(2*180/0.010*x)+5*sin(2*180/0.020*x), indicators=1, color one=F0DE25, color text one=000000, color two=F0DE25, color text two=000000, graph back color=668866, info back color=D6D6D6, info text color=000000, main axis color=000000, grid color=CCCCCC, ] \end{center} \newpage \begin{center} \osci[% scale=0.7, second channel=1, time div=300, voltage div one=1, voltage div two=0.5, sample rate=500, xy mode=1, func one=sin(7*x), func two=sin(2*x), indicators=1, graph back color=FFFFFF, info back color=D6D6D6, info text color=000000, main axis color=000000, grid color=CCCCCC, ] \vspace*{0.3cm} \osci[% scale=0.7, second channel=1, time div=1000, voltage div one=1, voltage div two=1, sample rate=500, xy mode=1, func one=3*sin(2*x), func two=3*sin(2*x+45), indicators=1, graph back color=FFFFFF, info back color=D6D6D6, info text color=000000, main axis color=000000, grid color=CCCCCC, ] \vspace*{0.3cm} \osci[% scale=0.7, second channel=1, time div=10, voltage div one=2, voltage div two=2, sample rate=500, xy mode=0, math mode=3, math mode hide source=0, func one=2*sin(2*180/0.040*x), func two=3*sin(2*180/0.005*x), indicators=0, graph back color=FFFFFF, info back color=D6D6D6, info text color=000000, main axis color=000000, grid color=CCCCCC, ] \end{center} \newpage \begin{center} \osci[% scale=0.7, second channel=1, time div=10, voltage div one=2, voltage div two=2, sample rate=500, xy mode=0, math mode=3, math mode hide source=1, func one=2*sin(2*180/0.040*x), func two=3*sin(2*180/0.005*x), indicators=0, graph back color=FFFFFF, info back color=D6D6D6, info text color=000000, main axis color=000000, grid color=CCCCCC, ] \vspace*{0.3cm} % Square wave function \pgfmathdeclarefunction{square}{4}{% \pgfmathparse{(sin(2*180*x/#2+#4)+#3>0?#1:-#1)}% } % Triangle wave function \pgfmathdeclarefunction{triangle}{4}{% \pgfmathparse{#1*asin(sin(2*180/#2*x+#4))/90}% } \osci[% scale=0.7, second channel=1, time div=50, voltage div one=1, voltage div two=1, sample rate=1000, func one={triangle(2,0.2,0,0)}, func two={square(2,0.2,0,-60)}, smooth one = 1, smooth two = 0, vertical cursor one = 2, vertical cursor two = 2.67, cursor precision = 1 ] \end{center} \end{document}