I'm new to graphing on TikZ/pgf
and have been trying to figure this out but can't seem to find any helpful info for what I want. I want to plot the above functions over one period, i.e. on the interval [0,2\pi]
and would like the tick marks on the graph to show the values 0, pi/2 , pi, 3pi/2, and 2pi
. Would appreciate some help.
[Tex/LaTex] Plotting f(x) = sin x and f(x) = cos x on pgf/tikz
pgfplotsplottikz-pgf
Best Answer
With
pgfplots
Another variant will be: