Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plot Back Ground Colors
#1
Hello community

I have made a plot using matplot lib.

Currently i am using the ggplot style.

I am trying to show different background colors along the Y axis to represent different criteria for example Y values between 1457 - 1458 is "BAD" and i want the background space between 1457 - 1458 to be shown in red.

Is there anyway of achieving this?

I have attached a screen show of my plot, i would like the back ground color between the grey line and the orange line to show as red.

Can this be done.

Thank you.

Attached Files

Thumbnail(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Count image's colors very fast flash77 18 1,590 Mar-05-2024, 06:12 PM
Last Post: deanhystad
  can openpyxl read font colors mperemsky 3 1,755 May-09-2023, 11:18 AM
Last Post: MindKeeper
  ANSI not working for change of text colors BliepMonster 10 3,420 Nov-10-2022, 09:28 AM
Last Post: BliepMonster
  How to do bar graph with positive and negative values different colors? Mark17 1 5,174 Jun-10-2022, 07:38 PM
Last Post: Mark17
  Object detection on ground via the use of geo/sat UAV images hobbyist 2 2,111 Jan-23-2021, 11:57 PM
Last Post: hobbyist
  How to plot intraday data of several days in one plot mistermister 3 2,933 Dec-15-2020, 07:43 PM
Last Post: deanhystad
  How to fill between the same area with two different colors Staph 0 1,495 Jul-08-2020, 07:01 PM
Last Post: Staph
  How do I map a list of values to specified colors? larkypython 4 2,576 Nov-05-2019, 09:22 AM
Last Post: larkypython
  How to plot vertically stacked plot with same x-axis and SriMekala 0 1,941 Jun-12-2019, 03:31 PM
Last Post: SriMekala
  after using openpyxl to add colors to script, black shows up white online in excel Soundtechscott 1 3,698 Jun-08-2019, 10:33 PM
Last Post: Soundtechscott

Forum Jump:

User Panel Messages

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