A {boxplot} is used as a descriptive statistic. Both {pgf-plots} and {pstricks} offers this as a graphing tool.

learn more… | top users | synonyms

2
votes
1answer
26 views

How to change the mark in a pgfplots boxplot

I have my own custom style for boxplots which I like very much. I like it so much I would like to use it everywhere. I used it with the old boxplots, and it did everything I wanted. However, the ...
1
vote
0answers
45 views

How to fix pgf boxplot error with only zero value in samples?

Following this previous question I am still figuring out how to properly handle different "borderline" cases with the boxplot feature provided by pgfplots. The following MWE: ...
1
vote
0answers
64 views

How to group box plots in pgf / tikz? [closed]

Grouping bar charts is easily done using pgf / tikz, e.g., \begin{tikzpicture} \begin{axis}[ width = 0.85*\textwidth, height = 4cm, major x tick style = transparent, ...
5
votes
1answer
150 views

pgfplots : Box Plots and two y axis

I'm trying to add some data points on another y axis along with box plots. My experience in TeX is quite limited and I'm not sure why my axis appears in the middle of my x axis instead of at the end ...
2
votes
1answer
114 views

PGFPLOTS: How To Put \addplot boxplot prepared Inside Macro Definition

I have a need to wrap the `\addplot [boxplot prepared]' inside a macro to greatly save typing. It seems simple enough, but the devil is in the details with macro expansion issues. Is this doable given ...
1
vote
0answers
92 views

PGFPLOTS defintion inside macro inside table or insert boxplots inside table

I am trying to take a plot of a series of boxplots and include/insert these into a table. The code came from a posting of using a data table to define a series of boxplots. The code for the table ...
4
votes
1answer
195 views

pgfplots generating incorrect boxplots

While trying to reproduce some boxplots using pgfplots (and analyzing samples automatically), I noticed that in some cases I was getting different plots from Matlab. I have left all the settings in ...
1
vote
1answer
308 views

PGFPLOTS boxplot data from inline file

I have The following code: \documentclass{article} \usepackage{filecontents} \usepackage{pgfplots, pgfplotstable} \usepgfplotslibrary{statistics} \begin{document} ...
2
votes
1answer
106 views

Why are some of my boxplots dashed?

Here's a MWE: \documentclass[a4paper]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{statistics} \pgfplotsset{compat=1.8} \begin{document} \begin{tikzpicture} \begin{axis}[ boxplot/draw ...
1
vote
1answer
143 views

Loop through table for boxplot prepared

I am trying to produce figure with 2 boxplot prepared plots from an inline data file. I grabbed this code from here to use as a starting point. Given that the wrapper code allows the boxplot data to ...
3
votes
0answers
133 views

Barchart, Boxplot Data Table PGF Math Errors from mixed format inline data

My code for a horizontal bar chart with a summarizing boxplot is coming together, but I still have a nagging PGF Math problem if I try to plot the boxplot values, which are commented out at the bottom ...
2
votes
1answer
236 views

How can several boxplots be combined into a single figure as groups?

Currently I have the following MWE: \documentclass[a4paper]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{external,colormaps,groupplots,statistics} \pgfplotsset{compat=1.8} \usepackage{tikz} ...
3
votes
0answers
95 views

My boxplot draws but the coordinates are NaN when I try to label the plot

I have been slowly getting my barchart with a boxplot to come together. My current project is to label the whiskers, quartiles and median. Using examples from the manual, no label is printed. This is ...
2
votes
1answer
416 views

Pgfplots 1.10 boxplot style options

I have been trying to add boxplots to my barcharts and I've finally got some where. After many hours of tearing through these forums and their examples and exhausting the PGFPLOTS 1.10 Manual I got ...
4
votes
1answer
565 views

Change boxplot style

I'm following this PGFPLOTS manual. At first I was enthusiastic with it. However I'm finding some difficulties on doing even basic things. Now I'm trying to change boxplot style. Up to now I wrote ...
8
votes
2answers
839 views

Problems with whiskers and outliers in boxplot

I'm trying to reproduce a boxplot from MATLAB using LaTeX. Unfortunately boxplot seems unable to draw outliers and also whiskers have some problems, see figure. The first two boxes seem to have ...
2
votes
1answer
405 views

pgfplots: How to change color of boxplot?

How is it possible to change the color of a boxplot from pgfplots? Black would be wounderful! Here is an MWE: \documentclass{scrartcl} \usepackage{pgfplots} \usepgfplotslibrary{statistics} ...
2
votes
0answers
408 views

LaTeX Box plot drawing using pgfplots [closed]

Two issues I have in the following code. I want to put the box in the middle of the line and I like to show the for the maximum value. Any suggestion will be appreciate. Thanks. ...
3
votes
1answer
407 views

Two boxplots per plot entry - shifting boxplots in pgfplots

I'm trying to compare the results of a control group and an experimental group under different conditions. To simplify, let's assume there is only one condition (ie. only one mark along the x axis ...
5
votes
2answers
443 views

Plotting R boxplots with pgfplots

I use quite a number of boxplots in my writing, and have chosen pgfplots as my plotting solution for a number of reasons (one of which is the benefit of having the data to build the plot in the tex ...
0
votes
1answer
61 views

How to change the endpoints of a picture in Latex but still keep the same length?

I am trying to make a table in LaTeX with 2 columns and 10 rows. Each row represents a different city and each column will represent a parameter. In each column I want to draw the mean and the ...
3
votes
1answer
278 views

pgfplots - box plots min and max x-values

Im using the following code from pgfplots to create box plots: \begin{tikzpicture} \begin{axis} [ ytick={1}, yticklabels={}, y=0.7cm ] \addplot+[boxplot] table[row sep=\\, ...
6
votes
1answer
444 views

Axes for notched box plots from data files

I am trying to create notched box plots similar to those shown in the picture from data files. I have managed code that creates the box plots with notches like I want (the code below without the ...
1
vote
0answers
187 views

pgfplot Boxplot How to change the thickness of median [closed]

Is there a way to change the thickness of median line in box plot. I am using the code given in Pgfplot : change the distance between 2 adjacent boxes in box plot
7
votes
1answer
443 views

Pgfplot : change the distance between 2 adjacent boxes in box plot

Hi I want to change the distance between 2 adjacent boxes in boxplot. I am using following code. What should I change in code to get it similar to as desirable diagram \begin{filecontents}{lmpqd.dat} ...
7
votes
1answer
611 views

Read boxplot prepared values from a table

Update: Is there any possibility of drawing two box plots this way using a single datatable as in the updated MWE below? I'm trying to use pgfplots 1.8's shiny new boxplot feature. As I am also ...
5
votes
1answer
591 views

pgfplots - draw boxplot without outliers

I am creating a boxplot with pgfplots, using the builtin statistics library. I load the input data from a table file. \usepackage{pgfplots} \usepgfplotslibrary{statistics} ... \begin{tikzpicture} ...
9
votes
1answer
4k views

Boxplot in LaTeX

I am new to LaTeX. How can I draw a boxplot in LaTeX. My data set is as below index median box_top box_bottom whisker_top whisker_bottom 0 1 1.2 0.4 1.5 0.2 1 2 2.3 1.5 2.7 1 2 0.7 1.4 0.5 1.9 0.1 ...
17
votes
1answer
2k views

Simpler boxplots in pgfplots - is this possible?

When I wanted to plot boxplots in pgfplots, I started using the solution proposed by Jake in the question linked to above. However, as I wanted to plot more than one set of boxplots in the same figure ...
3
votes
1answer
989 views

PGFplots and boxplots: How to tune width and separation of boxes?

I would like to use pgfplots to draw boxplots. This minimal example works fine for me. But I would like to display more data in this form \begin{filecontents}{testdata.dat} 0 1 1.2 0.4 1.5 0.2 1 2 ...
4
votes
1answer
1k views

Box plots with symbolic x coords

I'd like to use box plots with pgfplots. As an additional feature, I'd want my x coordinates to be symbolic. Currently, only the last line from the file data/gp.dat is plotted. It works fine, if I use ...
4
votes
1answer
599 views

Having difficulty with pstricks box plot, psaxes, pspicture

a TeX noob here. I wish to plot performance test results once every two weeks (or sooner) displaying a 2 week window. I saw a similar question: Can I use pgfplots to make a boxplot and the following ...
4
votes
2answers
2k views

Set a colormap to fill a bar plot using pgfplots

I'm trying to change the default color of the bar plot with a a colormap without success. The thing is that I don't like the default color sequence. However, I was wondering if there is a way of ...
6
votes
2answers
10k views

How to plot f(x)=sin(x), k(x)=cos(x) and u(x)=x² with TikZ

How can we plot the following three functions f(x) = sin(x) k(x) = cos(x) u(x) = x² for x ∈ [0,1] on a single plot with the help of TikZ?
20
votes
5answers
7k views

Can I use pgfplots to make a boxplot

My current plotting tool for my papers is pgfplots for nice consistent plots. Now I would like to add a boxplot. Is this possible with help of pgfplots, or any helper package?