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:
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest,
standard/.style={
axis lines=middle, axis line style=-triangle 45 % I WANT "big arrow" HERE
}
}
\usetikzlibrary{arrows,decorations.markings}
\tikzset{
big arrow/.style={
decoration={markings,mark=at position 1 with {\arrow[scale=2.5]{latex'}}},
postaction={decorate}},
>=triangle 45 % I ALSO WANT "big arrow" HERE
}
\begin{document}
\begin{tikzpicture}
% \draw [big arrow] (0,0) -- (0,5) node [left]{$y$};
% \draw [big arrow] (0,0) -- (5,0) node [right]{$x$};
\begin{axis}[standard, xmin=0, xmax=5, xlabel=$x$, ymin=0, ymax=5, ylabel=$y$]
\end{axis}
\end{tikzpicture}
\end{document}
In a pgfplot axis instead of having
axis line style=-triangle 45
I would like to have something like
axis line style=-big arrow
In a tikz picture, instead of the lines
% \draw [big arrow] (0,0) -- (0,5) node [left]{$y$};
% \draw [big arrow] (0,0) -- (5,0) node [right]{$x$};
I would like, for instance, to write
\draw [<->] (0,5) node [left]{$y$} |- (5,0) node [right] {$x$};
and have the arrow head be "big arrow".
axis line style=big arrow
do?axis line style={-, big arrow}
. Why the line disappears though, I don’t know. The implementation seems tricky. Also>=big arrow
will not work anyway, unless you define an arrow headbig arrow
.