here is an excerpt from my document:
Code: Select all
\documentclass{article}
\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}
\pgfplotsset{
compat=1.3,
width=12cm
}
\begin {document}
\begin{tikzpicture}
\begin{axis}[
date coordinates in=x,
xmin=2011-03-19,
xmax=2013-06-30,
xlabel={March 19th 2011 through June 2013},
xticklabel=\day,
ylabel={Weight},
]
\addplot coordinates {
(2011-03-19,191.0)
(2011-03-20,191.2)
(2011-03-21,192.4)
(2011-03-22,193.2)
(2011-03-23,192.6)
(2011-03-25,192.4)
(2011-03-26, 195.4)
(2011-03-27, 194.6)
(2011-03-28, 194.2)
(2011-03-29, 193.8)
(2011-03-30, 194.2)
(2011-03-31, 194.6)
};
\end{axis}
\end{tikzpicture}
\end{document}
- assign a color to a single point?
- assign a shape to a single point?
- specify a particular date with
xticklabel=\day
, or some other way?
Thank you very much for any help,
Gerard McConnell