About 158,000 results
Open links in new tab
  1. python - how to plot xy coordinates for unique row values and …

    Mar 24, 2022 · how would i plot the xy coordinates for each unique animal? i was trying stuff with .groupby and .unique (not working). i'm able to plot the scatter plot with: plt.scatter(df[['x']], df[['y']])

  2. How to Plot List of X, Y Coordinates in Matplotlib?

    Dec 17, 2020 · In this article, we will see how we can add gridlines to a matplotlib graph and various configurable parameters that can be used in Python. Example: Â Create a matplotlib …

  3. 5 Best Ways to Show Point Coordinates in a Plot in Python Using Matplotlib

    Mar 6, 2024 · The annotate() function in Matplotlib allows you to add text annotations to points on a plot. It takes parameters such as the text to display, and the xy coordinate which represents …

  4. Pyplot tutorial — Matplotlib 3.10.3 documentation

    matplotlib.pyplot is a collection of functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure: e.g., creates a figure, creates a plotting area in a …

  5. Showing Points Coordinate in a Plot in Python Matplotlib

    Feb 2, 2022 · To show points coordinate in a plot in Python, we can take the following steps −. Set the figure size and adjust the padding between and around the subplots. Initilize a variable …

  6. python - How I can get cartesian coordinate system in matplotlib ...

    Feb 8, 2017 · To get annotations, it is probably best to use the adjustText package or an interactive graphing library such as Plotly. This is an old question, but I think with today's …

  7. Python: plot Cartesian coordinate systems with points

    Sep 16, 2020 · This one is for O.S., one of my readers who asked if there are any ways to quickly plot points on a graph based on their x and y values. Full working GitHub code is here. If you …

  8. Plotting a List of (x, y) Coordinates in Matplotlib in Python 3

    By using the plot() function, we can easily plot a list of (x, y) coordinates. We can also customize the style of the plot by specifying parameters such as color, linestyle, and marker. With …

  9. Plotting Coordinates in Basemap with Matplotlib - Python

    In this tutorial, we're going to cover how to plot single coordinates, as well as how to connect those coordinates in your geographic plot. First, we're going to start with some basic starting …

  10. matplotlib.pyplot.plot — Matplotlib 3.10.3 documentation

    The coordinates of the points or line nodes are given by x, y. The optional parameter fmt is a convenient way for defining basic formatting like color, marker and linestyle. It's a shortcut …

Refresh