Demonstration of Unicode and Greek letter support in fortplot
This example shows how to use LaTeX-style Greek letter commands in titles, axis labels, and legend entries across all backends.
Features demonstrated: - Greek letters in mathematical expressions - Unicode rendering in PNG, PDF, and ASCII outputs - Scientific notation with proper symbols - Mixed ASCII and Unicode content
Type | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|
real(kind=wp), | parameter | :: | pi | = | 3.14159265359_wp | |
integer, | parameter | :: | n_points | = | 100 | |
real(kind=wp) | :: | t(n_points) | ||||
real(kind=wp) | :: | x(n_points) | ||||
real(kind=wp) | :: | y(n_points) | ||||
real(kind=wp) | :: | z(n_points) | ||||
integer | :: | i | ||||
type(figure_t) | :: | fig |