Python Forum
Plotting a specific bar / rectangle chart?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plotting a specific bar / rectangle chart?
#1
Hi all,
I would like to ask a question of whether I am using the correct methods to plot a specific chart.

First I plot this chart:
[Image: Screenshot-from-2020-04-30-11-24-37.png]

Then I would like to create some kind of a bar chart that will show me "where my pyramids perform above certain recall threshold" in the following example lets say recall > 40%. Something like that:
[Image: Whats-App-Image-2020-04-30-at-11-31-26.jpg]

I tried to implement a bar chart, but it doesn't look good:

[Image: Screenshot-from-2020-04-30-11-24-55.png]


Any suggestion how can I create a chart similar to what I handwritten? Or other ideas about how to show the performance above a certain Recall% ?

Thanks,
G
Reply
#2
process data used to produce original graph. Filter only those of data points that fit your condition. I think you want area chart, not bar chart. Not sure how you get the y values in the second graph though, why 2 or 3?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
(Apr-30-2020, 10:15 AM)buran Wrote: process data used to produce original graph. Filter only those of data points that fit your condition. I think you want area chart, not bar chart. Not sure how you get the y values in the second graph though, why 2 or 3?

Thanks, I'll take a look at the area chart.
The Y values have no actual meaning, they just represent a different pyramid (legend). For example pyramid 1 are bars in height 1, pyramid2 are bars in height 2, etc..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comparing three functions and plotting specific regions japrap 2 2,215 Aug-06-2019, 12:41 AM
Last Post: japrap
  Are all points within a rectangle? aapurdel 1 4,474 May-26-2019, 03:21 PM
Last Post: ichabod801
  [matplotlib]Multiple persistent modifiable rectangle selector synaps 0 2,849 May-26-2019, 11:08 AM
Last Post: synaps
  Plotting climate data with NetCdf files for a specific region with coordinates fyec 3 5,404 Jun-27-2018, 12:34 PM
Last Post: buran

Forum Jump:

User Panel Messages

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