How to make automatic documentation using Doxygen, breathe and Sphinx

Posted on Wed 15 June 2022 in documentation • Tagged with C++, Doxygen, Sphinx

Doing documentation is required, to allow people to use your project. Here I present a rather easy solution.

Continue reading

Draw a Plot in C with GNU plotutils

Posted on Sun 12 June 2022 in math • Tagged with c

Install plotutils


$ sudo apt-get install plotutils-dev


$ sudo dnf install plotutils-devel

Use PlotUtils to plot a graph

Let us draw the \(sin(x)\) function using math library.

#include <stdio.h>
#include <math.h>

#define RANGE 100

// Export data to stdout
void plot(double *x, double *y, size_t len …

Continue reading