Draw a Plot in C with GNU plotutils

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

Install plotutils

Debian

$ sudo apt-get install plotutils-dev

Fedora

$ 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)
{
    for …

Continue reading

Analyse Sound on GNU/Linux using Wine

Posted on Thu 25 March 2021 in audio • Tagged with bat, bird, ultrasound, syrinx, batsound

After recording bats, orthoptera or birds, it is often necesserary to see the spectrograms of the sounds, for instance while analysing Vigie-Chiro Program bat records

The software needed to do so are often only for Windows, in the present article, we will learn how to install these softwares (i.e …


Continue reading