fortplot_pdf_axes_text Module

PDF axis text rendering module

Handles title, axis labels, and mixed-font text rendering with mathtext support.



Subroutines

public subroutine draw_pdf_title_and_labels(ctx, title, xlabel, ylabel, plot_area_left, plot_area_bottom, plot_area_width, plot_area_height, y_tick_label_max_width)

Draw plot title and axis labels

Arguments

Type IntentOptional Attributes Name
type(pdf_context_core), intent(inout) :: ctx
character(len=*), intent(in), optional :: title
character(len=*), intent(in), optional :: xlabel
character(len=*), intent(in), optional :: ylabel
real(kind=wp), intent(in) :: plot_area_left
real(kind=wp), intent(in) :: plot_area_bottom
real(kind=wp), intent(in) :: plot_area_width
real(kind=wp), intent(in) :: plot_area_height
real(kind=wp), intent(in), optional :: y_tick_label_max_width

public subroutine render_mixed_text(ctx, x, y, text, font_size)

Process LaTeX and render mixed-font text with mathtext support.

Arguments

Type IntentOptional Attributes Name
type(pdf_context_core), intent(inout) :: ctx
real(kind=wp), intent(in) :: x
real(kind=wp), intent(in) :: y
character(len=*), intent(in) :: text
real(kind=wp), intent(in), optional :: font_size

public subroutine render_rotated_mixed_text(ctx, x, y, text)

Process LaTeX and render rotated mixed-font ylabel with mathtext support.

Arguments

Type IntentOptional Attributes Name
type(pdf_context_core), intent(inout) :: ctx
real(kind=wp), intent(in) :: x
real(kind=wp), intent(in) :: y
character(len=*), intent(in) :: text