All Questions
444 questions
1
vote
1
answer
81
views
Problems plotting timestamps on the x-axis with Matplotlib
I am working on a Python script that loads several CSV files containing timestamps and ping data and then displays them on a plot. The X-axis is supposed to display the timestamps in HH:MM format, ...
0
votes
1
answer
74
views
Annotating each point on the graph on a loop with matplotlib
I am trying to annotate each point the graphs on the loop with the country but can not figure out how to di it in a loop.
Here is the code:
import pandas as pd
import matplotlib.pyplot as plt
import ...
0
votes
1
answer
176
views
Plotting CSV datapoints as candlesticks
I'm trying to turn my tick csv data into 1min candle stick charts on matplotlib, I have two columns in the csv. ts_event (time) and price. here is what they look like. (2024-04-18 00:00:00+00:00, ...
0
votes
1
answer
61
views
Python matplolib, plotting value every 2H per day
I’m having trouble with plotting a certain way in python with matplotlib.
I’m making an interface where I’m receiving data from a chip, the data is then saved in csv format, one csv per day (name of ...
0
votes
1
answer
79
views
How do I create heatmap from csv file when csv file has multiple tables?
I am trying to convert readings from an IR sensor into a heatmap in python. I have converted the readings into a csv file using Arduino. The csv file contains multiple "tables" of values ...
0
votes
2
answers
71
views
Cannot draw a candlestick chart
I am trying to open the csv file and draw a candlestick chart, but an error occurs:
Traceback (most recent call last):
File "/media/shutruk/Data/projects/money/qwerty.py", line 28, in <...
0
votes
1
answer
22
views
Why is my matplotlibanimation not plotting on tkinter?
I am trying to animate stock prices from a csv file on a matplotlib graph and embed this onto tkinter. The issue is that I can't seem to get it to work with tkinter.
The issue I am having is that it ...
0
votes
1
answer
402
views
3D Matplotlib Scatter Plot Label When Hovering over data point
I am new to matplotlib/python in general and created a simple 3d scatterplot using matplotlib. I'm able to generate the scatter plot but now I want to have the names of each point show up when the ...
0
votes
1
answer
443
views
How can you automatically format dates on the x-axis using matplotlib? [duplicate]
I've been looking all over for a way to evenly space dates using Python 3 with matplotlib, and I haven't been able to find anything that would apply to just having a list of datetime objects.
I'm ...
1
vote
1
answer
95
views
Plot with low resolution curves
My problem requirement is to redraw a graph with curves at low resolution. As shown below:
Is there a way to do it with matplotlib library or any image processing solution? Currently matplotlib is ...
0
votes
2
answers
145
views
Why are the values of y axis not in numerical order?
So I'm following the book "Python Crash Course", and I was doing an exercise. The point of the exercise is to plot the low and high temperatures of two different sites.
I saw another user ...
0
votes
0
answers
36
views
how to cuztomize the x and y axis in matplotlib and create a compact plot? [duplicate]
I am trying to plot the data from the csv file which has data of the following format.
time,odometry_right,odometry_left
1689366898638600587,0.31946682929992676,0.30494561791419983
1689366898688261032,...
-1
votes
1
answer
144
views
Trying to create a label for each point on a graph with matplotlib [duplicate]
I am creating a scatter graph of UK counties crime rate vs population and I want to have each point labelled with the name of the county so i can visualise it and see the relative safety of each ...
0
votes
0
answers
31
views
Matplotlib will not plot a line graph from a CSV file no matter what || Python [duplicate]
Here is an image of the CSV file I am working with, for reference
Matplotlib won't read the column names from the .CSV file.
I am trying to plot weather data with one axis being the date and the other ...
0
votes
0
answers
401
views
Python butterworth Filter scipy
i have sample csv files, one is with unfiltered data and the other one is filtered with butterworth filter from the Software where the csv comes from. I wanna filter the unfiltered data myself and ...