Plot in MatPlotLib

Chandru Rajendran Chandru_Rajendran at infosys.com
Thu Sep 5 09:03:59 EDT 2013


Hi all,

I have written the types to plot in Matplotlib.

#Usage Type  1
plt.plot(t,s)
plt.show()
#Usage type 2
fig=plt.figure()
ax=fig.add_subplot(111)
ax.plot(t,s)
plt.show()


I want difference between these types and other ways in which we can use plot.


Thanks & Regards,
Chandru

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130905/4cf7e35b/attachment.html>


More information about the Python-list mailing list