Python Forum
Change the colour of a plot
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the colour of a plot
#2
Just use some colormap as a parameter for contourf.
    ax.contourf(X, Y, abs(psik), cmap="gist_heat", levels=linspace(0, 0.15, 40))
Reply


Messages In This Thread
Change the colour of a plot - by Sito - Apr-13-2017, 06:15 PM
RE: Change the colour of a plot - by zivoni - Apr-13-2017, 10:22 PM

Forum Jump:

User Panel Messages

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