fortplot_spec_mark_handlers Module

Mark-type handlers for spec_t rendering.

Each subroutine handles one mark type (line, point, bar, area), translating mark properties into plot_data_t entries via the core figure operations.



Subroutines

public subroutine add_mark_to_state(mark, x, y, enc, data, state, plots, plot_count, status)

Arguments

Type IntentOptional Attributes Name
type(mark_t), intent(in) :: mark
real(kind=wp), intent(in), contiguous :: x(:)
real(kind=wp), intent(in), contiguous :: y(:)
type(encoding_t), intent(in) :: enc
type(data_t), intent(in) :: data
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(inout), allocatable :: plots(:)
integer, intent(inout) :: plot_count
integer, intent(out) :: status