- Matplotlib - Transforms
- Matplotlib - Working with Images
- Mathematical Expressions
- Matplotlib - Working With Text
- Matplotlib - 3D Surface plot
- Matplotlib - 3D Wireframe plot
- Matplotlib - 3D Contour Plot
- Three-dimensional Plotting
- Matplotlib - Violin Plot
- Matplotlib - Box Plot
- Matplotlib - Quiver Plot
- Matplotlib - Contour Plot
- Matplotlib - Scatter Plot
- Matplotlib - Pie Chart
- Matplotlib - Histogram
- Matplotlib - Bar Plot
- Matplotlib - Twin Axes
- Setting Ticks and Tick Labels
- Matplotlib - Setting Limits
- Matplotlib - Formatting Axes
- Matplotlib - Grids
- Matplotlib - Subplot2grid() Function
- Matplotlib - Subplots() Function
- Matplotlib - Multiplots
- Matplotlib - Axes Class
- Matplotlib - Figure Class
- Object-oriented Interface
- Matplotlib - PyLab module
- Matplotlib - Simple Plot
- Matplotlib - Pyplot API
- Matplotlib - Jupyter Notebook
- Matplotlib - Anaconda distribution
- Matplotlib - Environment Setup
- Matplotlib - Introduction
- Matplotlib - Home
Matplotlib Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Matplotpb - Pyplot API
A new untitled notebook with the .ipynbextension (stands for the IPython notebook) is displayed in the new tab of the browser.
matplotpb.pyplot is a collection of command style functions that make Matplotpb work pke MATLAB. Each Pyplot function makes some change to a figure. For example, a function creates a figure, a plotting area in a figure, plots some pnes in a plotting area, decorates the plot with labels, etc.
Types of Plots
Sr.No | Function & Description |
---|---|
1 |
Bar Make a bar plot. |
2 |
Barh Make a horizontal bar plot. |
3 |
Boxplot Make a box and whisker plot. |
4 |
Hist Plot a histogram. |
5 |
hist2d Make a 2D histogram plot. |
6 |
Pie Plot a pie chart. |
7 |
Plot Plot pnes and/or markers to the Axes. |
8 |
Polar Make a polar plot.. |
9 |
Scatter Make a scatter plot of x vs y. |
10 |
Stackplot Draws a stacked area plot. |
11 |
Stem Create a stem plot. |
12 |
Step Make a step plot. |
13 |
Quiver Plot a 2-D field of arrows. |
Image Functions
Sr.No | Function & Description |
---|---|
1 |
Imread Read an image from a file into an array. |
2 |
Imsave Save an array as in image file. |
3 |
Imshow Display an image on the axes. |
Axis Functions
Sr.No | Function & Description |
---|---|
1 |
Axes Add axes to the figure. |
2 |
Text Add text to the axes. |
3 |
Title Set a title of the current axes. |
4 |
Xlabel Set the x axis label of the current axis. |
5 |
Xpm Get or set the x pmits of the current axes. |
6 |
Xscale . |
7 |
Xticks Get or set the x-pmits of the current tick locations and labels. |
8 |
Ylabel Set the y axis label of the current axis. |
9 |
Ypm Get or set the y-pmits of the current axes. |
10 |
Yscale Set the scapng of the y-axis. |
11 |
Yticks Get or set the y-pmits of the current tick locations and labels. |
Figure Functions
Sr.No | Function & Description |
---|---|
1 |
Figtext Add text to figure. |
2 |
Figure Creates a new figure. |
3 |
Show Display a figure. |
4 |
Savefig Save the current figure. |
5 |
Close Close a figure window. |