About 2,090,000 results
Open links in new tab
  1. How to plot a single point in matplotlib - Stack Overflow

    How to plot a single point in matplotlib Asked 10 years, 8 months ago Modified 1 year, 3 months ago Viewed 234k times

  2. python - Plotting a list of (x, y) coordinates - Stack Overflow

    192 I have a list of pairs (a, b) that I would like to plot with matplotlib in python as actual x-y coordinates. Currently, it is making two plots, where the index of the list gives the x-coordinate, …

  3. python - How to plot multiple pandas columns - Stack Overflow

    How to plot multiple pandas columns Asked 7 years, 10 months ago Modified 1 year, 4 months ago Viewed 116k times

  4. python - plot a circle with Matplotlib.pyplot - Stack Overflow

    surprisingly I didn't find a straight-forward description on how to draw a circle with matplotlib.pyplot (please no pylab) taking as input center (x,y) and radius r. I tried some variants of this:

  5. Save plot to image file instead of displaying it - Stack Overflow

    When using matplotlib.pyplot, you must first save your plot and then close it using these 2 lines: fig.savefig('plot.png') # save the plot, place the path you want to save the figure in quotation

  6. 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 …

  7. Dynamically updating plot in matplotlib - Stack Overflow

    Jun 8, 2012 · Dynamically updating plot in matplotlib Asked 13 years, 4 months ago Modified 2 years, 6 months ago Viewed 331k times

  8. 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 …

  9. How do I change the size of figures drawn with Matplotlib?

    So in case you are using plt.plot() for example, you can set a tuple with width and height. import matplotlib.pyplot as plt plt.rcParams["figure.figsize"] = (20,3) This is very useful when you plot …

  10. How to plot multiple functions on the same figure - Stack Overflow

    How can I plot the following 3 functions (i.e. sin, cos and the addition), on the domain t, in the same figure? import numpy as np import matplotlib.pyplot as plt t = np.linspace(0, 2*np.pi, 400) ...