boxplot Questions

1

Solved

I would like to make a boxplot using two data sets. Each set is a list of floats. A and B are examples of the two data sets A = [] B = [] for i in xrange(10): l = [random.random() for i in xrang...
Pongee asked 25/4, 2017 at 13:54

2

Solved

I am using seaborn and want to generate a box plot where all boxes have the same color. For some reason seaborn uses different colors for each box and doesn't have an option to stop this behavior a...
Alas asked 15/4, 2017 at 5:57

1

Solved

According to the documentation, the Axes.boxplot function takes a dictionary flierprop as argument to define the properties of the outliers. Unfortunately, I can't find the documentation concerning...
Grain asked 11/4, 2017 at 9:53

2

Solved

Some time ago I asked a question about drawing boxplot Link1. I have got some data with 3 different groups (or labels) Please down load here. I can use the following R codes to get the boxplot li...
Isidroisinglass asked 25/3, 2015 at 17:56

2

Solved

I have some score data from a game I'm playing with friends, it looks like: df = pd.DataFrame({'Player' : ['A', 'B', 'C', 'D', 'E'], 'Score1' : [100, 150, 110, 180, 125], 'Score2' : [200, 210,...
Meit asked 24/3, 2017 at 2:38

1

Solved

For the following dataframe (df), ColA ColA_weights ColB ColB_weights 0 0.038671 1073 1.859599 1 1 20.39974 57362 10.59599 1 2 10.29974 5857 2.859599 1 3 5.040000 1288 33.39599 1 4 1.040000 1064 ...
Displume asked 1/5, 2014 at 16:59

2

Solved

I have a data which can be divaded via two seperators. One is year and second is a field characteristics. box<-as.data.frame(1:36) box$year <- c(1996,1996,1996,1996,1996,1996,1996,1996...
Bresnahan asked 20/1, 2017 at 13:26

1

Solved

%matplotlib inline fig, axes = plt.subplots(nrows=2, ncols=4) m = 0 l = 0 for i in k: if l == 4 and m==0: m+=1 l = 0 data1[i].plot(kind = 'box', ax=axes[m,l], figsize = (12,5)) l+=1 This ou...
Antalkali asked 15/1, 2017 at 8:22

1

Solved

I would like to mark the outlier that appears on my chart writing where it is. Is this possible with plotly? The code of my graph is here: library(plotly) set.seed(1234) plot_ly(y = rnorm(50), t...
Agentive asked 11/1, 2017 at 18:47

1

I have a simple boxplot for my data using R .. boxplot (Error~Code, DataFrame1, xlim = c(0, 27), xlab="set Code",ylab="Error", boxwex=0.75, cex.axis=0.3) and I would like to draw a transparent...
Zomba asked 5/8, 2013 at 10:38

3

Solved

Say I have an array with values like: $values = array(48,30,97,61,34,40,51,33,1); And I want the values to be able to plot a box plot like follows: $box_plot_values = array( 'lower_outlier' =&...
Alo asked 6/10, 2013 at 14:42

5

Solved

Is there a way to create a boxplot in R that will display with the box (somewhere) an "N=(sample size)"? The varwidth logical adjusts the width of the box on the basis of sample size, but that does...
Tomblin asked 14/8, 2010 at 12:12

1

Solved

I have created a boxplot using ggplot2: library(ggplot2) dat <- data.frame(study = c(rep('a',50),rep('b',50)), FPKM = c(rnorm(1:50),rnorm(1:50))) ggplot(dat, aes(x = study, y = FPKM)) + geo...
Laundryman asked 19/10, 2016 at 15:6

3

Solved

We can draw box plot as below: qplot(factor(cyl), mpg, data = mtcars, geom = "boxplot") and point as: qplot(factor(cyl), mpg, data = mtcars, geom = "point") How would you combine both - but ...
Inexpedient asked 13/2, 2012 at 4:48

3

Solved

I create a boxplot as bellow import seaborn as sns sns.set_style("whitegrid") tips = sns.load_dataset("tips") ax = sns.boxplot(x=tips["total_bill"]) & try to save sns.boxplot.savefig('ax.pn...
Katleen asked 7/3, 2016 at 9:18

1

I am creating a histogram in Seaborn of my data in a pretty standard way, ie: rc = {'font.size': 32, 'axes.labelsize': 28.5, 'legend.fontsize': 32.0, 'axes.titlesize': 32, 'xtick.labelsize': 31,...
Subdebutante asked 29/8, 2016 at 6:53

1

I want to be able to reorder the x-axis of a boxplot in ggplot by the mean of each of the groups. For example, if I have this data frame: L3 <- LETTERS[1:3] fac <- sample(L3, 50...
Matronize asked 25/8, 2016 at 19:50

3

Solved

I'd like to use R to make a series of boxplots which are sorted by median value. Suppose then I execute: boxplot(cost ~ type) This would give me some boxplots were cost is shown on the y axis an...
Humorous asked 22/9, 2010 at 2:39

4

Solved

I have a dataset (test) as given below: Type Met1 Met2 Met3 Met4 TypeA 65 43 97 77 TypeA 46 25 76 77 TypeA 44 23 55 46 TypeA 46 44 55 77 TypeA 33 22 55 54 TypeB 66 8 66 47 TypeB 55 76 66 65 TypeB ...
Considering asked 30/1, 2013 at 16:6

1

Solved

I'm using boxplot() in R. My code is: #rm(list=ls()) #B2 fps_error <- c(0.058404273, 0.028957446, 0.026276044, 0.07084294, 0.078438563, 0.024000178, 0.120678965, 0.081774358, 0.025644741, 0.0...
Divertissement asked 7/7, 2016 at 14:20

1

Solved

I have some data that is sitting in a python dictionary of lists. How can I use the keys from the dictionary as category labels for this boxplot? Here is a sample of the dictionary, plot_data: pl...
Interrex asked 1/6, 2016 at 18:25

1

Solved

I'm looking for suggestions on how to add significance bars between boxes on a box plot and also have asterisks representing significance. I am using seaborn to create plots and I couldn't fi...
Kloman asked 8/6, 2016 at 15:56

1

Solved

I have the following dataframe that I generated using pivot_table: and I'm using the following code to boxplot the multiple columns: fig = plt.figure() for i in range(0,25): ax = plt.subplot(...
Backward asked 13/6, 2016 at 22:3

1

Solved

I want to annotate mean of each boxplot using ggplot2. However, I could not figure out how to horizontally center the symbols marking the means within their respective boxes (see image below). MWE...
Pussy asked 11/6, 2016 at 13:33

1

I would like to create a boxplot with ggplot2 from a dataset densityAGRLKA with 3 categorical variables (species, location, position) on the x-axis. The following function: ggplot(densityAGRLKA,...
Maggiore asked 1/5, 2016 at 15:45

© 2022 - 2024 — McMap. All rights reserved.