سلام من کد زیر را طبق ص 434 راهنمای داده شده در اینجا اجرا نمودم ولی با خطا مواجه میشود
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{intersections}
\usepackage{pgfplots}
\pgfplotsset{compat=1.5}
\usepgfplotslibrary{dateplot,fillbetween}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{1mm}%
\begin{document}
\begin{tikzpicture}
\begin{axis}[
boxplot/draw direction=y,
x axis line style={opacity=0},
axis x line*=bottom,
axis y line=left,
enlarge y limits,
ymajorgrids,
xtick={1,2,3},
xticklabels={Group A, Group B, Group C},
]
\addplot+[
boxplot prepared={
lower whisker=42, lower quartile=45,
median=47,
upper quartile=47.5, upper whisker=48,
},
]
table[row sep=\\,y index=0] { 40\\ 34\\ 56\\ };
\addplot+[
boxplot prepared={
lower whisker=36, lower quartile=39,
median=40,
upper quartile=41, upper whisker=43,
},
]
coordinates {};
\addplot+[
boxplot prepared={
lower whisker=41, lower quartile=44,
median=45,
upper quartile=46, upper whisker=47,
},
]
coordinates {(0,35) (0,55)};
\end{axis}
\end{tikzpicture}
\end{document}
برخی از این خطاها عبارتند از
Package pgfkeys Error: I do not know the key '/tikz/boxplot prepared', to whi you misspelled it. t
Package pgfkeys Error: I do not know the key '/tikz/boxplot prepared', to whi you misspelled it. coordinates {};
Package pgfkeys Error: I do not know the key '/tikz/boxplot prepared', to whiyou misspelled it. coordinates {(0,35) (0,55)};
Package pgfkeys Error: I do not know the key '/tikz/boxplot/variable width' and I am going to ignore it. Perhaps you misspelled it. \end{axis}
Package pgfkeys Error: I do not know the key '/tikz/boxplot prepared', to whi you misspelled it. \end{axis}
Package pgfkeys Error: I do not know the key '/tikz/boxplot prepared', to whiyou misspelled it. \end{axis}
Package pgfkeys Error: I do not know the key '/tikz/boxplot prepared', to whi you misspelled it. \end{axis}
Package pgfkeys Error: I do not know the key '/tikz/boxplot prepared', to whiyou misspelled it. \end{axis}
the current plot has no coordinates (or all have been filtered away)