Closed spreiter closed 1 year ago
Empty lines have significance in tables, you need to explicitly skip them or place comment characters %
at the start of each empty line to keep visual separation but not leaving empty.
Thanks for the fast reply. But when I add %
at the empty lines, all lines in the plot are connected.. Also in the manual it is stated to be a possible scenario that one can use empty lines (chapter 4.3) to jump points.
Or is there another way to create such plot?
Hmm then I was too fast with my reply, my apologies for the noise. Let me reopen this and wait for a smarter person than me
Probably a duplicate of #424, which was already fixed in https://github.com/pgf-tikz/pgfplots/commit/a31cac6a9ea2cbabf13962b1c2b2766e2b7d0bf0.
The fix hasn't been released yet, but can be backported by adding
\makeatletter
\def\pgfplotsscanlinelength@nan@pendingwork@PREPARED{%
\pgfplotsplothandlerappendjumpmarker
\let\pgfplotsscanlinelength@nan@pendingwork=\relax
}%
\makeatother
to the preamble after \usepackage{pgfplots}
.
Also note that “Missing character” is only a warning, not an error, even though some LaTeX editors like showing it as an error.
Thanks for the explanation. Somehow I missed that ticket.
I am creating a dateplot, but getting error messages for each empty line. It does not seem to be problematic and the PDF is created. Using lualatex on MacOS.
And yes, I need the empty lines in the table to disconnect certain time windows. It is not specific for
const plot
, I have also seen this behavior in other styles.Error message:
Package version:
Example: