
python - How to remove xticks from a plot - Stack Overflow
How to remove xticks from a plot Asked 13 years, 2 months ago Modified 1 year, 9 months ago Viewed 843k times
python - How to plot multiple functions on the same figure - Stack …
167 How can I plot the following 3 functions (i.e. sin, cos and the addition), on the domain t, in the same figure?
python - surface plots in matplotlib - Stack Overflow
I have evenly spaced data that is in 3 1-D arrays instead of the 2-D arrays that matplotlib 's plot_surface wants. My data happened to be in a pandas.DataFrame so here is the matplotlib.plot_surface …
python - How to add hovering annotations to a plot - Stack Overflow
I am using matplotlib to make scatter plots. Each point on the scatter plot is associated with a named object. I would like to be able to see the name of an object when I hover my cursor over the p...
python - How to make two plots side-by-side - Stack Overflow
import matplotlib.pyplot as plt import matplotlib import seaborn as sns sns.set_style("darkgrid") %matplotlib inline #15 by 15 size set for entire plots plt.figure(figsize=(15,15)); #Set rows variable to …
python - How do I plot in real-time in a while loop? - Stack Overflow
I am trying to plot some data from a camera in real time using OpenCV. However, the real-time plotting (using matplotlib) doesn't seem to be working. I've isolated the problem into this simple exa...
python - Multiple datasets on the same scatter plot - Stack Overflow
Although accepted answer works good but with matplotlib version 2.1.0, it is pretty straight forward to have two scatter plots in one plot without using a reference to Axes
python - Setting different color for each series in scatter plot ...
from matplotlib import pyplot as plt plt.scatter(X,Y1,color='red') plt.scatter(X,Y2,color='blue') plt.show() How can I do this with 10 sets? I searched for this and could find any reference to what I'm asking. …
python - How to set the axis limits in Matplotlib? - Stack Overflow
I need help with setting the limits of y-axis on matplotlib. Here is the code that I tried, unsuccessfully. import matplotlib.pyplot as plt plt.figure (1, figsize = (8.5,11)) plt.suptitle ('plot tit...
python - How to plot a single point in matplotlib - Stack Overflow
31 matplotlib.pyplot.plot and matplotlib.axes.Axes.plot plots y versus x as lines and/or markers. ax.plot(105, 200) attempts to draw a line, but two points are required for a line plt.plot([105, 110], …