Questions tagged [plot]
{plot} is for questions concerned with plotting data or functions using TeX. For questions specific to the pgfplots package, use the {pgfplots} tag.
5 questions from the last 30 days
12
votes
5
answers
308
views
How to colorized any line drawed with draw (nor with plot expression)?
How to colorized any line drawed with draw (nor with plot expression)?
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
...
11
votes
4
answers
586
views
How to plot y = x^{2/3} + 0.8 cos(kx) √(3-x²) in LaTeX TikZ
I would like to plot the following function in LaTeX using TikZ or pgfplots:
\[ y = x^{2/3} + 0.8 \cdot \cos(kx) \cdot \sqrt{3 - x^2} \]
The domain is \( - \sqrt{3} \leq x \leq \sqrt{3} \).
I need to ...
4
votes
3
answers
238
views
Arrow tips look wrong at the end of a plot
I have a weird problem with arrow heads at the end of plots, where they look wrong, as you can see in the picture (look below left; the line seems to exceed the arrow tip). Removing colour or changing ...
4
votes
1
answer
51
views
Use "plot" inside a \draw path in tikz
Is there a way to continue a path we draw using \draw with a plot, just as we do for instance also with arc or similar commands?
In the example below I have a straight line, but I'd like the plot to ...
0
votes
0
answers
49
views
How to plot multiple plot lines reading info from a file?
The mwe file is: notas-ByRow-tab.txt
Nome Exam01 Exam02 Exam03
Lía 8.45 9.75 10
Noa 9.85 10 9.25
Rocío 10 9.15 9.05
Laya 3.50 4.25 2.95
Lisa 5.75 4.00 7.25
...