Topics

Matplotlib

About this topic: Articles tagged __TAG__

Showing 124 articles

Topics

Articles

Showing 124 articles

How-tos How to Plot CDF Matplotlib Python This tutorial explains how we can generate plot of CDF using the Matplotlib in Python. How-tos How to Label Scatter Points in Matplotlib To label the scatter plot points in Matplotlib, we can use the matplotlib.pyplot.annotate() function which adds a string at the specified position. Similarly, we can also use the … How-tos How to Create Reverse Colormap in Python Matplotlib This tutorial explains the ways to reverse the colormap of a Python Matplotlib Plot. How-tos How to Create Colorplot of 2D Array Matplotlib This tutorial explains how we can generate colorplot of 2D arrays using the matplotlib.pyplot.imshow() and matplotlib.pyplot.pcolormesh() methods in Python. How-tos How to Draw Vertical Lines on a Plot Matplotlib Learn how to draw Vertical Lines on a plot generated using Matplotlib in Python How-tos How to Add Value Labels on Matplotlib Bar Chart This article discusses how we can add value labels on matplotlib bar chart. We have discussed two ways using pyplot.text() and pyplot.annotate() methods to add value labels on … How-tos How to Use Error Bar in Python Matplotlib One can plot data with error bars using the errorbar() function of Matplotlib in Python. How-tos How to Display Greek Letters in Python Matplotlib This tutorial discusses how to show Greek letters with matplotlib in Python. How-tos How to Custom Colormap Using Python Matplotlib This article discusses how we can create custom colormap using Matplotlib in Python. It will show two ways using ListedColormap class and the LinearSegmentedColormap class to … How-tos How to Plot Dates in Matplotlib This article demonstrates how to work with matplotlib.dates and some basic examples using some dates with a built-in Python module. Then we will see an example using data from a … How-tos How to Create and Change Title Position in Matplotlib In this tutorial, we explain the title() method that allows us to set a name to the plot as a label and see how to change the title position in Matplotlib. How-tos How to Plot 3D Line Plot in Matplotlib In this demonstration, we demonstrate how to create a 3D plot in Matplotlib and see how to create a 3D plot with multiple colors in Matplotlib. How-tos How to Plot Waterfall Plot in Matplotlib in this tutorial, we explain to you how you can create a waterfall plot or chart with the help of python and the libraries we go to use the Matplotlib and waterfall_chart library … How-tos How to Plot Venn Diagram in Matplotlib In this article, we'll discuss about how you can generate Venn diagrams with the help of Python and Matplotlib library. How-tos How to Plot Candlestick in Matplotlib In this demonstration with us we introduce to a candlestick chart or plot and see how to create an open high low close candlestick chart with the help of the mplfinance module in … How-tos How to Plot Contour in Matplotlib In this demonstration we go to see what is contour plot and how we can obtain contour plots with the help of the contour() method in Matplotlib. How-tos How to Turn Off the Axes for Subplots in Matplotlib We can turn off the axes for subplots in Matplotlib using set_axis_off(), axis() and set_visible() methods. How-tos How to Remove the Legend in Matplotlib We could use get_legend().remove() and set_visible() methods to remove legend from a figure in Matplotlib. We can also remove legend from a figure in Matplotlib by setting legend … How-tos How to Change Matplotlib Plot Size We use figure(), set_figheight() along with set_figwidth()and set_size_inches() methods and set rcParams to change plot size in Matplotlib. To change the format of figure, we can … How-tos How to Plot Data in Real Time Using Matplotlib We can plot data in real using Matplotlib through FuncAnimation() function, canvas.draw() along with canvas_flush_events() and using plt.plot() in a loop. How-tos How to Automate Plot Updates in Matplotlib We can automatically update plots in Matplotlib using various functions such as plot.draw(), canvas.draw() along with canvas_flush_events(), and clear_output(). How-tos How to Plot and Save a Graph in High Resolution in Matplotlib We can control the resolution of the graph using various arguments of savefig() function while saving and figure() function while plotting in Matplotlib. How-tos How to Plot Logarithmic Axes in Matplotlib We can plot logarithmic axes in Matplotlibusing set_yscale(), semilogy() and loglog() functions. How-tos How to Set the Figure Title and Axes Labels Font Size in Matplotlib The size and font of title and axes in Matplotlib can be set using font size parameter, label.set_size(), and rcParams dictionary.

← All topics