In Python, with Matplotlib, how can a scatter plot with empty circles be plotted? The goal is to draw empty circles around some of the colored disks already plotted by scatter(), so as to highlight them, ideally without having to redraw the colored circl...

Asked By Eric O Lebigot

In Python, with Matplotlib, how can a scatter plot with empty circles be plotted? The goal is to draw empty circles around some of the colored disks already plotted by scatter(), so as to highlight them, ideally without having to redraw the colored circl...

Asked By Eric O Lebigot

In Python, with Matplotlib, how to simply do a scatter plot with transparency (alpha < 1), but with a color bar that represents their color value, but has alpha = 1?
Here is what one gets, with from pylab import *; scatter(range(10), arange(0, 100, 10...

Asked By Eric O Lebigot

In Python, with Matplotlib, how to simply do a scatter plot with transparency (alpha < 1), but with a color bar that represents their color value, but has alpha = 1?
Here is what one gets, with from pylab import *; scatter(range(10), arange(0, 100, 10...

Asked By Eric O Lebigot

I created a very simple scatter plot using pylab.
pylab.scatter(engineSize, fuelMile)
pylab.show()
The rest of the program isn't worth posting, because it's that line that's giving me the problem. When I change "scatter" to "plot" it graphs the data, b...

Asked By user212562

I've written a script to compute large csv files in dimensions: 27000 rows x 22 column.
How can I read in the CSV file in order to use it in matplotlib in a scattered plot like the one in this thread?
axis range in scatter graphs
The concept of generat...

Asked By Daniyal

I have a set of data that I want to show as a scatter plot. I want each point to be plotted as a square of size dx.
x = [0.5,0.1,0.3]
y = [0.2,0.7,0.8]
z = [10.,15.,12.]
dx = [0.05,0.2,0.1]
scatter(x,y,c...

Asked By Brian

I have a set of data that I want to show as a scatter plot. I want each point to be plotted as a square of size dx.
x = [0.5,0.1,0.3]
y = [0.2,0.7,0.8]
z = [10.,15.,12.]
dx = [0.05,0.2,0.1]
scatter(x,y,c...

Asked By Brian

I'm trying to graph two types of plots in the same window (i.e. a line plot, and a scatter plot). The data being plotted in the line graph (first plot) are floating numerical values representing climate indices (Y) vs. decimal years (X). The second plot t...

Asked By hdevs

I have been using the code below to plot the time spent to run 4 functions. The x axis represents the number of executions whereas the y axis represents the time spent
running a function.
I was wondering if you could help me accomplish the following:
...

Asked By Mark

I have been using the code below to plot the time spent to run 4 functions. The x axis represents the number of executions whereas the y axis represents the time spent
running a function.
I was wondering if you could help me accomplish the following:
...

Asked By Mark

I would like to know how to make matplotlib's scatter function colour points by a third variable.
Questions
gnuplot linecolor variable in matplotlib? and Matplotlib scatterplot; colour as a function of a third variable
posed similar queries, however, the...

Asked By user1082930

I would like to know how to make matplotlib's scatter function colour points by a third variable.
Questions
gnuplot linecolor variable in matplotlib? and Matplotlib scatterplot; colour as a function of a third variable
posed similar queries, however, the...

Asked By user1082930

Does anyone know a way to bring a scatter plot to the foreground in matplotlib? I have to display the scatter plotting on top of the contour, but by default it is plotted underneath...
Thanks in advance!

Asked By Mike

I want to make a scatterplot (using matplotlib) where the points are shaded according to a third variable. I've got very close with this:
plt.scatter(w, M, c=p, marker='s')
where w and M are the datapoints and p is the variable I want to shade with res...

Asked By Thomas Collett

I want to make a scatterplot (using matplotlib) where the points are shaded according to a third variable. I've got very close with this:
plt.scatter(w, M, c=p, marker='s')
where w and M are the datapoints and p is the variable I want to shade with res...

Asked By Thomas Collett

How can I create a 3D plot with a color gradient for the points? See the example below, which works for a 2D scatter plot.
Edit (thanks to Chris): What I'm expecting to see from the 3D plot is a color gradient of the points ranging from red to green as i...

Asked By andrea.ge

How can I create a 3D plot with a color gradient for the points? See the example below, which works for a 2D scatter plot.
Edit (thanks to Chris): What I'm expecting to see from the 3D plot is a color gradient of the points ranging from red to green as i...

Asked By andrea.ge

How can I combine a 3D scatter plot with a 3D surface plot while keeping the surface plot transparent so that I can still see all the points?

Asked By user2136765

I am dealing with a multi-column dictionary. I want to plot two columns and subsequently change color and style of the markers according to a third and fourth column.
I struggle with changing the marker style in the pylab scatter plot. My approach, which...

Asked By Krn