Python Forum
Creating a graph with ranges
Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a graph with ranges
#1
Hello, 

I need help to find a way to visualize the a graph with the following data:
The graphic shows distribution development in the Treasury bond futures market. Value areas from the night and day sessions are organized in a special format. The "value ranges" consists oft two data points: High and low.

Distribution is on the vertical axis. Development, when it occurs, will be shown on the horizontal axis. If the value range (h-l) is higher or lower than the previous session, the rectangle belongs on the vertical axis.

Sideways rotation is on the horizontal axis. If value is unchanged or partially overlaps the previous session, the rectangle belongs on the horizontal axis.
The data can be loaded from a csv file. I have basic python understanding, but no exp in data visualisation.

Which library should I use pandas, matlab, ggplot or none of them? Which way would be the best to solve the task?

Greetings 
Chris


[Image: 2nivaya.jpg]
Reply
#2
I know how to read in csv data in python and how to show/plot data with matploit and pandas in standard Candle Charts, but I dont know how to create the rectangles.
Reply
#3
You can use a tkinter canvas, and draw rectangles within
That would be a bit involved, but you could create a pretty classy
widget.

or use PMW megawidgets to create a new reusable widget!

found this which I guess is your post.
and this again yours?

This is the first time I have seen this type chart.
It looks like a flipped histogram, or project development chart,
and also looks quite useful

You might find something useful here
Reply
#4
Thank you Larz60+
thats what Iam looking for. Yes my posts.
Greetings Chirs
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Correlation Coefficents with different Time Ranges giaco__mar 0 833 Sep-28-2022, 02:03 PM
Last Post: giaco__mar
  Efficient way to mark entries in df with overlap in time ranges Andreas_Python 0 1,523 Mar-24-2021, 02:10 PM
Last Post: Andreas_Python

Forum Jump:

User Panel Messages

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