First, we will importĀ libraries import numpy as np import matplotlib.pyplot as plt Then we will create data points #Create data points x = np.array([0, 1, 2, 3, 4, 5]) y = np.arr.... Read More
In this tutorial, we will learn how to get or find the yesterday’s day and date in C programming. Here I am using time.h header library. I will first show you how to find yes.... Read More
Today I will show you how we can set custom thickness for lines in Tikz – LaTeX. We all know that we can set the thickness of the lines using the below predefined thickness c.... Read More
Let’s learn how to draw a rounded corner rectangle with Tikz in LaTeX. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[rounded corners=20.... Read More
In this tutorial, I will show you how to use Times New Roman font in LaTeX without using fontspec. Using fontspec you can customize fonts a lot more. But if you are looking for a s.... Read More
Hello, in this tutorial, we will learn how to draw or plot double torus in LaTeX using Tikz and pgfplots. A double torus is also known as gen 2 torus or genus 2 torus. I have done .... Read More
In this LaTeX tutorial, I will show you how to plot torus in LaTeX using Tikz. We will also learn to write the torus equation in LaTeX. I will cover these in this tutorial: Paramet.... Read More
In this tutorial, I will show you how easily we can draw an octagon in LaTeX using Tikz. Draw a Simple octagon in Latex Look at the below code: \documentclass{standalone} \usepacka.... Read More