# Python code snippet – How to scatter plot in matplotlib of two sets?

import matplotlib.pyplot as plt fig = plt.figure() ax1 = fig.add_subplot(111) ax1.scatter(x1, y1, s = 10, c = 'b', label = 'elbow') ax1.scatter(x2, y2, s = 10, c = 'r', label = 'shoulder') plt.legend(loc='upper left'); plt.show()

### Curly hair, very fair, please share 🙂

*Related*

2 different scatter plots in one graph python, add 2 scatter in plot plotly python, add multiple scatter plots in 1 figure, add multiple scatter plots in 1 figure plotly, combine scatter plots python, compare 2 data in the same plot matplotlib, create multiple scatter plot, create multiple scatter plot in subplot, how to add multiple scatter in matplotlib, how to add multiple scatter plots together on matlpot, how to add multiple scatter plots together on matlpot on the same figurew, how to add two scatter plots in py, how to combine multiple scatter plots in python, how to combine two scatter plots in python, how to create a scatter plot of multiple arrays matplotlib, how to do 2 scatter plots in python, how to draw scatter plot for multiple columns in matplotlib, how to draw scatter plot in python for multiple variables, how to draw two scatter plots in python, how to make a scatter plot with multiple features in python, how to make multiple different scatter plot in matplotlib, how to make multiplot scatter python, how to make scatter plot in python multiple features, how to plot 2 scatter plots on the same graph python, how to plot a scatter plot and a graph on the same graph python, how to plot matplotlib scatter on same graph, how to plot multiple scatter data in a singl plot, how to plot multiple scatter plot in python, how to plot multiple scatter plots for dataframe, how to plot multiple scatter plots in python, how to scatter plot in matplotlib of two sets, make two categories on scatter plots in ggplot2, matplotlib multiple datasets on the same subplot, matplotlib multiple labels in one scatter, matplotlib multiple scatter graph, matplotlib multiple scatter plot, matplotlib multiple scatter plots, matplotlib multiple scatter plots on same graph, matplotlib plot 2 datasets, matplotlib plot a scatter on a multiple plot, matplotlib plot multiple data sets, matplotlib plotting 2 scatters on the same graph, matplotlib plotting scatter plot 2 classes, matplotlib scatter multiple labels, matplotlib scatter multiple series, matplotlib scatter plot multiple columns, matplotlib scatter plot multiple series, matplotlib two scatter plots, multi scatter plot python, multiple arrays on a scatter plot matplotlib, multiple dataset same 3d plot scatter plot, multiple scatter plot matplotlib, multiple scatter plot on the same graph python, multiple scatter plot python, multiple scatter plot python plotly, multiple scatter plots, multiple scatter plots in multiple figure python, multiple scatter plots in one figure python, multiple scatter plots in python, multiple scatter plots in python pandas, multiple scatter plots in python plotly, multiple scatter plots in python same graph, multiple scatter plots in the same axis, multiple scatter plots on one scatter plot, multiple scatter plots pandas, multiple scatter plots with pandas, multiple scatterplot python, multiple scatterplot using funcion, multiple scatterplots in python, multiple y axes in scatter plot, one scatter plot multiple datasets python, pandas plot multiple scatter, plot 2 scatter sub plots in python, plot multiple barplots python, plot multiple data sets on same graph matplotlib, plot multiple scatter in same graph python using function, plot multiple scatter plots in python, plot multiple scatter plots matplot lib, plot multiple scatter plots pandas, plot scatter python multiple arrays, plot two scatter plot python, plot with multiple scatters, plotly multiple scatter plots in one figure, plotly python multiple plots, plotting multiple datasets into single plot, plotting multiple scatter graphs in python, plotting multiple scatter plots in plotly python, plotting multiple scatter plots in python, plotting multiple scatter plots in python side by side, plt scatter in same plot, plt,scatter multiple plot in a plot, plt.scatter multiple plots, plt.scatter multiple plots of one dataframe, put several scatter plot into one figure matplotlib, pyplot multiple scatter plots, python build multiple in one scatter plot, python layer multiple scatter plots, python matplotlib multiple scatter plots, python matplotlib plot multiple scatter plots, python multiple features scatter plot, python multiple scatter, python multiple scatter plots, python multiple scatter plots in one figure, python multiple xy plot, python plot multiple, python plot multiple scatter plot, python plot multiple scatter plot seaborn, python plot multiple scatter plots, python plot multiple scatter plots in same chart, python plot multiple scatter plots in same figure, python plot two curves, python plot two series scatter, python scatter plot multiple don't show up, python scatter plot multiple features, python two scatter plots one graph r, scatter plot 2 values python, scatter plot for multiple variables in python, scatter plot multiple labels python, scatter plot multiple scatters, scatter plot multiple variables python, scatter plot of multiple variables in python, scatter plot puthon multiple variables, scatter plot python multiple variables, scatter plot python muntiple, scatter plot python program for multiple graphs, scatter plot with 2 axes, scatter plot with multiple data sets python, scatter plot with multiple variables python, scatter plots in multiple variable in python, three scatter plot with same axis python, two axes scatter plot, two scatter plots one graph python, two scatter plots python, two separate scatter plot python