Skip to main content

Questions tagged [dot-plot]

The tag has no usage guidance.

0 votes
1 answer
29 views

Variable legend outlined in appropriate color, but filled with black dot

I have used ggplot in R to generate a dot plot with three "samples" (Adipocytes, BAT and WAT) which are colored by ""group". The plot is correct, but the "group" ...
Numbahs84's user avatar
0 votes
0 answers
46 views

Adding a regression line to a dotplot, or stacking overlapping points horizontally without dotplot

I'm trying to create a graph which shows the regression line and of this data and meaningfully shows the individual points. If I keep the x axis data as numeric and use a scatter plot, the graph looks ...
quinfog's user avatar
  • 43
0 votes
2 answers
53 views

How do I split and modify the dotplot of a multiple mixed effects model in R

I have the following script in R 4.3.1, this isnt the complete script but just the relevant parts: library(lme4) library(lmerTest) library(ggplot2) library(lattice) library(RColorBrewer) MEDE.fin <...
EdWidarson's user avatar
0 votes
1 answer
44 views

make a dotplot of differences in variables

I cant figure out how to plot the difference between two variables, female and male, I want to make a dotplot of female - male. my attempts so far are: MyData$earn_diff <- MyData$female - MyData$...
Sam Fallan's user avatar
0 votes
0 answers
93 views

geom_dotplot spacing between dodged groups

I am created a dodged dotplot in R and would like to even the space between the categories within each group. All the time of day groups have four bars of dots in each, with the exception of the ...
user20934000's user avatar
1 vote
1 answer
37 views

dodging dots with geom_dotplot() if number of dots exceeds n for an x value

This is my dataframe: DF <- structure(list(pub_year = c(2022, 2023, 2022, 2022, 2021, 2023, 2019, 2022, 2022, 2022, 2022, 2023, 2019, 2020, ...
anpami's user avatar
  • 848
0 votes
1 answer
65 views

how to show SE along with dots in a dot plot in Stata

I want to make a dot plot with showing mean and SE in the plot in Srara. But, I am not able to make the SEs in graph. Anyone has any example code to do that? I have a continuous value in the y-axis ...
niko's user avatar
  • 1
0 votes
0 answers
515 views

Warning: Scaling data with a low number of groups may produce misleading results

When I reduce the number of identity in DotPlot the script return the following warning: "Warning: Scaling data with a low number of groups may produce misleading results" I use this command:...
ASN's user avatar
  • 11
0 votes
0 answers
110 views

Decrease font size of y axis on R software code

I am using the following code for dot plot.I have to write name of Indian states in y axis. but I am unable to control the font size. dotchart(data, xlim = c(0, 1), pch = 20, col=c("darkblue"...
Sangeeta Nath's user avatar
0 votes
0 answers
444 views

Dotplot of enrichGO results with All of the Ontology terms on same plot for comparison arranged on the basis of the category

I want to create such a dotplot with dotplot of clusterprofiler. Here you can see that the Ontology terms are arranged on same plot with labels at the left of the plot. I was wondering if this can be ...
Saleh Sarwar's user avatar
1 vote
1 answer
122 views

Frequency plot using dots instead of bars?

I'm trying to create the chart in this question, using this answer. I'm open to any solution that works. Visual borrowed from original question: Difference from that question is I've already ...
Programming_Learner_DK's user avatar
0 votes
1 answer
109 views

How can I make a 4-column scatter/dot plot on R?

I want to make a scatter/dot plot with four different groups of data. My groups are MA-H2o, MA-Cu, OA-H2o, and OA-Cu. I found a previous answer here and made each group into its own separate data set/...
Confused student's user avatar
0 votes
2 answers
120 views

How to reorder a dot plot in R

I have this dataset on the percentage of individuals who own a car in five different cities between 1992 and 1999: city <- c("A", "A", "B", "B", "F"...
Santiago99's user avatar
1 vote
1 answer
72 views

How can I make stacked dot plots using a facet in GGplot2? R

I am trying to stack dot plots using a facet in GGplot2. My first dot plot: plot1 <- ggplot(marathon, aes(x = MarathonTime, y = first_split_percent)) + geom_point() plot1 My second: plot2 <- ...
Garrett's user avatar
  • 43
0 votes
2 answers
66 views

Automatic break after n-dots in geom_dotplot-function in ggplot in R

I have got a problem in managing multiple observations in the geom_dotplot-function due to overlap between different groups: v1 <- c(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,...
StatNewbie's user avatar

15 30 50 per page