I'm trying to draw the outliers for my boxplot diagram with pgfplots. I've managed to draw the actual boxes so now I am trying to draw a simple scatter diagram. I have a couple of tables that looks as follows:
n median Q3 Q1 UW LW mean min max outliers
12 1.952017 2.030306 1.893512 2.065810 1.879817 1.959266 1.879817 2.065810 {}
24 1.878986 1.922025 1.836832 1.965843 1.787341 1.919280 1.787341 2.932309 {2.932309}
36 2.080509 2.187772 2.038786 2.315607 1.944424 2.108413 1.944424 2.315607 {}
72 3.902994 4.103200 3.658043 4.763806 3.427024 3.972250 3.427024 5.040159 {5.040159, 4.905358, 4.856334, 4.821004, 4.789719, 4.775229}
The naive approach of doing \addplot+[scatter, only marks] table[x={n}, y={outliers}] {data.dat}; of course didn't work because outliers aren't a single value. I've tried using \foreach but honestly I have no idea what I'm doing.
Any help would be greatly appreciated!
Edit: I took the easy way and wrote a script to extract the outliers and simply plotted them.