Derived Types

TypeLocationExtendsDescription
animation_t fortplot_animation_core None
arrow_data_t fortplot_plot_data None

Data container for streamplot arrows Stores position, direction, size and style for arrow rendering

ascii_context fortplot_ascii plot_context
ci_performance_monitor_t fortplot_ci_performance_monitor None
color_t fortplot_colors None
comparison_mode_t fortplot_rendering_comparison None
comparison_result_t fortplot_rendering_comparison None
contour_polygon_t fortplot_contour_regions None

Polygon boundary with ordered vertex points

contour_region_t fortplot_contour_regions None

Region between contour levels with boundary polygons

coordinate_mapper_t fortplot_streamline_placement None
coordinate_validation_result_t fortplot_coordinate_validation None
figure_state_t fortplot_figure_initialization None

Figure state and configuration data Encapsulates all configuration and state management

figure_t fortplot_figure_core None

Main figure class - coordinates plotting operations Now uses composition of focused modules for better organization

fortplot_error_t fortplot_errors None

Error result type containing status and message

fortplot_status_t fortplot_errors None

Status type for simpler error handling

integration_params_t fortplot_streamline_integrator None
legend_box_t fortplot_legend_layout None

Single Responsibility: Legend box dimensions and position

legend_entry_t fortplot_legend None

Single Responsibility: Represents one legend entry

legend_t fortplot_legend None

Single Responsibility: Legend layout and rendering coordination

memory_backend_t fortplot_memory_backend None
memory_buffer_t fortplot_memory_backend None
pcolormesh_t fortplot_pcolormesh None

Pcolormesh data container Stores grid vertices and color data for quadrilateral mesh rendering

pdf_context fortplot_pdf plot_context
pdf_context_core fortplot_pdf_core None
pdf_context_handle fortplot_pdf_coordinate None
pdf_font_t fortplot_pdf_core None
pdf_stream_writer fortplot_pdf_drawing vector_stream_writer
performance_config_t fortplot_windows_performance None
performance_metric_t fortplot_ci_performance_monitor None
plot_area_t fortplot_layout None
plot_context fortplot_context None
plot_data_t fortplot_plot_data None

Data container for individual plots Separated from figure to follow Single Responsibility Principle

plot_margins_t fortplot_layout None
png_context fortplot_png raster_context
raster_context fortplot_raster plot_context
raster_image_t fortplot_raster None
stb_fontinfo_t fortplot_stb_truetype None
stream_mask_t fortplot_streamline_placement None
subplot_data_t fortplot_plot_data None

Subplot data container (extracted from fortplot_figure_core)

subplot_t fortplot_plot_data None

Individual subplot container

test_result_t fortplot_testing None

Test result type for better test management

text_annotation_t fortplot_annotations None
text_element_t fortplot_ascii_utils None
validation_result_t fortplot_validation None
vector_graphics_state fortplot_vector None

Encapsulates vector graphics state to provide clean API

vector_stream_writer fortplot_vector None

Abstract interface for vector stream writers (PDF, SVG, etc.)

velocity_function_context_t fortplot_streamline None