Beautiful!
A short prompt in Mistral AI Code:
Create a Fortran project using two fpm (Fortran Package Manager) dependencies:
https://github.com/fortran-lang/fplotlib/
https://github.com/vmagnin/gtk-fortran/
The program will plot the Weierstrass function (with a=0.5 and b=3) in the [-5 ; +5] range using fplotlib:
https://en.wikipedia.org/wiki/Weierstrass_function_(nowhere-differentiable_function)
It will display that plot in a GTK4 window.
The result:
@vmagnin tell your AI to format the math correctly in the plot title, axes and legend using $$ and latex syntax. It will look beautiful!