Derived Types

TypeLocationExtendsDescription
animation_t fortplot_animation_core None
annotation_color_t fortplot_annotation_types 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
ascii_player_options_t fortplot_ascii_player None
axis_t fortplot_spec_types None

Axis configuration (maps to Vega-Lite axis object)

channel_t fortplot_spec_types None

Encoding channel (maps to Vega-Lite channel object) Connects a data field to a visual property.

color_t fortplot_color_definitions None
config_axis_t fortplot_spec_config_types None

Axis configuration (maps to Vega-Lite config.axis).

config_legend_t fortplot_spec_config_types None

Legend configuration (maps to Vega-Lite config.legend).

config_mark_defaults_t fortplot_spec_config_types None

Mark defaults (maps to Vega-Lite config.line/point/bar).

config_t fortplot_spec_config_types None

Top-level Vega-Lite config object.

config_title_t fortplot_spec_config_types None

Title configuration (maps to Vega-Lite config.title).

config_view_t fortplot_spec_config_types None

View rectangle (maps to Vega-Lite config.view).

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
data_column_t fortplot_spec_types None

Single named column of data values

data_t fortplot_spec_types None

Data specification (maps to Vega-Lite data object) Stores inline values as named columns (Fortran-native layout). Serialized to row-oriented JSON for Vega-Lite compatibility.

datetime_t fortplot_datetime None
encoding_t fortplot_spec_types None

Encoding specification (maps to Vega-Lite encoding object) Maps data fields to visual channels.

field_plot_t fortplot_spec_types None

fortplot-specific field-plot metadata carried alongside the Vega-Lite-shaped spec for contour, pcolormesh, and streamplot data.

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 implementing Facade Pattern for plotting operations

Read more…
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
layer_t fortplot_spec_types None

Single layer within a layered spec

legend_box_t fortplot_legend_layout None

Single Responsibility: Legend box dimensions and position

legend_entry_t fortplot_legend_state None

Single Responsibility: Represents one legend entry

legend_t fortplot_legend_state None

Single Responsibility: Legend layout and rendering coordination

mark_t fortplot_spec_types None

Mark specification (maps to Vega-Lite mark object) Defines the visual representation type and properties.

mathtext_element_t fortplot_mathtext None
padding_t fortplot_spec_config_types None

Pixel padding around the plot area (maps to Vega-Lite padding).

parameter_validation_result_t fortplot_validation_context 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
pie_prepared_t fortplot_figure_pie 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_core None
scale_t fortplot_spec_types None

Scale configuration (maps to Vega-Lite scale object) Supported types: linear, log, pow, sqrt, symlog, ordinal, band, point

spec_t fortplot_spec_types None

Top-level Vega-Lite specification Single source of truth for a plot. The Fortran plot() API is syntactic sugar that builds a spec_t.

spy_context_t fortplot_spy_backend plot_context
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

svg_context fortplot_svg plot_context
test_result_t fortplot_testing None

Test result type for better test management

text_annotation_t fortplot_annotation_types None
text_element_t fortplot_ascii_utils None
truetype_font_t fortplot_truetype None
tt_active_edge_t fortplot_tt_scanline_fill None
tt_edge_t fortplot_tt_edge_sort None
tt_point_t fortplot_tt_curves None
tt_vertex_t fortplot_tt_outlines None
validation_context_t fortplot_validation_context 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.)