Replies: 1 comment 11 replies
-
A fuzzy guess is that, the last curve is too short to fit in an arrow, thus you got a degenerated result. % the last curve
(1065.7bp,188.55bp) .. controls (1061.7bp,188.01bp) and (1057.6bp,187.43bp) .. (bar) As far as the last subpath (whether it's a curve or line-to) is short enough, one got a degenerated result. Perhaps pgf/tikz should raise an arrow in such cases. \documentclass[tikz, margin=5pt]{standalone}
% \usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}
\tikzset{
>=Stealth
}
\begin{tikzpicture}
% original coordinates
% (1069.69637pt,189.25706pt) .. controls (1065.68137pt,188.71503pt) and (1061.566pt,188.13284pt) .. (1063.61786pt,188.48318pt)
\draw[->]
(0, 0) .. controls (4pt, .5pt) and (8pt, 1pt) .. (6pt, 0.8pt);
\end{tikzpicture}
\begin{tikzpicture}[>=Stealth]
\foreach \i [count=\cnt] in {0, .5, 1, 1.5, 2, 3, 4, 5} {
\draw[->, xshift={0.5cm*\cnt}, , yshift=-.5cm, x=1pt*\i, y=1pt*\i]
(0, 0) .. controls (4, .5) and (8, 1) .. (6, .8);
\draw[->, xshift={0.5cm*\cnt}, x=1pt*\i, y=1pt*\i]
(0, 0) -- (6, .8);
}
\end{tikzpicture}
\end{document} ![]() |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here's a MWE.
N.B. This output is part of a file produced by
dot2tex
, and looks perfectly reasonable, as far as I can tell.Beta Was this translation helpful? Give feedback.
All reactions