1
vote
1answer
203 views

! Package tikz Error: missing semicolon [closed]

I have found this sample of code from here: Block diagram generation in LaTeX. Initially I had some problems while I was compiling the code and I solved them due to copy paste features some of the ...
8
votes
1answer
375 views

PGFPlots Parametric Plot, Arrow Spacing by Constant Time

For a parametric plot of a particle's position (x(t),y(t)), is it possible to usepgfplots to draw arrows equally spaced in time to indicate the direction of travel? For example, with (x(t),y(t)) = ...
4
votes
1answer
474 views

pgfplots: custom axis arrow head [duplicate]

I'm using this answer to make a bigger arrow head. I would like to use this new arrow head as my default arrow head (both in pgfplots axis and in tikz pictures). Here is a MWE: ...
2
votes
1answer
152 views

How can one insert an arrow on the z-axis of a ternary diagram to indicate increasing order of the element on this axis?

I need help on how I can insert X_{Bi} and a rightarrow on the z-axis of each of the subfigures in my ternary diagram. X_{Bi} implies X subscript Bi while rightarrow is as in LaTeX to indicate that Bi ...
16
votes
2answers
627 views

Making the size of the arrow head proportional to the magnitude of a vector field in TikZ

Consider a scaled vector field v = (-x, 2x+y-1) living on the triangle at (0,1), (1,0), and (0,0): \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (A) at ...
2
votes
1answer
556 views

Adjusting arrow style on pgfplots axes

Using axis line=middle in pgfplots creates arrow tips on the end of the axes. How can I adjust the size, style, etc? I suppose one way would be to make axes without arrows (using axis line*=middle) ...
4
votes
1answer
710 views

PgfPlot: Axis Arrows vs Vector Arrows

I've notice that the arrowheads on the axis are different than the arrowheads drawn when drawing vectors: \documentclass{article} \usepackage{pgfplots}\pgfplotsset{compat=1.7} \begin{document} ...
5
votes
1answer
514 views

Arrow heads as plot marks

I would like to draw a plot and put arrow heads pointing in the direction of the plot instead of marks. My first idea was to use the quiver option from pgfplots by duplicating and stagering the ...
4
votes
1answer
746 views

pgfplot annotation spacing and arrow length

I am trying to make the following figure using pgfplots. \documentclass{article} \usepackage{pgfplots} \pgfplotsset{width=8cm,compat=1.5.1} \usetikzlibrary{decorations.markings} % Arrows ...
6
votes
2answers
715 views

Insert a separate mark inside a pgfplots graph

First of all, let me apologize if the title is not enough clear, but I didn't know how to explain myself better. I have a graph consisting in three different curves that are covering almost the same ...
9
votes
2answers
2k views

Changing arrowheads size in pgfplots axes

I need to change the default axes arrowheads size of pgfplots when using the option axis lines=center. Following this answer, I tried this code: \documentclass{standalone} \usepackage{pgfplots} ...
17
votes
3answers
4k views

Making an arrow in a pgfplot figure from one point to another?

How can I make an arrow from one point in a tikz picture to another point? In the following example, I would like to draw an arrow from the word data--which is approximately the coordinate (1982, ...
7
votes
5answers
2k views

How can I draw dirac deltas with arrow heads with pgfplots

I would like to draw this in pgfplots: I've tried this, but I can't figure out how to get the arrowheads. \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} ...
13
votes
1answer
1k views

Smooth option sometimes produces incorrect arrow tips in PGFplots

It seems that the smooth option applied to lines sometimes effects the arrow tips and produces incorrect results. No problem with vertical lines, but any other seems to have a problem. Is this a ...
3
votes
3answers
4k views

Line with arrowhead in PGFPLOT

How can I add a line ending with an arrowhead in pgfplot? \begin{tikzpicture} \begin{axis}[grid=major,axis x line=middle, axis y line=middle] \addplot[domain=0:1, no markers] ...