gnuplot 中的箱线图

gnuplot 中的箱线图

我不明白为什么有些点没有被箱线图所采用

\documentclass[10pt]{beamer}
\usetheme{Warsaw}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage[tikz]{bclogo}
\usepackage{tkz-tab}
\usepackage{pgfplots}
\usepackage{frenchmath}
\usepackage{gensymb}
\usepackage{marvosym}
\usepackage{variations}
\pgfplotsset{grid style={dashed}}
\pgfplotsset{every tick label/.append style={font=\tiny}}
\usepackage[miktex]{gnuplottex}
\usetikzlibrary{plotmarks}
\usepackage{ifthen}
\usepackage{array}
\begin{document}
\maketitle

\begin{frame}[fragile]

\begin{gnuplot}[terminal=latex ,terminaloptions=rotate,scale=.75 ]

        set key off
        set style increment default
        set style boxplot
        
        set style fill solid 0.25 border lt 2
        set style boxplot outliers pointtype 7
        set style data boxplot
        set boxwidth  0.5
        set pointsize 0.5
        set border 2
        set xtics ("A" 1, "B" 2) scale 0.0
        set ytics nomirror
        set yrange [0:20]
        plot 'boite2.txt' using (1):1
        \end{gnuplot} 

\end{frame}
\end{document}

中的数据boite2.txt为:

12  
9
9
10.5
3
12
11 
18
9
12.5
9.5
5

查看结果:

两点错误?

相关内容