New answers tagged

2

As already mentioned in the answers to the question you linked, you can do that. Just define a macro outside of the tikz environment. You can then use this macro in each of the multiple tikz pictures. \documentclass{article} \usepackage{tikz} \begin{document} \newcommand{\myvalue}{10} First Tikz Picture \begin{tikzpicture} \draw (0,\myvalue) -- ...


3

First of all, about packages/libraries you loaded: both \usetikzlibrary{pgfplots.dateplot} and \usepgfplotslibrary{dateplot} loads tikzlibrarypgfplots.dateplot.code.tex, which then loads pgfcalendar.code.tex, which \usepackage{pgfcalendar} loads. And you need pgfplots, which pgfplotstable loads. Anyway, dateplot expects "complete" time stamp. It likes ...



Top 50 recent answers are included