Python Forum
How to plot intraday data of several days in one plot
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to plot intraday data of several days in one plot
#1
Hi, I could need some help for the following task:

I obtained intraday apple stock data for the last 5 days with an interval of 1 minute. The datetime format is in this form: '2020-01-02 03:15:00'.

I would like to examine how the price is evolving over the day on several days.

Therefore, I want to create a plot with the clock time on the X-axis (e.g. 9:00 to 17:00 o'clock) and the price on the Y-Axis. Then I would like to plot the price development of all five different days into this plot.

A nice feature would be to have a sixth line in the plot which shows the average of all five days.

Does someone have an idea how I could do this?
Reply
#2
What is the question? Are you asking how to plot multiple series in one plot? Are you asking how to convert your date/time into time of day? Are asking how to average multiple series?
Reply
#3
Actually all of this. I dont really know how to start. Big Grin
Reply
#4
working through some matplotlib and numpy tutorials would be a good start.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Plot several graphs in one plot Ferdiss 1 170 Apr-11-2024, 08:37 PM
Last Post: deanhystad
  Plot function Sedos101 3 766 Aug-23-2023, 02:53 PM
Last Post: deanhystad
  Likert survey data plot error Andrzej_Andrzej 6 1,386 Jul-16-2023, 10:11 PM
Last Post: deanhystad
  Error when animating 3D plot Tee 4 923 Jul-03-2023, 08:49 PM
Last Post: Tee
  Plot multiple 2D Curves in 3D stc 5 939 Jun-11-2023, 05:48 PM
Last Post: snippsat
  Plot a pandas data fram via pyqtgraph with an modul import and qt designer widget Nietzsche 0 836 May-29-2023, 02:42 PM
Last Post: Nietzsche
  first time use plot - I get empty graph korenron 6 2,064 Feb-04-2023, 02:14 PM
Last Post: deanhystad
  Create simple live plot of stock data dram 2 2,904 Jan-27-2023, 04:34 AM
Last Post: CucumberNox
Thumbs Up Python 3 Jupyter notebook ternary plot data nicholas 0 923 Jan-21-2023, 05:01 PM
Last Post: nicholas
  For Loop: To see plot for different columns JaneTan 0 953 Dec-14-2022, 05:55 AM
Last Post: JaneTan

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020