Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The "gnuplot" backend remains available, but "pyplot" is the new default. The output from the two backends is tuned to look fairly similar. There are options to pass a script filename and a picture filename, if the script name is not passed a default one will be produced, as we want to /always/ have a saved script, for reproducibility. If the figure name is not passed there will be no saved picture, but just a GUI popup for both backends (or something similar for peculiar cases). The "gnuplot" backend aimsˆ† to support also a custom <terminal> such as <qt>, <wxt>, <dumb> (especially useful on HPC servers), <png>, <svg>,… which instead are necessary to allow correct I/O if figure_name is given. †) Issue kookma/ogpf#41 needs to be solved... > for now I just redirect the fpm.toml pointer to a relevant "devel" branch on my personal fork ==> for now just changes the default terminal, so to allow proper testing here, but a new public API should be defined to allow the user choose. ————————————————————————————————————————————————————————————————————————— Let me brag the <dumb> terminal "gnuplot" output :) ————————————————————————————————————————————————————————————————————————— 7 +-------------------------------------------+ | | | F F | 6 |-+ F F F | | | | | 5 |-+ F F F | | | | F F F F | 4 |-+ | y | | | F F F F | | | 3 |-+ F F F | | | | | 2 |-+ F F F | | F F | | + + + + + + | 1 +-------------------------------------------+ -1 0 1 2 3 4 5 6 x —————————————————————————————————————————————————————————————————————————
- Loading branch information