Create custom plot

I want to create custom plot using Matplotlib.

Here is image:https://www.dropbox.com/s/vabbluhkhwflg8k/mat.png

Please let me know what kind of approach I should go for to generate such plot?

···

--
Thanks
Arshpreet Singh
Python Developer
Web Development/Data Science/Systems Integration
Mobile: (91)987 6458 387
https://www.linkedin.com/in/arsh840

Doing what you like Freedom, Liking what you do is happiness.

First, create instances of a figure and axes:

import matplotlib.pyplot as plt
fig, ax = plt.subplots()

Then plot your data

ax.plot(x, y, linestyle='-', color='black', linewidth=2)

Then plot your threshold value:

ax.axhline(y=threshold, linestyle='--', linewidth=1.5, color='black',
alpha=0.75)

Then label your axes:

ax.set_xlabel('frequency')

···

On Sun, Dec 11, 2016 at 1:42 AM, A.S. Khangura <arsh840 at gmail.com> wrote:

I want to create custom plot using Matplotlib.

Here is image:Dropbox - Error - Simplify your life

Please let me know what kind of approach I should go for to generate such
plot?

--
Thanks
Arshpreet Singh
Python Developer
Web Development/Data Science/Systems Integration
Mobile: (91)987 6458 387
https://www.linkedin.com/in/arsh840

Doing what you like Freedom, Liking what you do is happiness.
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
Matplotlib-users Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20161212/c917408a/attachment.html&gt;