Python Forum
Plot Line chart based on the input
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plot Line chart based on the input
#2
May be something like this should help you (not tested):

fig = plt.figure()
ax = fig.add_subplot(111)
for y, c in zip(Salesamount, 'rgbk'):
    ax.plot(CalendarYear, y, c)
plt.show()
Reply


Messages In This Thread
Plot Line chart based on the input - by parthi1705 - May-06-2019, 02:32 PM
RE: Plot Line chart based on the input - by scidam - May-07-2019, 11:43 AM
RE: Plot Line chart based on the input - by scidam - May-09-2019, 05:01 AM
RE: Plot Line chart based on the input - by get2sid - Feb-28-2023, 12:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to create a plot with line graphs and vertical bars devansing 6 2,440 Feb-28-2023, 05:38 PM
Last Post: devansing
  Pick a line in a plot with matplotlib Romain 3 5,714 Feb-28-2023, 11:56 AM
Last Post: get2sid
  Help to Plot timeline for intreruption of one line production danut_horincas 2 2,587 Feb-28-2023, 11:48 AM
Last Post: get2sid

Forum Jump:

User Panel Messages

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