How to modify the pgfplots arrows?

The code

\documentclass[10pt,reqno]{amsart} \usepackage{pgfplots} \begin{document}     \begin{tikzpicture}[arrow1/.style={->,color=black,solid}]         \begin{axis}             \addplot [arrow1] coordinates{(0,0) (1,1)};         \end{axis}     \end{tikzpicture} \end{document} 

produces

How to modify the pgfplots arrows?

What you barely see is an arrow. How can I modify the arrow head, e.g. enlarge it to make it more obvious it is an arrow?

Replay

The arrows.meta library from TikZ lets you do all sorts of things with arrowheads. See the TikZ manual (section 16.5) for a complete reference.

How to modify the pgfplots arrows?

\documentclass[10pt,reqno]{amsart}
\usepackage{pgfplots}
\usetikzlibrary{arrows.meta}
\begin{document}
    \begin{tikzpicture}[
      arrow1/.style={
       -{Classical TikZ Rightarrow[width=10pt,length=10pt,line width=2pt]},
        color=black,solid}]
        \begin{axis}
            \addplot [arrow1] coordinates{(0,0) (1,1)};
        \end{axis}
    \end{tikzpicture}
\end{document}

Category: tikz pgf Time: 2016-07-28 Views: 4

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.137 (s). 12 q(s)