Skip to content

C from scratch

Plotting histograms in the terminal

I was generating some random numbers the other day. And I really felt the urge to visualize them. Just to get an intuition, like, what's the shape of the distribution? Is it noisy or smooth?

When in Python, I would pip install matplotlib for this kind of stuff. But what are the options when you're in C?

I ended up writing a plot library from scratch of course :) plt.c on github