boxplot Questions

3

Solved

I have read different posts like this and this but my problem has a small variation. I have a df like this ID <- c("DJ45","DJ46","DJ47","DJ48","DJ49","DJ53","DJ54","DJ55","DJ56","DJ57") Tool &...
Dorothi asked 19/8, 2015 at 18:52

3

Solved

I'm trying to make a similar plot to Fig. 2d-f in an article published on Nature this year. It's basically a half boxplot with points on the other half. Can anyone give me some hints? Thank you ve...
Chryselephantine asked 27/2, 2018 at 8:4

2

Solved

I have been having issues with what seems to be a simple thing to do: grouped boxplots with a continuous x axis. Here is come minimal data data: df <- cbind(expand.grid(x=1:10, rep=1:20, fill=...
Rejoinder asked 14/7, 2017 at 10:43

3

Solved

I need to do a boxplot (in Python and matplotlib) but I do not have the original "raw" data. What I have are precalculated values for max, min, mean, median and IQR (normal distribution) ...
Collogue asked 14/5, 2014 at 13:13

2

How can I increase the space between two specefic boxes in a seaborn boxplot? In the tips dataset, how can i modify the spacing between Sat and Sun without affecting the other boxes. I already incl...
Mead asked 29/6, 2018 at 15:38

2

I have xy data that I'd like to plot using R's ggplot: library(dplyr) library(ggplot2) set.seed(1) df <- data.frame(group = unlist(lapply(LETTERS[1:5],function(l) rep(l,5))), x = rep(1:5,5), ...
Landsman asked 25/7, 2019 at 0:14

2

Solved

Why pandas has two funcitons for Boxplot : pandas.DataFrame.plot.box() and pandas.DataFrame.boxplot() ? df = pd.DataFrame(np.random.rand(10, 5), columns=['A', 'B', 'C', 'D', 'E']) df.plot.box() ...
Plumbism asked 28/12, 2018 at 22:40

2

Solved

Is there a way to extract all outliers after plotting a Seaborn Boxplot? For example, if I am plotting a boxplot for the below data client total 1 LA 1 2 Sultan 128 3 ElderCare 1 4 CA 3 5 More 90...
Burmeister asked 12/12, 2018 at 3:24

1

Solved

I am trying to connecting the median values of a boxplot using ggplot2, but the lines are not in the correct positions. Here is the code I used. library(datasets) library(ggplot2) data(airqualit...
Spears asked 15/7, 2019 at 16:0

6

I have the code that creates a boxplot, using ggplot in R, I want to label my outliers with the year and Battle. Here is my code to create my boxplot require(ggplot2) ggplot(seabattle, aes(x=Por...
Isocline asked 4/11, 2015 at 14:41

3

One year of sample data: import pandas as pd import numpy.random as rnd import seaborn as sns n = 365 df = pd.DataFrame(data = {"A":rnd.randn(n), "B":rnd.randn(n)+1}, index=pd.date_range(start="2...
Moneychanger asked 13/3, 2017 at 10:6

3

I'm trying to plot a v. simple boxplot in ggplot2. I have species richness vs. landuse class. However, I have 2 NA's in my data. For some strange reason, they're being plotted, even when they're be...
Amateurism asked 17/6, 2013 at 11:17

1

Solved

Using the ToothGrowth dataset (built into R), I have used the following code. library(ggplot2) library(tidyverse) library(ggpubr) p <- ggboxplot(ToothGrowth, x = "supp", y = "len", color = "su...
Sitka asked 9/5, 2019 at 23:35

3

I've created a side-by-side boxplot using ggplot2. p <- ggplot(mtcars, aes(x=factor(cyl), y=mpg)) p + geom_boxplot(aes(fill=factor(cyl))) I want to annotate with min, max, 1st quartile, media...
Pender asked 24/6, 2016 at 19:28

4

I am trying to make two sets of box plots using Matplotlib. I want each set of box plot filled (and points and whiskers) in a different color. So basically there will be two colors on the plot My ...
Mensa asked 2/2, 2017 at 8:34

2

Solved

I'm very new to R so I apologise in advance if this is a very basic question. I'm trying to plot a graph showing discharge and suspended sediment load (SSL). However, I want to make it clear that ...
Migraine asked 20/3, 2019 at 5:20

2

Solved

I'm trying to save a pandas.DataFrame.boxplot variable to a image to use it with a Qt widget, but I don't know how to convert this variable. I have this code: import matplotlib.pyplot as plt from ...
Motheaten asked 29/5, 2017 at 14:12

3

I have columnar data set that I am plotting a series of box plots with, most similar to the setup in this example: Boxplot of table using ggplot2 require(reshape2) ggplot(data = melt(dd), aes(x=v...
Em asked 16/7, 2013 at 17:40

1

Solved

Simple question that I cannot seem to find the answer to. How do I change the color and shape of the mean indicator in a Seaborn Boxplot? It defaults to a Green Triangle and it generally difficu...
Enteron asked 10/1, 2019 at 16:27

1

Solved

I want to create a grouped boxplot with vertical grid lines in seaborn, i.e., at each tick, there should be a vertical line, just as in a regular scatter plot. Some example code: import matplotl...
Dutiful asked 21/12, 2018 at 21:47

1

Solved

Can somebody explain to me why I get a different number of outliers with the normal boxplot command and with the geom_boxplot of ggplot2? Here you have an example: x <- c(280.9, 135.9, 321.4, 3...
Whitleywhitlock asked 15/12, 2018 at 16:10

2

Solved

this is how looks like my dataframe: PART METHOD J P AVG STD 0 1 meth1 3 50 0.914482 0.007398 1 1 meth2 3 50 0.925134 0.005738 ... ... ... ... ... ... ... 190 4 meth4 7 150 0.913014 0.006144 191 ...
Bonaventura asked 13/12, 2018 at 17:56

1

Solved

Per default, for the lower, middle and upper quantile in geom_boxplot the 25%-, 50%-, and 75%-quantiles are considered. These are computed from y, but can be set manually via the aesthetic argument...
Madigan asked 8/12, 2018 at 16:33

2

Solved

I'm trying to make a grouped boxplot using Seaborn (Reference), and the boxes are all incredibly narrow -- too narrow to see the grouping colors. g = seaborn.factorplot("project_code",y="num_muta...
Sacci asked 26/6, 2015 at 0:30

2

Solved

I'm trying to generate a boxplot using seaborn with a different x groups, and additional hues. See this code: tips = sns.load_dataset("tips") sns.stripplot(x="day", y="tot...
Postcard asked 21/11, 2016 at 13:22

© 2022 - 2024 — McMap. All rights reserved.