In this tutorial, we’ll try to understand how to plot a Mobius strip in Python using the matplotlib library. What is a Mobius Strip? A Möbius strip, Möbius band, or Möbius loop is a surface that can be formed by attaching the ends of a strip of paper together with a half-twist. We can plot …

In this tutorial, we’ll try to understand how to plot a 3D surface triangulation plot in Python using the matplotlib library. What is a Surface Triangulation Plot? A triangulation of a compact surface is a finite collection of triangles that cover the surface in such a way that every point on the surface is in …

In this tutorial, we’ll try to understand how to plot a 3D wireframe plot in python. What is a wireframe plot? Wireframe plot takes a grid of values and projects it onto the specified three-dimensional surface, and can make the resulting three-dimensional forms quite easy to visualize. 3D wireframe plot using the matplotlib.Axes.plot_wireframe() method To …

In this tutorial, we’ll try to understand how to plot a 3D plot in python. Matplotlib was initially designed with only two-dimensional plotting in mind. Around the time of the 1.0 release, some three-dimensional plotting utilities were built on top of Matplotlib’s two-dimensional display, and the result is a convenient (if somewhat limited) set of …

In this tutorial, we’ll try to understand how to plot a 3D surface plot in python. What is a surface plot? A surface plot shows a functional relationship between a designated dependent variable (Y), and two independent variables (X and Z). The plot is a companion plot to the contour plot. A surface plot is …

In this tutorial, we’ll try to understand how to plot a 3D contour plot in python. A contour plot is a graphical technique for representing a 3-dimensional surface by plotting constant z slices, called contours, on a 2-dimensional format. That is, given a value for z, lines are drawn for connecting the (x,y) coordinates where …

In this tutorial, we’ll try to understand how to plot a quiver plot in Python with the help of some examples. What is a Quiver plot? A quiver plot is basically a type of 2D plot which shows vector lines as arrows. These types of plots are used by Electrical engineers to visualize electrical potential …

In this tutorial, we will look at how to create heatmaps in Python with the help of some examples. What are Heatmaps? Heatmaps use colour changes like hue, saturation, or brightness to depict the data as 2-D coloured maps. Instead of using numbers to represent relationships between variables, heatmaps use colours. On both axes, these …

In this tutorial, we’ll try to understand how to extract links from a text file in Python with the help of some examples. There are multiple ways to extract URLs from a text file using Python. Some of the commonly used methods are – Let’s now look at both methods in detail. We’ll be working …

In this tutorial, we’ll try to understand how to add a header in a csv file using Python with the help of some examples. In simple terms, a csv file contains tabular data with comma-separated values in each row. A row header, here, represents an additional row at the top indicating the column names. You …