How to plot Line of Best fit in python

By Sourav Rastogi

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

Get yesterday’s day and date in C programming

By Saruque Ahamed Mollick

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

Draw line of any thickness in Tikz LaTeX

By Parvez Akhtar Pasha

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

Draw a rounded corner rectangle in LaTeX using Tikz

By Saruque Ahamed Mollick

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

How to use Times New Roman font in LaTeX

By Parvez Akhtar Pasha

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

Draw Double Torus using Tikz and pgfplots in LaTeX – An attempt

By Saruque Ahamed Mollick

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

Draw Torus with Tikz in LaTeX – with Equation

By Parvez Akhtar Pasha

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

How to draw Octagon in LaTeX – Tikz

By Saruque Ahamed Mollick

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

Related Posts