Top "Scatter-plot" questions

A scatter plot is a type of data visualization that reveals possible correlations between two variables.

How to add a diagonal line to a plot?

I want to add a diagonal line to the plot. It is not a linear regression line. I just want …

r ggplot2 line scatter-plot
Scatterplot: Error in FUN(X[[i]], ...) : object 'Group' not found

I'm trying to plot some data using ggplot and I'm having some problems with the significant lines and asterisk. This …

r ggplot2 scatter-plot
Matplotlib: Scatter Plot to Foreground on top of a Contour Plot

Does anyone know a way to bring a scatter plot to the foreground in matplotlib? I have to display the …

python matplotlib scatter-plot scatter
connecting points with lines in ggplot2 in r

Here is my data: mydata <- data.frame (grp = c( 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,2, 2, 2,2, 2, 2, 2, 2), grp1 = c("A", "A", "A", "A", "A", "B", "B", "…

r ggplot2 line scatter-plot segment
Adding y=x to a matplotlib scatter plot if I haven't kept track of all the data points that went in

Here's some code that does scatter plot of a number of different series using matplotlib and then adds the line …

python matplotlib plot scatter-plot
Multivariate (polynomial) best fit curve in python?

How do you calculate a best fit line in python, and then plot it on a scatterplot in matplotlib? I …

python matplotlib machine-learning regression scatter-plot
matplotlib scatter plot with different markers and colors

I would like to make a plot with different markers and different colors according to the values of 2 external vectors. …

python matplotlib scatter-plot
Matplotlib 3D Scatter Plot with Colorbar

Borrowing from the example on the Matplotlib documentation page and slightly modifying the code, import numpy as np from mpl_…

python 3d matplotlib scatter-plot
Any easy way to plot a 3d scatter in Python that I can rotate around?

Currently I'm using matplotlib to plot a 3d scatter and while it gets the job done, I can't seem to …

python charts matplotlib scatter-plot
How to make Matplotlib scatterplots transparent as a group?

I'm making some scatterplots using Matplotlib (python 3.4.0, matplotlib 1.4.3, running on Linux Mint 17). It's easy enough to set alpha transparency for …

python matplotlib transparency scatter-plot