fortplot_ascii_backend_support Module

ASCII terminal plotting backend - Backend Support Functions

This module contains support functions for polymorphic backend operations, including stub implementations and specialized interface functions.

Author: fortplot contributors



Subroutines

public subroutine extract_ascii_rgb_data(width, height, rgb_data)

Extract RGB data from ASCII backend (not supported - dummy data)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: width
integer, intent(in) :: height
real(kind=wp), intent(out) :: rgb_data(width,height,3)

public subroutine get_ascii_png_data(width, height, png_data, status)

Get PNG data from ASCII backend (not supported)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: width
integer, intent(in) :: height
integer(kind=1), intent(out), allocatable :: png_data(:)
integer, intent(out) :: status

public subroutine prepare_ascii_3d_data(plots)

Prepare 3D data for ASCII backend (no-op - ASCII doesn't use 3D data)

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(in) :: plots(:)

public subroutine render_ascii_ylabel(ylabel)

Render Y-axis label for ASCII backend (no-op - handled elsewhere)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: ylabel

public subroutine render_ascii_axes(title_text, xlabel_text, ylabel_text)

Render axes for ASCII context (stub implementation)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in), optional :: title_text
character(len=*), intent(in), optional :: xlabel_text
character(len=*), intent(in), optional :: ylabel_text