ascii_finalize Subroutine

public subroutine ascii_finalize(canvas, text_elements, num_text_elements, arrow_elements, num_arrow_elements, plot_width, plot_height, title_text, xlabel_text, ylabel_text, legend_lines, num_legend_lines, filename, text_charset, color_mode, canvas_color)

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(inout) :: canvas(:,:)
type(text_element_t), intent(inout) :: text_elements(:)
integer, intent(in) :: num_text_elements
type(text_element_t), intent(inout) :: arrow_elements(:)
integer, intent(in) :: num_arrow_elements
integer, intent(in) :: plot_width
integer, intent(in) :: plot_height
character(len=:), intent(in), allocatable :: title_text
character(len=:), intent(in), allocatable :: xlabel_text
character(len=:), intent(in), allocatable :: ylabel_text
character(len=*), intent(in) :: legend_lines(:)
integer, intent(in) :: num_legend_lines
character(len=*), intent(in) :: filename
character(len=*), intent(in), optional :: text_charset

Raw color mode ('never'..'auto'); resolved per destination here so file saves stay reproducible and terminal output honors 'auto'.

character(len=*), intent(in), optional :: color_mode
integer, intent(inout), optional :: canvas_color(:,:)