Python Forum
matplotlib Plotting smooth line with nans
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
matplotlib Plotting smooth line with nans
#4
You are ok with that? That is exactly what I thought would happen and I think it unacceptable. The range of the smooth line is much greater than the range of the points.

If that is ok, you'll likely be fine replacing NAN with a value interpolated from surrounding points: b =(a+c)/2.
Reply


Messages In This Thread
RE: matplotlib Plotting smooth line with nans - by deanhystad - Mar-11-2022, 02:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Graphic line plot with matplotlib, text file in pytho khadija 2 1,447 Aug-15-2022, 12:00 PM
Last Post: khadija
  Matplotlib: How do I convert Dates from Excel to use in Matplotlib JaneTan 1 3,306 Mar-11-2021, 10:52 AM
Last Post: buran
  Multiple Line Chart Plotting moto17 1 2,542 Jan-20-2021, 01:38 PM
Last Post: wostan
  saving only one line of a figure as an image (python matplotlib) nitrochloric 0 2,068 Nov-23-2020, 01:41 PM
Last Post: nitrochloric
  Smooth curve in matplotlib medatib531 0 1,859 Apr-02-2020, 08:07 PM
Last Post: medatib531
  problem in plotting intraday results using matplotlib mr_byte31 0 2,992 Aug-20-2018, 11:32 AM
Last Post: mr_byte31

Forum Jump:

User Panel Messages

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