Questions tagged [boxplot]
A {boxplot} is used as a descriptive statistic. Both {pgfplots} and {pstricks} offers this as a graphing tool.
117 questions
2
votes
1
answer
69
views
How to show the legend color when there are multiple boxplots of one data and a single boxplot for another data?
I am having a problem with the right legend colour. I have two plots showing the data for Males and one plot showing the data for Females. However, the legend for Females shows black, whereas it is ...
5
votes
2
answers
212
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
80
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
151
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
98
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
132
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
52
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
176
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
207
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
164
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
249
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
499
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
193
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
214
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
194
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 ...