Search found 3 matches

by ziezi
Mon Sep 17, 2018 10:25 pm
Forum: Graphics, Figures & Tables
Topic: Strangely looking trigonometric function plots?
Replies: 6
Views: 4155

Strangely looking trigonometric function plots?

Thanks again for the suggestion! It worked great!

I hope that by clicking accept on the last answer I've closed/completed the question.
by ziezi
Mon Sep 17, 2018 5:45 pm
Forum: Graphics, Figures & Tables
Topic: Strangely looking trigonometric function plots?
Replies: 6
Views: 4155

Strangely looking trigonometric function plots?

Thank you for the fast response!

You are right, removing pi from the argument makes things better, however, I don't know how to plot specific number of maximums, matched to specific points on the x-axis, corresponding with the maximums of the other plot below.

I've updated the question and ...
by ziezi
Mon Sep 17, 2018 5:18 pm
Forum: Graphics, Figures & Tables
Topic: Strangely looking trigonometric function plots?
Replies: 6
Views: 4155

Strangely looking trigonometric function plots?

I'm trying to plot simple trigonometric functions, sin(x), sin^{2}(x) , with the following code:

\documentclass[a4paper]{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}

\begin{document}
\begin{tabular}{@{}c@{}}
\begin{tikzpicture}
\begin{axis}[
width = \axisdefaultwidth,
height = 0.3 ...