fig example plot with more information added plt legend(plt title('plotting two curves in the same plot'plt savefig('fig_two_curves png'plt show(this example shows that the options for changing the color and plotting style of the curves are fairly intuitiveand can be easily explored by trial and error for full overview of all the optionswe refer the reader to the matplotlib documentation although the code example above was not too complexwe had to write an excess of lines just to plot two simple functions on the screen this level of programming is necessary if we want to produce professional-looking plotssuch as in presentationmaster' thesisor scientific report howeverif we just want quick plot on the screenthis can be achieved much more simply the following code lines will plot the same two curves as in the example aboveusing just three linest np linspace( plt plot( ,np exp(- )*np sin( *np pi* ), ,np exp(- * )*np sin( *np pi* )plt show(as alwaysthe effort we put in depends on what the resulting plot will be used forandin particularon whether we are just exploring some data on our own or plan on presenting it to others