Questions tagged [boxplot]
A {boxplot} is used as a descriptive statistic. Both {pgfplots} and {pstricks} offers this as a graphing tool.
116 questions
2
votes
2
answers
42
views
Wrong calculus in Boxplot
I want to draw a boxplot using the PGFplots as in the following MWE:
\documentclass{standalone}
\usepackage{pgfplots}
% Nice color sets, see see http://colorbrewer2.org/
%\usepgfplotslibrary{...
0
votes
1
answer
39
views
Using \boxplot calculated whisker values to sort outliers
I'm working on getting the \boxplot command from the 'statistics' package to calcualte the lower and upper whisker values of a data set read from a sinlge colum .txt file then use those whisker values ...
1
vote
1
answer
73
views
Box plot graph - New line for long xticklabels
I want to make my "xticklabels" have a new line between them so that they are in two lines and not as cramped. The double backslash \\ and \n did not work.
Code:
\documentclass{standalone}
\...
1
vote
1
answer
50
views
boxplot scaling
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\usepackage{subcaption}
\usepackage{pgfplots}
\pgfplotsset{compat=1.8}
\usepgfplotslibrary{statistics}
\begin{document}
\...
1
vote
1
answer
68
views
Y-axis square root scaling
I am trying to create a boxplot of my data in pgfplots with square-root scaling of Y axis, due to the nature of data.
This is my code:
\documentclass{article}
\usepackage{pgfplots}
\usetikzlibrary{...
0
votes
2
answers
31
views
No error message but also no output. pdfplotset boxplot diagram
Credit where credit is due: I found this wonderful boxplot, im trying to fit my dataset into it and i am failing miserably. My main Problem is, that Miktex is not giving out any error message that i ...
1
vote
1
answer
115
views
Issues with legend mark colour not the same as the boxplot
I am not able to get the legend colour to be the same as the colour of the lines of boxplot.
Here is my code:
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\...
1
vote
1
answer
110
views
Import values from csv for prepared boxplot?
I have referred to the question posted here: Read boxplot prepared values from a table. However, it doesn't work very well with external .csv files.
I have the following Table.csv content:
Product,Min,...
1
vote
1
answer
136
views
How to fill boxes of the pgfplots box plots with predefined colors?
How can I fill each pgfplots box with different predefined colors? The code below from https://www.latex4technics.com/?note=7WU2A1.
\documentclass{minimal}
\usepackage{pgfplots}
\...
1
vote
1
answer
176
views
Remove unwanted entries from Legend in pgfplot
I am trying to combine a box-plot with the actual points to show distribution. Furthermore, the marks used for the points depend on whether the treatment it represents was positive (marked x) or ...
0
votes
1
answer
365
views
Spread the dots in boxplot in pgfplots
Since I couldn't find any instructions to make a violin plot in the pgfplot manual, I am making a box-plot and adding the corresponding points on the plot. This tends to be more transparent with the ...
1
vote
1
answer
114
views
What is default behavior for boxplot outliers, and how to include them?
I was going to ask how to include outliers in my boxplot. Here is a simple working example:
\documentclass[11pt]{amsart}
\usepackage{tikz}
\usepackage{pgfplots}
\usepgfplotslibrary{statistics}
\begin{...
1
vote
1
answer
121
views
tikzpicture boxplot, bare minimum example, paragraph ended error
I'm looking to add boxplots to my document. I know there are already working examples out there, including on this site, but I was curious if I could get the bare minimum simplest example to run. The ...
2
votes
1
answer
148
views
PGF boxplot prepared including outliers from file
This question is basically a continuation of this answer. How can I handle outlier data in PGF boxplots, supposed my input table looks like this:
\pgfplotstableread{
index lw lq med uq uw out1 ...
0
votes
1
answer
71
views
How can I have 11 ticks (groups) where each tick is an overlap (no distance) of 3 different boxes?
\documentclass[a4paper]{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{statistics}
\pgfplotsset{compat=1.8}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
boxplot/draw direction=y,
...