Procedures

ProcedureLocationProcedure TypeDescription
add_3d_line_plot_data fortplot_3d_plots Subroutine

Add 3D line plot data by projecting to 2D

add_3d_plot fortplot_3d_plots Subroutine

Add 3D line plot to figure (projected to 2D)

add_3d_plot fortplot_matplotlib_plot_wrappers Subroutine
add_arrow_annotation fortplot_plot_annotations Subroutine

Add arrow annotation to figure

add_boxplot fortplot_figure_boxplot Subroutine

Add a box plot to the plot array

add_colored_contour_plot_data fortplot_figure_plot_management Subroutine

Add colored contour plot data

add_contour fortplot_matplotlib_field_wrappers Subroutine
add_contour_filled fortplot_matplotlib_field_wrappers Subroutine
add_contour_filled_impl fortplot_plot_contours Subroutine

Add filled contour plot with colors

add_contour_impl fortplot_plot_contours Subroutine

Add basic contour plot

add_contour_plot_data fortplot_figure_plot_management Subroutine

Add contour plot data to internal storage

add_errorbar fortplot_matplotlib_plot_wrappers Subroutine
add_fill_between_plot_data fortplot_figure_plot_management Subroutine

Store a fill_between polygon for rendering

add_line_plot_data fortplot_figure_plot_management Subroutine

Add line plot data to internal storage with edge case validation Fixed Issue #432: Added data validation for better user feedback

add_line_plot_data fortplot_2d_plots Subroutine

Add line plot data with comprehensive validation Enhanced Issue #854: Added comprehensive parameter validation

add_pcolormesh fortplot_matplotlib_field_wrappers Subroutine
add_pcolormesh_impl fortplot_plot_contours Subroutine

Add pseudocolor mesh plot

add_pcolormesh_plot_data fortplot_figure_plot_management Subroutine

Add pcolormesh plot data

add_plot fortplot_matplotlib_plot_wrappers Subroutine
add_plot fortplot_2d_plots Interface
add_plot_impl fortplot_2d_plots Subroutine

Add 2D line plot to figure

add_scatter fortplot_matplotlib_plot_wrappers Interface
add_scatter_2d fortplot_scatter_plots Interface
add_scatter_2d_impl fortplot_scatter_plots Subroutine

Add 2D scatter plot to figure

add_scatter_3d fortplot_scatter_plots Interface
add_scatter_3d_impl fortplot_scatter_plots Subroutine

Add 3D scatter plot to figure

add_scatter_plot fortplot_figure_scatter Subroutine

Add a single efficient scatter plot object Properly handles thousands of points with single plot object

add_scatter_plot_data fortplot_scatter_plots Subroutine

Add scatter plot data with optional properties

add_streamline_to_figure fortplot_streamplot_core Subroutine

Add streamline trajectory to figure as line plot

add_subplot_plot fortplot_figure_subplots Subroutine

Add a plot to a specific subplot

add_surface fortplot_3d_plots Subroutine

Add surface plot to figure

add_surface fortplot_matplotlib_field_wrappers Subroutine
add_surface_plot_data fortplot_figure_plot_management Subroutine

Add 3D surface plot data using structured grid storage

add_text_annotation fortplot_plot_annotations Subroutine

Add text annotation to figure

advance_pattern_state fortplot_line_styles Subroutine

Advance pattern state for continuous rendering Following SRP - handles only state advancement

analyze_compressibility fortplot_zlib_huffman Function

Analyze data to estimate compression ratio Returns value between 0 (incompressible) and 1 (highly compressible)

animation_save_impl fortplot_animation Subroutine
annotate fortplot_text_stub Subroutine

Add arrow annotation to the current figure

Read more…
append_ascii_legend_line_helper fortplot_ascii_legend Subroutine

Append a legend line to ASCII backend array

append_string test_pdf_utils Subroutine
apply_colormap_to_array fortplot_color_conversions Subroutine

Apply colormap to array of values efficiently

apply_inverse_scale_transform fortplot_scales Function

Apply inverse scale transformation to recover original value

Read more…
apply_marching_squares_lookup fortplot_contour_algorithms Subroutine

Apply marching squares lookup table to get line segments

apply_scale_transform fortplot_scales Function

Apply forward scale transformation to a single value

Read more…
ascii_draw_line_primitive fortplot_ascii_primitives Subroutine
ascii_draw_text_helper fortplot_ascii_text Subroutine

ASCII text drawing with legend processing (moved from main module)

ascii_draw_text_primitive fortplot_ascii_primitives Subroutine
ascii_fill_quad_primitive fortplot_ascii_primitives Subroutine

Fill quadrilateral using character mapping based on current color

ascii_finalize fortplot_ascii_rendering Subroutine
ascii_get_output fortplot_ascii_rendering Function

Get the complete ASCII canvas as a string

ascii_marker_char fortplot_ascii_utils Function
assert_equals fortplot_testing Subroutine
assert_file_exists fortplot_testing Subroutine
assert_true fortplot_testing Subroutine
assign_pending_autopct_helper fortplot_ascii_legend Subroutine

Assign pending autopct values to legend lines

backend_arrow_compat fortplot_figure_compatibility Subroutine

Draw arrow using backend (compatibility wrapper)

backend_associated_compat fortplot_figure_compatibility Function

Check if backend is allocated (compatibility wrapper)

backend_associated_figure fortplot_figure_core_compat Function

Check if backend is allocated

backend_color_compat fortplot_figure_compatibility Subroutine

Set backend color (compatibility wrapper)

backend_color_figure fortplot_figure_core_compat Subroutine

Set backend color

backend_line_compat fortplot_figure_compatibility Subroutine

Draw line using backend (compatibility wrapper)

backend_line_figure fortplot_figure_core_compat Subroutine

Draw line using backend

bar fortplot_matplotlib_plot_wrappers Subroutine
bar_impl fortplot_plot_bars Subroutine

Add vertical bar plot

barh fortplot_matplotlib_plot_wrappers Subroutine
barh_impl fortplot_plot_bars Subroutine

Add horizontal bar plot

basic_legend_example legend_demo Subroutine

Basic legend usage with labeled plots

bilinear_interpolate fortplot_streamline Subroutine
bitmap_to_png_buffer fortplot_png_encoder Subroutine

Convert 3D RGB bitmap to PNG buffer format with filter bytes

blend_pixel fortplot_raster_primitives Subroutine

Alpha blend a pixel with existing pixel data

Read more…
boxplot fortplot_matplotlib_plot_wrappers Subroutine
boxplot_impl fortplot_plot_statistics Subroutine

Add boxplot

build_file_path fortplot_doc_utils Subroutine
build_fortran_url fortplot_documentation Subroutine
build_local_fortran_path fortplot_documentation Subroutine
build_output_path fortplot_documentation Subroutine
build_python_path fortplot_documentation Subroutine
build_readme_path fortplot_documentation Subroutine
bytes_to_string test_pdf_utils Subroutine
calculate_aligned_position fortplot_annotation_layout Subroutine

Calculate aligned text position based on alignment settings

calculate_arrow_positions fortplot_streamline Subroutine
calculate_ascii_legend_dimensions fortplot_ascii_legend Subroutine

Calculate ASCII-specific legend dimensions

calculate_ascii_legend_position fortplot_ascii_legend Subroutine

Calculate ASCII-specific legend position using character coordinates

calculate_figure_data_ranges fortplot_figure_data_ranges Subroutine

Calculate overall data ranges for the figure with robust edge case handling Fixed Issue #432: Handles zero-size arrays and single points properly

calculate_histogram_bins fortplot_figure_histogram Subroutine

Calculate histogram bin edges and counts from data

calculate_legend_box fortplot_legend_layout Function

Calculate optimal legend box dimensions and position DRY: Centralized legend box calculation logic

calculate_marching_squares_config fortplot_contour_algorithms Subroutine

Calculate marching squares configuration for a cell

calculate_mathtext_height fortplot_mathtext Function

Calculate total height of mathematical text elements This function signature is used by text_rendering but implementation moved there

calculate_mathtext_height_internal fortplot_text_layout Function

Calculate total height of mathematical text elements

calculate_mathtext_width fortplot_mathtext Function

Calculate total width of mathematical text elements This function signature is used by text_rendering but implementation moved there

calculate_mathtext_width_internal fortplot_text_layout Function

Calculate total width of mathematical text elements

calculate_nice_axis_limits fortplot_tick_calculation Subroutine

Calculate nice axis limits that encompass the data like matplotlib The axis limits are set to nice round numbers based on tick locations

calculate_optimal_legend_dimensions fortplot_legend_layout Subroutine

Calculate optimal legend dimensions using actual text system measurements KISS: Based on measured text content, not estimates

calculate_pdf_plot_area fortplot_pdf_coordinate Subroutine

Calculate plot area for PDF backend (mathematical coordinates: Y=0 at bottom)

calculate_plot_area fortplot_layout Subroutine

Calculate plot area based on canvas size and margins (matplotlib-compatible) Note: left/bottom are margins, right/top are edge positions

calculate_rotated_bounds fortplot_annotation_layout Subroutine

Calculate bounding box for rotated text

calculate_rotated_text_bounds fortplot_annotation_layout Subroutine

Calculate bounding box for rotated text

calculate_seed_points fortplot_streamline Subroutine
calculate_seed_points_matplotlib fortplot_streamline Subroutine

Calculate seed points using matplotlib-compatible spiral algorithm with collision detection for proper streamline spacing

calculate_text_anchor fortplot_annotation_layout Subroutine

Calculate anchor position based on alignment settings

calculate_text_descent fortplot_text_layout Function

Calculate the descent (below baseline) portion of text in pixels

calculate_text_height fortplot_text_layout Function

Calculate the pixel height of text using STB TrueType Supports mathematical notation with superscripts and subscripts

calculate_text_height_with_size_internal fortplot_text_layout Function

Internal text height calculation based on font metrics

calculate_text_metrics fortplot_annotation_layout Subroutine

Calculate text dimensions for given annotation

calculate_text_metrics_safe fortplot_annotation_layout Subroutine

Safe text metrics calculation with error handling

calculate_text_width fortplot_text_layout Function

Calculate the pixel width of text using STB TrueType with UTF-8 support Supports mathematical notation with superscripts and subscripts

calculate_text_width_with_size fortplot_text_layout Function

Calculate text width using a specific font size Supports mathematical notation with superscripts and subscripts

calculate_text_width_with_size_internal fortplot_text_layout Function

Internal text width calculation to avoid circular dependencies

calculate_tick_labels fortplot_tick_calculation Subroutine

Calculate appropriate tick labels at nice locations like matplotlib Ensures all labels have consistent formatting and nice round numbers

calculate_tick_labels_log fortplot_tick_scales Subroutine

Calculate logarithmic tick labels at powers of 10 with sub-ticks

calculate_tick_labels_symlog fortplot_tick_scales Subroutine

Calculate symlog tick labels with improved linear and log regions

calculate_x_axis_label_position fortplot_label_positioning Subroutine

Calculate X-axis label position (40px below plot)

calculate_x_label_position fortplot_label_positioning Subroutine

Calculate X-axis label position with matplotlib-style centering and spacing

calculate_x_tick_label_position fortplot_label_positioning Subroutine

Calculate X-axis tick label position using proper font metrics and matplotlib spacing

calculate_x_tick_label_position_pdf fortplot_label_positioning Subroutine

Calculate X-axis tick label position for PDF (Y=0 at bottom, increases upward)

calculate_y_axis_label_position fortplot_label_positioning Subroutine

Calculate Y-axis label position with proper spacing from tick labels

calculate_y_label_position fortplot_label_positioning Subroutine

Calculate Y-axis label position with right alignment and proper spacing

calculate_y_tick_label_position fortplot_label_positioning Subroutine

Calculate Y-axis tick label position using proper font metrics

calculate_y_tick_label_position_pdf fortplot_label_positioning Subroutine

Calculate Y-axis tick label position for PDF (Y=0 at bottom, increases upward)

check_command_available_runtime fortplot_system_commands Subroutine

Check if a command is available - with security restrictions

check_directory_exists fortplot_file_operations Subroutine

Check if a directory exists using inquire

check_ffmpeg_available fortplot_pipe Function
check_ffmpeg_available_timeout fortplot_pipe Function

Timeout-protected FFmpeg availability check for Windows CI

check_file_exists fortplot_doc_utils Function
check_path_exists fortplot_security_core Function

Check if a file or directory exists

check_termination fortplot_streamline Subroutine
check_utf8_sequence fortplot_unicode Subroutine

Check if UTF-8 sequence is valid and return its length

clamp_extreme_log_range fortplot_scales Subroutine

Clamp extreme logarithmic ranges to ensure usable plots

Read more…
clamp_to_unit fortplot_color_definitions Function

Clamp value to [0,1] range

cleanup_temp_file fortplot_system_viewer Subroutine

Remove temporary file (best effort, no error on failure)

cleanup_text_system fortplot_text_fonts Subroutine

Clean up text system resources

clear_color_cache fortplot_color_parsing Subroutine

Clear the color cache

clear_memory_backend fortplot_memory_backend Subroutine

Clear global memory backend

clear_streamline_data fortplot_figure_streamlines Subroutine

Clear streamline data

close_ffmpeg_pipe fortplot_pipe Function
codepoint_to_default_placeholder fortplot_unicode Subroutine

Convert unknown codepoint to default placeholder format

codepoint_to_lowercase_greek fortplot_unicode Function

Convert lowercase Greek codepoint to ASCII name

codepoint_to_uppercase_greek fortplot_unicode Function

Convert uppercase Greek codepoint to ASCII name

color_to_byte fortplot_raster_primitives Function

Convert floating-point color value [0,1] to byte [0,255]

colormap_value_to_color fortplot_colormap Subroutine

Convert data value to RGB color using colormap

compare_with_baseline fortplot_validation Function
compare_with_baseline_comprehensive fortplot_verification_reports Function

Enhanced baseline comparison with comprehensive analysis

composite_bitmap_to_raster fortplot_bitmap Subroutine

Composite 3D RGB bitmap directly onto raster image buffer

composite_image fortplot_bitmap Subroutine
compress_with_fixed_huffman fortplot_zlib_huffman Subroutine

Compress data using fixed Huffman codes with LZ77

compute_non_overlapping_mask fortplot_raster_ticks Subroutine

Compute which x-axis tick labels can be drawn without overlapping Always shows first and last labels, hides overlapping ones in between

compute_non_overlapping_mask_simple fortplot_raster_axes Subroutine
compute_scale_ticks fortplot_axes Subroutine

Compute tick positions for different scale types

Read more…
compute_streamplot_arrows fortplot_streamplot_arrow_utils Subroutine

Compute arrow metadata for streamlines based on trajectory geometry

compute_title_position fortplot_raster_labels Subroutine

Compute the position for centered title above plot area

compute_ylabel_x_pos fortplot_raster_axes Function
compute_ylabel_x_pos fortplot_raster_labels Function

Compute x-position for ylabel to avoid overlapping with y-tick labels

compute_ylabel_x_pos_old fortplot_raster_axes Function
configure_figure_dimensions fortplot_figure_initialization Subroutine

Configure figure dimensions

configure_grid fortplot_figure_grid Subroutine

Configure grid settings

contains_format_chars fortplot_format_parser Function

Check if a style string contains matplotlib format characters Returns false for named linestyles (solid, dashed, etc)

contains_pie_plot fortplot_figure_aspect Function

Detect whether a collection of plots contains at least one pie chart

contains_unicode fortplot_unicode Function

Check if text contains Unicode characters

contour fortplot_matplotlib_field_wrappers Subroutine
contour_filled fortplot_matplotlib_field_wrappers Subroutine
coordinates_from_centers fortplot_pcolormesh Subroutine

Infer vertex edges from center coordinates for uniform grids

copy_file_content fortplot_documentation Subroutine
core_add_contour fortplot_figure_core_operations Subroutine
core_add_contour_filled fortplot_figure_core_operations Subroutine
core_add_fill_between fortplot_figure_core_operations Subroutine
core_add_pcolormesh fortplot_figure_core_operations Subroutine
core_add_pie fortplot_figure_core_operations Subroutine
core_add_plot fortplot_figure_core_operations Subroutine
core_add_surface fortplot_figure_core_operations Subroutine
core_backend_arrow fortplot_figure_core_accessors Subroutine
core_backend_associated fortplot_figure_core_accessors Function
core_backend_color fortplot_figure_core_accessors Subroutine
core_backend_line fortplot_figure_core_accessors Subroutine
core_boxplot fortplot_figure_core_advanced Subroutine

Create a box plot

core_clear fortplot_figure_management Subroutine

Clear the figure for reuse, preserving backend settings

core_clear_streamlines fortplot_figure_management Subroutine
core_destroy fortplot_figure_management Subroutine
core_extract_png_data_for_animation fortplot_figure_core_accessors Subroutine
core_extract_rgb_data_for_animation fortplot_figure_core_accessors Subroutine
core_figure_legend fortplot_figure_core_utils Subroutine
core_get_height fortplot_figure_core_accessors Function
core_get_plot_count fortplot_figure_core_accessors Function
core_get_plots fortplot_figure_core_accessors Function
core_get_rendered fortplot_figure_core_accessors Function
core_get_width fortplot_figure_core_accessors Function
core_get_x_max fortplot_figure_core_accessors Function
core_get_x_min fortplot_figure_core_accessors Function
core_get_y_max fortplot_figure_core_accessors Function
core_get_y_min fortplot_figure_core_accessors Function
core_grid fortplot_figure_core_config Subroutine
core_hist fortplot_figure_core_advanced Subroutine

Create a histogram plot

core_initialize fortplot_figure_core_operations Subroutine
core_savefig fortplot_figure_core_operations Subroutine
core_savefig_with_status fortplot_figure_core_operations Subroutine
core_scatter fortplot_figure_core_advanced Subroutine

Add an efficient scatter plot using a single plot object Properly handles thousands of points without O(n) overhead

core_set_line_width fortplot_figure_core_config Subroutine
core_set_rendered fortplot_figure_core_accessors Subroutine
core_set_title fortplot_figure_core_config Subroutine
core_set_xlabel fortplot_figure_core_config Subroutine
core_set_xlim fortplot_figure_core_config Subroutine
core_set_xscale fortplot_figure_core_config Subroutine
core_set_ydata fortplot_figure_core_utils Subroutine
core_set_ylabel fortplot_figure_core_config Subroutine
core_set_ylim fortplot_figure_core_config Subroutine
core_set_yscale fortplot_figure_core_config Subroutine
core_setup_png_backend_for_animation fortplot_figure_core_accessors Subroutine
core_show fortplot_figure_core_operations Subroutine
core_streamplot fortplot_figure_core_operations Subroutine
crc32_calculate fortplot_zlib_core Function

Calculate CRC32 checksum using standard polynomial

create_ascii_canvas fortplot_ascii Function
create_directory_recursive fortplot_file_operations Subroutine

Recursively create directory path including parent directories

create_directory_runtime fortplot_file_operations Subroutine

Create directory with comprehensive security validation Issue #903: Allow legitimate user directories while preserving security

create_functionality_verifier fortplot_verification_core Function

Create and initialize functionality verifier

create_histogram_line_data fortplot_figure_histogram Subroutine

Create line data for histogram visualization as connected rectangles

create_legend fortplot_legend Function

Factory function following Dependency Inversion

create_output_directory save_animation_demo Subroutine
create_pdf_canvas fortplot_pdf Function
create_pdf_canvas_core fortplot_pdf_core Function
create_pdf_document fortplot_pdf_io Subroutine

Create complete PDF document structure

create_png_canvas fortplot_png Function
create_projection_matrix fortplot_projection Subroutine

Create 4x4 projection matrix for 3D to 2D transformation

create_raster_canvas fortplot_raster Function
create_raster_image fortplot_raster_core Function
create_regular_mesh_grid fortplot_pcolormesh Subroutine

Create 2D meshgrid from 1D coordinate arrays Used internally for regular grid setup

create_single_directory fortplot_file_operations Subroutine

Create a single directory level - robust cross-platform method

create_subplots fortplot_figure_subplots Subroutine

Create a grid of subplots

create_text_annotation fortplot_annotation_types Function

Create a text annotation with specified properties

data_to_screen_coords fortplot_animation_rendering Subroutine
default_gaussian_example colored_contours_example Subroutine
default_validation_context fortplot_validation_context Function
delete_file_runtime fortplot_file_operations Subroutine

SECURITY: File deletion disabled for security compliance

demo_3d_line_plots comprehensive_3d_demo Subroutine

Demonstrate 3D line plots with helices and parametric curves

demo_3d_scatter_plots comprehensive_3d_demo Subroutine

Demonstrate various 3D scatter plot patterns and combinations

demo_3d_surface_plots comprehensive_3d_demo Subroutine

Demonstrate 3D surface plots with different mathematical functions

demo_all_marker_types marker_demo Subroutine

Demonstrates all available marker types with realistic data

demo_basic_gradient pcolormesh_demo Subroutine

Basic pcolormesh with simple gradient - enhanced 51x51 grid

demo_basic_plots cmake_demo Subroutine
demo_different_colormaps pcolormesh_demo Subroutine

Demo different colormaps - enhanced 51x51 grid

demo_marker_colors marker_demo Subroutine

Demonstrates different colored markers with realistic data

demo_mixed_plots comprehensive_3d_demo Subroutine

Demonstrate mixing 2D and 3D plots, and combining different 3D types

demo_multiple_formats cmake_demo Subroutine
demo_object fill_between_demo Subroutine
demo_object_energy pie_chart_demo Subroutine
demo_object_grouped bar_chart_demo Subroutine
demo_scatter_plot marker_demo Subroutine

Creates a scatter plot to demonstrate markers in practical use

demo_scientific_visualization cmake_demo Subroutine
demo_sinusoidal_pattern pcolormesh_demo Subroutine

Pcolormesh with sinusoidal pattern - enhanced 51x51 grid

demo_stateful fill_between_demo Subroutine
demo_stateful_grouped bar_chart_demo Subroutine
demo_stateful_horizontal bar_chart_demo Subroutine
demo_stateful_sales pie_chart_demo Subroutine
destroy_raster_image fortplot_raster_core Subroutine
destroy_text_annotation fortplot_annotation_types Subroutine

Clean up text annotation resources

determine_decimal_places_from_step fortplot_tick_calculation Function

Determine decimal places based on step size for nice formatting

determine_decimals_from_ticks fortplot_tick_calculation Function

Determine decimal places from an array of tick positions. Uses the smallest non-zero spacing as representative step.

disable_fast_io fortplot_fast_io Subroutine

Disable fast I/O operations

distance_point_to_line_segment fortplot_raster_primitives Function

Calculate minimum distance from point to line segment

Read more…
dopri5_integrate fortplot_streamline_integrator Subroutine

Integrate streamline using DOPRI5 method with adaptive step size

draw_3d_axes fortplot_3d_axes Subroutine

Draw complete 3D axes frame with ticks and labels

Read more…
draw_ascii_arrow fortplot_ascii_drawing Subroutine

Draw arrow using Unicode directional characters for ASCII backend

draw_ascii_axes_and_labels fortplot_ascii_text Subroutine

Draw axes and labels for ASCII backend

draw_ascii_marker fortplot_ascii_drawing Subroutine
draw_backend_arrow fortplot_figure_accessors Subroutine

Draw arrow using backend

draw_backend_line fortplot_figure_accessors Subroutine

Draw line using backend

draw_basic_axes_frame fortplot_margins Subroutine

Draw basic rectangular axes frame Uses a procedure pointer to be backend-agnostic

draw_circle_antialiased fortplot_raster_markers Subroutine

Draw filled circle with antialiasing

Read more…
draw_circle_outline_antialiased fortplot_raster_markers Subroutine

Draw circle outline with antialiasing

Read more…
draw_circle_with_edge_face fortplot_raster_markers Subroutine

Draw circle with separate edge and face colors

Read more…
draw_diamond_with_edge_face fortplot_raster_markers Subroutine

Draw diamond marker with separate edge and face colors

draw_filled_quad fortplot_mesh_rendering Subroutine

Draw a filled quadrilateral

draw_filled_quad_raster fortplot_raster_primitives Subroutine

Draw filled quadrilateral using scanline algorithm

Read more…
draw_line_distance_aa fortplot_raster_primitives Subroutine

Draw antialiased line using distance-based approach

Read more…
draw_line_on_canvas fortplot_ascii_drawing Subroutine
draw_mixed_font_text fortplot_pdf_text_render Subroutine
draw_pdf_3d_axes_frame fortplot_pdf_axes Subroutine

Draw 3D axes frame - see issue #494 for implementation roadmap

draw_pdf_arrow fortplot_pdf_drawing Subroutine

Draw arrow marker in PDF

draw_pdf_arrow_at_coords fortplot_pdf_markers Subroutine
draw_pdf_axes_and_labels fortplot_pdf_axes Subroutine

Draw complete axes system with labels using actual plot area coordinates

draw_pdf_circle_with_outline fortplot_pdf_drawing Subroutine

Draw filled circle with outline in PDF

draw_pdf_diamond_with_outline fortplot_pdf_drawing Subroutine

Draw filled diamond with outline in PDF

draw_pdf_frame_with_area fortplot_pdf_axes Subroutine

Draw the plot frame using actual plot area coordinates (FIXED version)

draw_pdf_marker_at_coords fortplot_pdf_markers Subroutine
draw_pdf_mathtext fortplot_pdf_mathtext_render Subroutine

Draw text with mathematical notation

draw_pdf_square_with_outline fortplot_pdf_drawing Subroutine

Draw filled square with outline in PDF

draw_pdf_text fortplot_pdf_text_render Subroutine
draw_pdf_text_bold fortplot_pdf_text_render Subroutine
draw_pdf_text_direct fortplot_pdf_text_render Subroutine
draw_pdf_tick_labels_with_area fortplot_pdf_axes Subroutine

Draw tick labels using actual plot area coordinates (FIXED version)

draw_pdf_tick_marks_with_area fortplot_pdf_axes Subroutine

Draw tick marks using actual plot area coordinates (FIXED version)

draw_pdf_title_and_labels fortplot_pdf_axes Subroutine

Draw plot title and axis labels

draw_pdf_x_marker fortplot_pdf_drawing Subroutine

Draw X-shaped marker in PDF

draw_quad_edges fortplot_mesh_rendering Subroutine

Draw quadrilateral edges

draw_rotated_mixed_font_text fortplot_pdf_text_render Subroutine
draw_single_point_marker fortplot_marker_rendering Subroutine

Draw a visible marker for a single point This ensures single points are visible even without explicit markers

draw_square_with_edge_face fortplot_raster_markers Subroutine

Draw square marker with separate edge and face colors

draw_styled_line fortplot_raster_line_styles Subroutine

Draw line with pattern support (dashed, dotted, etc.)

draw_x_marker fortplot_raster_markers Subroutine

Draw X-shaped marker

emit_pdf_escape_or_fallback fortplot_pdf_text_segments Subroutine
enable_fast_io fortplot_fast_io Subroutine

Enable fast I/O operations

enforce_pie_axis_equal fortplot_figure_aspect Subroutine

Adjust the figure axis limits so pie charts render with equal scaling

ensure_directory_exists fortplot_utils Subroutine

Ensure output directory exists for a given filepath Extracts the parent directory and creates it securely using the runtime file operations with path validation.

ensure_fig_init fortplot_matplotlib_session Subroutine

Ensure the global figure exists and is initialized

ensure_global_figure_initialized fortplot_matplotlib_session Subroutine

Public wrapper to guarantee the singleton is ready for use

ensure_leading_zero fortplot_tick_formatting Subroutine

Ensure numbers like .5 become 0.5 for readability

errorbar fortplot_matplotlib_plot_wrappers Subroutine
errorbar fortplot_errorbar_plots Interface
errorbar_impl fortplot_errorbar_plots Subroutine

Add error bar plot to figure

escape_pdf_string fortplot_pdf_text_escape Subroutine

Escape special characters in PDF strings

escape_unicode_for_ascii fortplot_unicode Subroutine

Convert Unicode text to ASCII-compatible text for ASCII backend Processes UTF-8 input and converts Unicode characters to readable ASCII equivalents

escape_unicode_for_raster fortplot_unicode Subroutine

Pass through Unicode for raster rendering (STB TrueType supports Unicode)

estimate_pdf_text_width fortplot_pdf_text_metrics Function

Estimate rendered width (in PDF points) of a text string

export_to_ci_format fortplot_verification_reports Subroutine

Export results in CI-compatible format

extract_ascii_rgb_data fortplot_ascii_backend_support Subroutine

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

extract_contour_regions fortplot_contour_regions Function

Extract polygonal regions between contour levels using marching squares

Read more…
extract_figure_png_data_for_animation fortplot_figure_animation Subroutine

Extract PNG data for animation

extract_figure_rgb_data_for_animation fortplot_figure_animation Subroutine

Extract RGB data for animation

extract_frame_rgb_data fortplot_animation_rendering Subroutine
extract_latex_command fortplot_latex_parser Subroutine
extract_pdf_stream_text test_pdf_utils Subroutine
extract_png_data_for_animation_compat fortplot_figure_compatibility Subroutine

Extract PNG data for animation (compatibility wrapper)

extract_png_data_for_animation_figure fortplot_figure_core_compat Subroutine

Extract PNG data for animation

extract_png_for_animation fortplot_figure_accessors Subroutine

Extract PNG data for animation

extract_rgb_data_for_animation_compat fortplot_figure_compatibility Subroutine

Extract RGB data for animation (compatibility wrapper)

extract_rgb_data_for_animation_figure fortplot_figure_core_compat Subroutine

Extract RGB data for animation

extract_rgb_for_animation fortplot_figure_accessors Subroutine

Extract RGB data for animation

fast_file_exists fortplot_fast_io Function

Fast file existence check (may use memory backend)

fast_file_size fortplot_fast_io Function

Fast file size check (may use memory backend)

fast_savefig fortplot_fast_io Subroutine

Fast savefig that can use memory backend when appropriate

figure fortplot_matplotlib_session Subroutine

Create a matplotlib-style figure using the shared singleton

figure_add_contour fortplot_figure_plots Subroutine

Add a contour plot to the figure

figure_add_contour_filled fortplot_figure_plots Subroutine

Add a filled contour plot with color mapping

figure_add_contour_filled_operation fortplot_figure_operations Subroutine

Add a filled contour plot with color mapping

figure_add_contour_operation fortplot_figure_operations Subroutine

Add a contour plot to the figure

figure_add_fill_between fortplot_figure_plots Subroutine

Add an area fill between two curves

figure_add_fill_between_operation fortplot_figure_operations Subroutine

Add an area fill between two curves

figure_add_pcolormesh fortplot_figure_plots Subroutine

Add a pcolormesh plot

figure_add_pcolormesh_operation fortplot_figure_operations Subroutine

Add a pcolormesh plot

figure_add_pie fortplot_figure_plots Subroutine

Store pie chart slices using polar wedges with optional explode & colors

figure_add_pie_operation fortplot_figure_operations Subroutine

Add a pie chart to the figure

figure_add_plot fortplot_figure_plots Subroutine

Add a line plot to the figure

figure_add_plot_operation fortplot_figure_operations Subroutine

Add a line plot to the figure

figure_add_surface fortplot_figure_plots Subroutine

Add a 3D surface plot to the figure

figure_add_surface_operation fortplot_figure_operations Subroutine

Add a 3D surface plot to the figure

figure_backend_arrow fortplot_figure_properties_new Subroutine

Draw arrow using backend property

figure_backend_associated fortplot_figure_properties_new Function

Get backend association property

figure_backend_color fortplot_figure_properties_new Subroutine

Set backend color property

figure_backend_line fortplot_figure_properties_new Subroutine

Draw line using backend property

figure_boxplot_operation fortplot_figure_operations Subroutine

Create a box plot

figure_clear fortplot_figure_management Subroutine

Clear the figure to prepare for reuse (preserving backend settings)

figure_clear_streamlines fortplot_figure_management Subroutine

Clear streamline data

figure_destroy fortplot_figure_management Subroutine

Finalize and clean up figure

figure_extract_png_data_for_animation fortplot_figure_management Subroutine

Extract PNG data for animation

figure_extract_rgb_data_for_animation fortplot_figure_management Subroutine

Extract RGB data for animation

figure_get_height fortplot_figure_properties_new Function

Get figure height property

figure_get_plot_count fortplot_figure_properties_new Function

Get figure plot count property

figure_get_plots fortplot_figure_properties_new Function

Get figure plots property

figure_get_rendered fortplot_figure_properties_new Function

Get figure rendered property

figure_get_width fortplot_figure_properties_new Function

Get figure width property

figure_get_x_max fortplot_figure_properties_new Function

Get x maximum property

figure_get_x_min fortplot_figure_properties_new Function

Get x minimum property

figure_get_y_max fortplot_figure_properties_new Function

Get y maximum property

figure_get_y_min fortplot_figure_properties_new Function

Get y minimum property

figure_grid_operation fortplot_figure_operations Subroutine

Enable/disable and configure grid lines

figure_hist_operation fortplot_figure_operations Subroutine

Create a histogram plot

figure_initialize fortplot_figure_management Subroutine

Initialize the figure with specified dimensions and backend

figure_legend_operation fortplot_figure_operations Subroutine

Add legend to figure

figure_render fortplot_figure_render_engine Subroutine

Render a figure, handling both single-axis and subplot layouts.

figure_savefig fortplot_figure_management Subroutine

Save figure to file (backward compatibility version)

figure_savefig_with_status fortplot_figure_management Subroutine

Save figure to file with error status reporting

figure_scatter_operation fortplot_figure_operations Subroutine

Add an efficient scatter plot using a single plot object

figure_set_line_width_operation fortplot_figure_operations Subroutine

Set line width for subsequent plots

figure_set_rendered fortplot_figure_properties_new Subroutine

Set figure rendered property

figure_set_title_operation fortplot_figure_operations Subroutine

Set figure title

figure_set_xlabel_operation fortplot_figure_operations Subroutine

Set x-axis label

figure_set_xlim_operation fortplot_figure_operations Subroutine

Set x-axis limits

figure_set_xscale_operation fortplot_figure_operations Subroutine

Set x-axis scale type

figure_set_ydata_operation fortplot_figure_operations Subroutine

Update y data for an existing plot

figure_set_ylabel_operation fortplot_figure_operations Subroutine

Set y-axis label

figure_set_ylim_operation fortplot_figure_operations Subroutine

Set y-axis limits

figure_set_yscale_operation fortplot_figure_operations Subroutine

Set y-axis scale type

figure_setup_png_backend_for_animation fortplot_figure_management Subroutine

Setup PNG backend for animation

figure_show fortplot_figure_management Subroutine

Display the figure

figure_streamplot_operation fortplot_figure_operations Subroutine

Add streamline plot to figure using basic algorithm

figure_subplot_plot fortplot_figure_management Subroutine

Add a plot to a specific subplot

figure_subplot_plot_count fortplot_figure_management Function

Get the number of plots in a specific subplot

figure_subplot_set_title fortplot_figure_management Subroutine

Set the title for a specific subplot

figure_subplot_set_xlabel fortplot_figure_management Subroutine

Set the x-axis label for a specific subplot

figure_subplot_set_ylabel fortplot_figure_management Subroutine

Set the y-axis label for a specific subplot

figure_subplot_title fortplot_figure_management Function

Get the title for a specific subplot

figure_subplots fortplot_figure_management Subroutine

Create a grid of subplots

figure_update_data_ranges fortplot_figure_properties_new Subroutine

Update data ranges based on current plot

figure_update_data_ranges_boxplot fortplot_figure_properties_new Subroutine

Update data ranges after adding boxplot - delegate to ranges module

figure_update_data_ranges_pcolormesh fortplot_figure_properties_new Subroutine

Update data ranges after adding pcolormesh plot - delegate to ranges module

file_exists fortplot_doc_utils Function
fill fortplot_matplotlib_plots_new Subroutine

Fill the area under a curve

fill_ascii_heatmap fortplot_ascii_drawing Subroutine

Fill ASCII canvas with heatmap representation of 2D data

fill_between fortplot_matplotlib_plots_new Subroutine

Fill the area between two curves

fill_horizontal_line fortplot_raster_rendering Subroutine

Fill horizontal line segment

fill_triangle fortplot_raster_rendering Subroutine

Fill triangle using barycentric coordinates

finalize_pdf_stream fortplot_pdf_core Subroutine
find_all_latex_commands fortplot_latex_parser Subroutine
find_any_available_font fortplot_text_fonts Function

Find any available font using same priority order as system initialization

find_font_by_name fortplot_text_fonts Function

Find font by name in typical system locations

find_latex_command fortplot_latex_parser Subroutine
find_nice_tick_locations fortplot_tick_calculation Subroutine

Find nice tick locations following matplotlib's MaxNLocator algorithm exactly

find_subsequence test_pdf_utils Function
format_log_tick_value fortplot_tick_formatting Function

Format logarithmic tick values using scientific notation like matplotlib

format_number annotation_demo Function

Simple number formatting for annotations

format_power_of_ten_label fortplot_tick_formatting Function

Build a mathtext-friendly power-of-ten label: 10^{n} or -10^{n}

format_tick_label fortplot_axes Function

Format a tick value as a string label

Read more…
format_tick_value fortplot_tick_formatting Function

Format tick value based on data range like matplotlib

format_tick_value_consistent fortplot_tick_calculation Function

Format tick value with consistent decimal places for uniform appearance

format_tick_value_smart fortplot_tick_formatting Function

Smart tick value formatting with automatic exponential notation for long labels Limits output to max_chars and uses exponential notation when needed

fpart fortplot_raster_primitives Function

Fractional part of floating-point number

Read more…
FuncAnimation fortplot_animation_core Function
gaussian_contours contour_demo Subroutine
generate_default_contour_levels fortplot_figure_plot_management Subroutine

Generate default contour levels

generate_evidence_report fortplot_verification_reports Subroutine

Generate technical evidence report

generate_scale_aware_tick_labels fortplot_tick_scales Subroutine

Generate tick labels based on scale type - common function for all backends

generate_spiral_seeds fortplot_streamline_placement Subroutine

Generate seed points in spiral pattern starting from boundary Implements matplotlib's _gen_starting_points algorithm

generate_streamlines fortplot_streamplot_core Subroutine

Generate streamlines using matplotlib-compatible algorithm

generate_summary_report fortplot_verification_reports Subroutine

Generate comprehensive summary

generate_tick_data fortplot_pdf_axes Subroutine

Generate tick positions and labels for axes Refactored to be under 100 lines (QADS compliance)

get_active_axis fortplot_matplotlib_axes Function
get_actual_text_dimensions fortplot_legend_layout Function

Get actual text dimensions using text system measurements
Returns [width, height] in data coordinates

get_ascii_png_data fortplot_ascii_backend_support Subroutine

Get PNG data from ASCII backend (not supported)

get_axis_tick_positions fortplot_margins Subroutine

Generate tick mark positions for basic axes

get_backend_from_filename fortplot_utils Function

Determine backend type from file extension

Read more…
get_blend_char fortplot_ascii_utils Function
get_cache_hit_rate fortplot_color_parsing Function

Get cache hit rate for performance monitoring

get_char_density fortplot_ascii_utils Function
get_ci_monitor fortplot_ci_performance_monitor Function

Get global CI performance monitor

get_colormap_color fortplot_colormap Subroutine

Get RGB color from colormap for a normalized value [0,1]

get_contour_lines fortplot_contour_algorithms Subroutine

Extract contour lines from a cell using marching squares

get_default_marker fortplot_markers Function

Get default marker style

get_default_view_angles fortplot_projection Subroutine

Get default viewing angles matching matplotlib

get_error_message fortplot_errors Function

Get descriptive error message for status code

get_example_count fortplot_documentation Function
get_example_dir fortplot_documentation Subroutine
get_example_name fortplot_documentation Subroutine
get_example_run_target fortplot_documentation Subroutine
get_fast_io_stats fortplot_fast_io Subroutine

Get fast I/O statistics

get_fast_temp_dir fortplot_windows_performance Function

Get Windows performance-optimized temporary directory Priority order for Windows performance: 1. RAMDISK if available (fastest) 2. Local temp directory 3. System temp directory

get_figure_height fortplot_figure_accessors Function

Get figure height from state

get_figure_height_compat fortplot_figure_compatibility Function

Get figure height (compatibility wrapper)

get_figure_plot_count fortplot_figure_accessors Function

Get number of plots from state

get_figure_plot_count_compat fortplot_figure_compatibility Function

Get number of plots (compatibility wrapper)

get_figure_plots fortplot_figure_accessors Function

Get pointer to plots array

get_figure_rendered fortplot_figure_accessors Function

Get rendered state

get_figure_rendered_compat fortplot_figure_compatibility Function

Get rendered state (compatibility wrapper)

get_figure_width fortplot_figure_accessors Function

Get figure width from state

get_figure_width_compat fortplot_figure_compatibility Function

Get figure width (compatibility wrapper)

get_figure_x_max fortplot_figure_accessors Function

Get x maximum value from state

get_figure_x_max_compat fortplot_figure_compatibility Function

Get x maximum value (compatibility wrapper)

get_figure_x_min fortplot_figure_accessors Function

Get x minimum value from state

get_figure_x_min_compat fortplot_figure_compatibility Function

Get x minimum value (compatibility wrapper)

get_figure_y_max fortplot_figure_accessors Function

Get y maximum value from state

get_figure_y_max_compat fortplot_figure_compatibility Function

Get y maximum value (compatibility wrapper)

get_figure_y_min fortplot_figure_accessors Function

Get y minimum value from state

get_figure_y_min_compat fortplot_figure_compatibility Function

Get y minimum value (compatibility wrapper)

get_file_extension fortplot_doc_utils Function
get_file_extension fortplot_animation_validation Function
get_font_ascent_ratio fortplot_text_fonts Function

Get font ascent ratio for baseline positioning

get_font_metrics fortplot_text_fonts Subroutine

Get font metrics in pixels for current font and scale

get_font_scale fortplot_text_fonts Function
get_font_scale_for_size fortplot_text_fonts Function

Get font scale for a specific pixel height

get_fortran_filename fortplot_documentation Subroutine
get_global_figure fortplot_matplotlib_session Function

Return the global figure pointer, initializing on demand

get_global_font fortplot_text_fonts Function
get_height_figure fortplot_figure_core_compat Function

Get figure height

get_legend_margins fortplot_legend_layout Function

Get appropriate margins for legend placement DRY: Centralized margin calculation

get_line_pattern fortplot_line_styles Subroutine

Get line pattern array for given style Following DRY principle - centralized pattern definitions

get_log_level fortplot_logging Function

Get the current global logging level Returns one of: LOG_LEVEL_SILENT, LOG_LEVEL_ERROR, LOG_LEVEL_WARNING, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG

get_marker_size fortplot_markers Function

Get standardized marker size for given style Eliminates magic number duplication across backends

get_memory_backend fortplot_memory_backend Function

Get global memory backend instance

get_output_title fortplot_documentation Function
get_parent_directory fortplot_path_operations Function

Extract parent directory from a path

get_pattern_length fortplot_line_styles Function

Calculate total length of pattern cycle Following KISS principle - simple sum calculation

get_performance_config fortplot_windows_performance Function

Get current performance configuration

get_plot_count_figure fortplot_figure_core_compat Function

Get number of plots

get_png_data fortplot_png Subroutine
get_rendered_figure fortplot_figure_core_compat Function

Get rendered state

get_subplot_plot_count fortplot_figure_subplots Function

Get the number of plots in a specific subplot

get_subplot_title fortplot_figure_subplots Function

Get the title for a specific subplot

get_temp_filename fortplot_system_viewer Subroutine

Generate unique temporary filename with proper platform handling

get_test_output_path fortplot_security_core Function

Get safe test output path

get_test_temp_dir fortplot_windows_test_helper Function

Get appropriate temporary directory for tests

get_warning_count fortplot_validation_context Function
get_width_figure fortplot_figure_core_compat Function

Get figure width

get_windows_safe_tolerance fortplot_windows_test_helper Function

Get Windows-safe numerical tolerance

get_windows_timeout_ms fortplot_system_timeout Function

Get appropriate timeout for Windows CI operations with aggressive optimization

get_x_max_figure fortplot_figure_core_compat Function

Get x maximum value

get_x_min_figure fortplot_figure_core_compat Function

Get x minimum value

get_y_max_figure fortplot_figure_core_compat Function

Get y maximum value

get_y_min_figure fortplot_figure_core_compat Function

Get y minimum value

grid fortplot_matplotlib_axes Subroutine
grid_figure fortplot_figure_core_config Subroutine

Enable/disable and configure grid lines

has_graphical_session fortplot_system_viewer Function

Check if a graphical session is available Returns .true. if X11, Wayland, macOS GUI, or Windows GUI available

has_machine_precision_issues fortplot_coordinate_validation Function

Check if coordinates are too close together for reliable rendering

has_mathtext fortplot_text_layout Function

Check if text contains math segments delimited by '$...$'

hist fortplot_matplotlib_plot_wrappers Subroutine
hist_figure fortplot_figure_histogram Subroutine

Add histogram to figure plots array

hist_impl fortplot_plot_statistics Subroutine

Add histogram

histogram fortplot_matplotlib_plot_wrappers Subroutine
imshow fortplot_matplotlib_plots_new Subroutine

Display 2D array as an image (heatmap)

init_line_plot_data fortplot_2d_plots Subroutine

Initialize basic line plot data

init_text_system fortplot_text_fonts Function

Initialize STB TrueType font system with robust font discovery

initialize_backend fortplot_utils Subroutine

Initialize the appropriate backend based on type

Read more…
initialize_figure_state fortplot_figure_initialization Subroutine

Initialize figure state with specified parameters Added Issue #854: Parameter validation for user input safety

initialize_pdf_stream fortplot_pdf_core Subroutine
initialize_warning_suppression fortplot_logging Subroutine

Initialize warning suppression based on environment variables Supports manual control and automatic CI detection

initialize_white_background fortplot_bitmap Subroutine
initialize_zlib_debug fortplot_zlib_core Subroutine

Initialize debug logging based on FORTPLOT_ZLIB_DEBUG environment variable

integrate_streamline fortplot_streamline Subroutine
integrate_streamline_bidirectional fortplot_streamline Subroutine

Bidirectional streamline integration like matplotlib Integrates both forward and backward from seed point for complete streamlines

integrate_streamline_dopri5 fortplot_streamline Subroutine

High-accuracy streamline integration using DOPRI5 method Provides adaptive step size control and superior accuracy

interpolate_edge_crossings fortplot_contour_algorithms Subroutine

Interpolate the positions where contour crosses cell edges

interpolate_z_bilinear fortplot_interpolation Subroutine

Bilinear interpolation of Z value at world coordinates Refactored to be under 100 lines (QADS compliance)

ipart fortplot_raster_primitives Function

Integer part of floating-point number

Read more…
is_annotation_visible fortplot_annotation_coordinates Function

Check if annotation is visible within plot area

is_autopct_text fortplot_ascii_utils Function
is_backend_associated fortplot_figure_accessors Function

Check if backend is allocated

is_ci_environment fortplot_windows_performance Function

Check if running in CI environment

is_debug_enabled fortplot_os_detection Function

Check if debug logging is enabled via environment variable Uses a C helper wrapping getenv() to ensure dynamic updates from the current process environment are observed reliably.

is_empty_array fortplot_coordinate_validation Function

Check if arrays are empty

is_error fortplot_errors Function

Check if status code indicates an error

is_finite_safe fortplot_parameter_validation Function
is_font_initialized fortplot_text_fonts Function
is_greek_letter_codepoint fortplot_unicode Function

Check if codepoint is a Greek letter

is_interactive_environment fortplot_figure_utilities Function

Determine if we're running in an interactive environment Returns false for CI, batch, or piped environments

is_legend_entry_text fortplot_ascii_utils Function
is_nan_safe fortplot_parameter_validation Function
is_registered_legend_label fortplot_ascii_utils Function
is_safe_filename fortplot_animation_validation Function
is_safe_path fortplot_security_core Function

Check if path is safe from injection attacks

is_supported_video_format fortplot_animation_validation Function
is_unicode_char fortplot_unicode Function

Check if a character is Unicode (multi-byte)

is_valid_color fortplot_color_parsing Function

Check if color string is valid without full parsing

is_valid_greek_command fortplot_latex_parser Function
is_valid_single_point fortplot_coordinate_validation Function

Check if arrays represent a valid single point

is_warning_tracking_active fortplot_validation_context Function
is_warnings_suppressed fortplot_logging Function

Check if warnings are currently suppressed

is_windows fortplot_os_detection Function

Detect if running on Windows at runtime

latex_to_unicode fortplot_latex_parser Subroutine
launch_system_viewer fortplot_system_viewer Subroutine

Launch system viewer for file Uses xdg-open on Linux, open on macOS, start on Windows

legend fortplot_matplotlib_axes Subroutine
legend_box_styling_example legend_demo Subroutine

Demonstrate legend box styling and multiple entries

legend_render fortplot_legend Subroutine

Render legend following Liskov Substitution Works with any backend that implements plot_context interface

list_directory_entries fortplot_directory_listing Subroutine

List files and direct child directories without recursion

load_font_system fortplot_annotation_layout Subroutine

Load font system from specified path

log_debug fortplot_logging Subroutine

Log a debug message

log_error fortplot_logging Subroutine

Log an error message

log_error fortplot_errors Subroutine

Log error message to error unit

log_info fortplot_logging Subroutine

Log an informational message

log_scale_demo scale_examples Subroutine
log_warning fortplot_logging Subroutine

Log a warning message with suppression support Respects FORTPLOT_SUPPRESS_WARNINGS and CI environment detection

lowercase_string fortplot_doc_utils Function
map_grid_index_to_coord fortplot_streamplot_arrow_utils Function

Convert matplotlib-style grid index to data coordinate

map_unix_to_windows_path fortplot_path_operations Function

Map Unix-style /tmp paths to Windows-compatible paths

map_value_to_plot_x fortplot_raster_axes Function

Map a data value to pixel X coordinate using axis scale

map_value_to_plot_y fortplot_raster_axes Function

Map a data value to pixel Y coordinate using axis scale Raster coordinates have Y increasing downward; account for that here.

mixed_colormap_comparison colored_contours_example Subroutine
mixed_contour_line_plot contour_demo Subroutine
multi_function_legend_example legend_demo Subroutine

Complex legend with multiple mathematical functions

multi_line_plot basic_plots Subroutine
next_plot_color fortplot_figure_plot_management Function

Determine the next color from the figure palette using plot count

normalize_path_separators fortplot_path_operations Function

Normalize path separators for the target platform

normalize_test_path fortplot_windows_test_helper Function

Normalize path for cross-platform compatibility

normalize_to_pdf_coords fortplot_pdf_coordinate Subroutine
only_pie_plots fortplot_figure_aspect Function

Check if every plot in the collection is a pie chart

open_ffmpeg_pipe fortplot_pipe Function
open_with_default_app_runtime fortplot_system_commands Subroutine

Open file with default application - SECURITY: Disabled for compliance

output_to_file fortplot_ascii_rendering Subroutine
output_to_terminal fortplot_ascii_rendering Subroutine
parse_boolean_env fortplot_string_utils Function

Case-insensitive parse for common boolean-ish strings.

parse_color fortplot_color_parsing Subroutine

Parse matplotlib-compatible color string to RGB values [0,1]

parse_color_rgba fortplot_color_parsing Subroutine

Parse color string to RGBA values [0,1] including alpha channel

parse_colors_bulk fortplot_color_parsing Subroutine

Parse multiple colors efficiently

parse_format_string fortplot_format_parser Subroutine
parse_mathtext fortplot_mathtext Function

Parse mathematical text into renderable elements

parse_path_segments fortplot_path_operations Subroutine

Parse a path into directory segments

pcolormesh fortplot_matplotlib_field_wrappers Subroutine
pdf_calculate_legend_dimensions fortplot_pdf_coordinate Subroutine
pdf_calculate_legend_position fortplot_pdf_coordinate Subroutine
pdf_extract_rgb_data fortplot_pdf_coordinate Subroutine
pdf_get_height_scale fortplot_pdf_coordinate Function

Get height scale - now returns 1.0 since page size matches figure size

pdf_get_png_data fortplot_pdf_coordinate Subroutine
pdf_get_width_scale fortplot_pdf_coordinate Function

Get width scale - now returns 1.0 since page size matches figure size

pdf_prepare_3d_data fortplot_pdf_coordinate Subroutine
pdf_render_legend_specialized fortplot_pdf_coordinate Subroutine
pdf_render_ylabel fortplot_pdf_coordinate Subroutine
pdf_set_legend_border_width fortplot_pdf_coordinate Subroutine
pdf_set_marker_colors fortplot_pdf_markers Subroutine
pdf_set_marker_colors_with_alpha fortplot_pdf_markers Subroutine
pie fortplot_matplotlib_plots_new Subroutine

Create a pie chart

plasma_saddle_example colored_contours_example Subroutine
plot fortplot_matplotlib_plot_wrappers Subroutine
png_validation_available fortplot_png_validation Function

Legacy API: external tool check disabled for security compliance Always returns .false. to avoid shell-based validation paths

polar fortplot_matplotlib_plots_new Subroutine

Create a polar plot

positioned_legend_example legend_demo Subroutine

Demonstrate different legend positions

prepare_ascii_3d_data fortplot_ascii_backend_support Subroutine

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

prepare_mathtext_if_needed fortplot_text_helpers Subroutine

Return trimmed text and leave math parsing decisions to explicit $...$ delimiters.

preprocess_math_text fortplot_text_layout Subroutine

Remove '$' delimiters and escape '^'/'_' outside math so they render literally

print_centered_title fortplot_ascii_utils Subroutine

Print centered title to terminal with Unicode-to-ASCII conversion

process_example fortplot_documentation Subroutine
process_latex_in_text fortplot_latex_parser Subroutine

Convert LaTeX-style commands to Unicode while preserving math scopes

process_rotated_text_segments fortplot_pdf_text_segments Subroutine

Process text segments for rotated mixed font rendering

process_text_segments fortplot_pdf_text_segments Subroutine

Process text segments for mixed font rendering Groups consecutive glyphs for the same font into a single Tj to avoid odd intra-word spacing in some PDF viewers.

project_3d_to_2d fortplot_projection Subroutine

Project 3D coordinates to 2D using orthographic projection

raster_calculate_legend_dimensions fortplot_raster_rendering Subroutine

Calculate legend dimensions for PNG using real text metrics (pixels)

raster_calculate_legend_position fortplot_raster_rendering Subroutine

Calculate standard legend position for PNG using plot coordinates

raster_draw_axes_and_labels fortplot_raster_axes Subroutine

Draw axes and labels for raster backends

raster_draw_axes_lines_and_ticks fortplot_raster_axes Subroutine

Draw axes lines and tick marks WITHOUT labels (for proper drawing order)

raster_draw_axis_labels fortplot_raster_labels Subroutine

Draw all axis labels (title, xlabel, ylabel)

raster_draw_axis_labels_only fortplot_raster_axes Subroutine

Draw ONLY axis labels and tick labels (for proper drawing order)

raster_draw_secondary_x_axis_top fortplot_raster_axes Subroutine
raster_draw_secondary_y_axis fortplot_raster_axes Subroutine
raster_draw_top_xlabel fortplot_raster_labels Subroutine

Render an xlabel centered above the plot area

raster_draw_x_axis_tick_labels_only fortplot_raster_ticks Subroutine

Draw only x-axis tick labels (no marks)

raster_draw_x_axis_tick_labels_only_top fortplot_raster_ticks Subroutine

Draw x-axis tick labels on the top side (no marks)

raster_draw_x_axis_tick_marks_only fortplot_raster_ticks Subroutine

Draw only x-axis tick marks (no labels)

raster_draw_x_axis_tick_marks_only_top fortplot_raster_ticks Subroutine

Draw x-axis tick marks on the top side (no labels)

raster_draw_x_axis_ticks fortplot_raster_ticks Subroutine

Draw x-axis tick marks and labels

raster_draw_x_axis_ticks_top fortplot_raster_ticks Subroutine

Draw x-axis tick marks and labels along the top side

raster_draw_y_axis_tick_labels_only fortplot_raster_ticks Subroutine

Draw only y-axis tick labels (no marks)

raster_draw_y_axis_tick_labels_only_right fortplot_raster_ticks Subroutine

Draw y-axis tick labels on the right side (no marks)

raster_draw_y_axis_tick_marks_only fortplot_raster_ticks Subroutine

Draw only y-axis tick marks (no labels)

raster_draw_y_axis_tick_marks_only_right fortplot_raster_ticks Subroutine

Draw y-axis tick marks on the right side (no labels)

raster_draw_y_axis_ticks fortplot_raster_ticks Subroutine

Draw y-axis tick marks and labels

raster_draw_y_axis_ticks_right fortplot_raster_ticks Subroutine

Draw y-axis tick marks and labels along the right side

raster_extract_rgb_data fortplot_raster_rendering Subroutine

Extract RGB data from PNG backend

raster_fill_heatmap fortplot_raster_rendering Subroutine

Fill contour plot using scanline method for pixel-by-pixel rendering

raster_fill_quad fortplot_raster_rendering Subroutine

Fill quadrilateral with current color

raster_get_png_data fortplot_raster_rendering Subroutine

Raster context doesn't generate PNG data - only PNG context does

raster_prepare_3d_data fortplot_raster_rendering Subroutine

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

raster_render_legend_specialized fortplot_raster_rendering Subroutine

Render legend using standard algorithm for PNG

raster_render_ylabel fortplot_raster_labels Subroutine

Render rotated ylabel to the left of y-axis

raster_render_ylabel_right fortplot_raster_labels Subroutine

Render rotated ylabel along the right side of the axis

raster_set_legend_border_width fortplot_raster_rendering Subroutine

Set thin border width for PNG legend

register_legend_entry_helper fortplot_ascii_legend Subroutine

Register a legend entry for processing

register_save_implementation fortplot_animation Subroutine
remove_trailing_zeros fortplot_tick_formatting Subroutine

Remove trailing zeros from decimal representation

render_all_plots fortplot_figure_rendering_pipeline Subroutine

Render all plots in the figure

render_ascii_axes fortplot_ascii_backend_support Subroutine

Render axes for ASCII context (stub implementation)

render_ascii_legend fortplot_legend Subroutine

Render compact ASCII legend with proper formatting

render_ascii_legend_specialized fortplot_ascii_legend Subroutine

Render legend using ASCII-specific compact layout

render_ascii_ylabel fortplot_ascii_backend_support Subroutine

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

render_bar_plot fortplot_bar_rendering Subroutine

Render bar plots (vertical or horizontal) for the active backend

render_boxplot_plot fortplot_boxplot_rendering Subroutine

Render a single box plot (vertical or horizontal)

render_contour_plot fortplot_contour_rendering Subroutine

Render a contour plot

render_errorbar_plot fortplot_errorbar_rendering Subroutine

Render error bars for a plot

render_figure_annotations fortplot_annotation_rendering Subroutine

Render all annotations for the current figure

Read more…
render_figure_axes fortplot_figure_rendering_pipeline Subroutine

Render figure axes and labels For raster backends, split rendering to prevent label overlap issues

render_figure_axes_labels_only fortplot_figure_rendering_pipeline Subroutine

Render ONLY axis labels (for raster backends after plots are drawn)

render_figure_background fortplot_figure_rendering_pipeline Subroutine

Render figure background

render_figure_components fortplot_animation_rendering Subroutine
render_figure_impl fortplot_figure_core_io Subroutine

Main rendering pipeline implementation Fixed Issue #432: Always render axes/labels even with no plot data Fixed Issue #844: ASCII annotation functionality

render_fill_between_plot fortplot_mesh_rendering Subroutine

Render fill_between polygons as trapezoids

render_frame_to_png fortplot_animation_rendering Subroutine
render_grid_lines fortplot_figure_grid Subroutine

Render grid lines on the figure

render_line_plot fortplot_line_rendering Subroutine

Render a line plot with proper scaling and clipping

render_markers fortplot_marker_rendering Subroutine

Render markers for a plot

render_mathtext_element_pdf fortplot_pdf_mathtext_render Subroutine

Render a single mathematical text element in PDF

render_mathtext_elements fortplot_mathtext Subroutine

Render mathematical text elements to image This function signature is used by text_rendering but implementation moved there

render_mixed_font_at_position fortplot_pdf_text_segments Subroutine

Render text with mixed fonts at specific position and size

render_mixed_text fortplot_pdf_axes Subroutine

PDF needs Unicode superscripts converted to mathtext for proper rendering

render_pcolormesh_plot fortplot_mesh_rendering Subroutine

Render a pcolormesh plot

render_pie_plot fortplot_pie_rendering Subroutine

Render pie slices using triangle fans per wedge

render_polar_examples polar_demo Subroutine
render_rotated_text_to_image fortplot_raster_text_rendering Subroutine

Render rotated text to PNG image using STB TrueType with UTF-8 support

render_solid_line fortplot_line_rendering Subroutine

Render a solid line connecting all points

render_standard_legend fortplot_legend Subroutine

Render standard legend for PNG/PDF backends with improved sizing Refactored to be under 100 lines (QADS compliance)

render_streamplot_arrows fortplot_figure_rendering_pipeline Subroutine

Render queued streamplot arrows after plot lines are drawn

render_text_elements_to_canvas fortplot_ascii_utils Subroutine

Render stored text elements onto the ASCII canvas with Unicode-to-ASCII conversion

render_text_to_bitmap fortplot_bitmap Subroutine

Render text to RGB bitmap by using existing PNG rendering then converting

render_text_to_image fortplot_raster_text_rendering Subroutine

Render text to image using STB TrueType with UTF-8 support Supports mathematical notation with superscripts and subscripts

render_text_with_size fortplot_raster_text_rendering Subroutine

Render text with specific font size Supports mathematical notation with superscripts and subscripts

render_title_centered fortplot_raster_labels Subroutine

Render title centered above the plot area

render_title_only fortplot_figure_rendering_pipeline Subroutine

Render only the figure title without drawing axes

replace_extension fortplot_doc_utils Function
replace_stream_arrows fortplot_streamplot_arrow_utils Subroutine

Replace figure state stream arrows and manage rendered flag

reset_ascii_legend_lines_helper fortplot_ascii_legend Subroutine

Reset ASCII legend lines array

reset_figure_state fortplot_figure_initialization Subroutine

Reset figure state to initial values

reset_pattern_distance fortplot_raster_line_styles Subroutine

Reset pattern distance to start of pattern

reset_warning_tracking fortplot_validation_context Subroutine
rfpart fortplot_raster_primitives Function

Reverse fractional part (1 - fractional part)

Read more…
rgb_to_hsv fortplot_color_conversions Subroutine

Convert RGB to HSV color space

rgb_to_lab fortplot_color_conversions Subroutine

Convert RGB to LAB color space (simplified implementation)

rk4_step fortplot_streamline Subroutine
rotate_bitmap_90_ccw fortplot_bitmap Subroutine

Rotate bitmap 90 degrees counter-clockwise For arrays: (i,j) maps to (height-j+1, i) with swapped dimensions

rotate_bitmap_90_cw fortplot_bitmap Subroutine

Rotate bitmap 90 degrees clockwise
For arrays: (i,j) maps to (j, width-i+1) with swapped dimensions

run_comprehensive_verification fortplot_verification_reports Subroutine

Main entry point for comprehensive verification

safe_coordinate_transform fortplot_pdf_coordinate Subroutine

Safe coordinate transformation using independent x/y scales

safe_create_directory fortplot_security_core Subroutine

Safely create directory without shell injection

safe_remove_file fortplot_security_core Subroutine

Safely remove file

sanitize_filename fortplot_security_core Function

Sanitize filename by removing dangerous characters

save_animation fortplot_animation Subroutine
save_animation_full fortplot_animation_pipeline Subroutine
save_animation_with_error_handling save_animation_demo Subroutine
save_animation_with_pipeline fortplot_animation_pipeline Subroutine
save_ascii_with_status fortplot_figure_io Subroutine

Save ASCII file with status reporting

save_backend_with_status fortplot_figure_io Subroutine

Save the figure with appropriate backend based on file extension

save_pdf_with_status fortplot_figure_io Subroutine

Save PDF file with status reporting

save_png_with_status fortplot_figure_io Subroutine

Save PNG file with status reporting

savefig fortplot_matplotlib_session Subroutine

Save current figure using matplotlib-compatible API

savefig_figure fortplot_figure_core_io Subroutine

Save figure to file (backward compatibility version)

savefig_with_status fortplot_matplotlib_session Subroutine

Save figure and return status code for testing scenarios

savefig_with_status_figure fortplot_figure_core_io Subroutine

Save figure to file with error status reporting Added Issue #854: File path validation for user input safety

scan_directory_for_media fortplot_documentation Subroutine
scatter fortplot_matplotlib_plot_wrappers Subroutine
select_font_family fortplot_annotation_layout Subroutine

Select font family with fallback mechanism

set_ascii_legend_border_width fortplot_ascii_legend Subroutine

ASCII doesn't use line widths - no-op

set_backend_color fortplot_figure_accessors Subroutine

Set backend color

set_figure_labels fortplot_figure_initialization Subroutine

Set figure labels

set_figure_limits fortplot_figure_initialization Subroutine

Set axis limits

set_figure_rendered fortplot_figure_accessors Subroutine

Set rendered state

set_figure_rendered_compat fortplot_figure_compatibility Subroutine

Set rendered state (compatibility wrapper)

set_figure_scales fortplot_figure_initialization Subroutine

Set axis scale types

set_line_plot_properties fortplot_2d_plots Subroutine

Set line plot properties (style, color, etc.) Extracted from add_line_plot_data for QADS compliance

set_line_width fortplot_matplotlib_axes Subroutine
set_line_width_figure fortplot_figure_core_config Subroutine

Set line width for subsequent plots

set_log_level fortplot_logging Subroutine

Set the global logging level with input validation

Read more…
set_raster_line_style fortplot_raster_line_styles Subroutine

Set line style pattern for raster

set_rendered_figure fortplot_figure_core_compat Subroutine

Set rendered state

set_subplot_title fortplot_figure_subplots Subroutine

Set the title for a specific subplot

set_subplot_xlabel fortplot_figure_subplots Subroutine

Set the x-axis label for a specific subplot

set_subplot_ylabel fortplot_figure_subplots Subroutine

Set the y-axis label for a specific subplot

set_title_figure fortplot_figure_core_config Subroutine

Set figure title

set_xlabel_figure fortplot_figure_core_config Subroutine

Set x-axis label

set_xlim_figure fortplot_figure_core_config Subroutine

Set x-axis limits

set_xscale fortplot_matplotlib_axes Subroutine
set_xscale_figure fortplot_figure_core_config Subroutine

Set x-axis scale type

set_ydata fortplot_matplotlib_axes Subroutine
set_ylabel_figure fortplot_figure_core_config Subroutine

Set y-axis label

set_ylim_figure fortplot_figure_core_config Subroutine

Set y-axis limits

set_yscale fortplot_matplotlib_axes Subroutine
set_yscale_figure fortplot_figure_core_config Subroutine

Set y-axis scale type

setup_axes_data_ranges fortplot_pdf_axes Subroutine

Set up data ranges for axes with optional log scaling

setup_canvas fortplot_context Subroutine
setup_coordinate_system fortplot_figure_rendering_pipeline Subroutine

Setup the coordinate system for rendering

setup_figure_backend fortplot_figure_initialization Subroutine

Setup or change the figure backend

setup_figure_legend fortplot_figure_plot_management Subroutine

Setup figure legend

setup_figure_png_backend_for_animation fortplot_figure_animation Subroutine

Setup PNG backend for animation (temporary method)

setup_png_backend_for_animation_compat fortplot_figure_compatibility Subroutine

Setup PNG backend for animation (compatibility wrapper)

setup_png_backend_for_animation_figure fortplot_figure_core_compat Subroutine

Setup PNG backend for animation (temporary method)

setup_png_for_animation fortplot_figure_accessors Subroutine

Setup PNG backend for animation

setup_streamplot_parameters fortplot_streamplot_core Subroutine

Setup and validate streamplot parameters (focused on validation logic)

setup_windows_performance fortplot_windows_performance Subroutine

Configure Windows-specific performance optimizations This should be called at the start of test suites on Windows CI

should_draw_at_distance fortplot_line_styles Function

Determine if line should be drawn at given distance in pattern Following SRP - handles only pattern position logic

should_use_memory_backend fortplot_windows_performance Function

Determine if memory backend should be used for current context

show fortplot_matplotlib_advanced Interface
show_data fortplot_matplotlib_session Subroutine

Convenience routine mirroring matplotlib.pyplot.show signature with data

show_figure fortplot_matplotlib_session Subroutine

Show the global figure via backend implementation

show_figure fortplot_figure_core_io Subroutine

Display the figure

show_viewer fortplot_matplotlib_session Subroutine

Launch external viewer with saved figure artifact when available

simple_plots basic_plots Subroutine
skip_test_on_windows_ci fortplot_windows_test_helper Function

Check if test should be skipped on Windows CI

sleep_ms fortplot_system_timeout Subroutine

Sleep for specified milliseconds with Windows CI safety timeout and performance optimization

sort_array fortplot_utils_sort Subroutine

Simple bubble sort for small arrays (sufficient for boxplot quartiles)

stb_cleanup_font fortplot_stb_truetype Subroutine

Clean up font resources

stb_find_glyph_index fortplot_stb_truetype Function

Find glyph index for Unicode codepoint

stb_free_bitmap fortplot_stb_truetype Subroutine

Free bitmap allocated by stb_get_codepoint_bitmap

stb_get_codepoint_bitmap fortplot_stb_truetype Function

Allocate and render character bitmap

stb_get_codepoint_bitmap_box fortplot_stb_truetype Subroutine

Get bounding box for character bitmap

stb_get_codepoint_hmetrics fortplot_stb_truetype Subroutine

Get horizontal character metrics in unscaled coordinates

stb_get_font_vmetrics fortplot_stb_truetype Subroutine

Get vertical font metrics in unscaled coordinates

stb_init_font fortplot_stb_truetype Function

Initialize font from file path

stb_make_codepoint_bitmap fortplot_stb_truetype Subroutine

Render character into provided buffer

stb_scale_for_pixel_height fortplot_stb_truetype Function

Calculate scale factor for desired pixel height

stem fortplot_matplotlib_plots_new Subroutine

Create a stem plot

step fortplot_matplotlib_plots_new Subroutine

Create a step plot

streamplot fortplot_matplotlib_field_wrappers Subroutine
streamplot_basic_validation fortplot_figure_streamlines Function

Basic validation for streamplot inputs

streamplot_figure fortplot_figure_streamlines Subroutine

Add streamline plot to figure - direct streamline generation

streamplot_impl fortplot_plotting_advanced Subroutine

Add streamlines for vector field

streamplot_matplotlib fortplot_streamplot_matplotlib Subroutine

Matplotlib-compatible streamplot implementation Following the EXACT algorithm from matplotlib/streamplot.py

subplot fortplot_matplotlib_session Subroutine

Select a subplot in an nrows-by-ncols grid (matplotlib-compatible)

Read more…
subplots fortplot_matplotlib_session Subroutine

Initialize a subplot grid using the global figure

subplots_grid fortplot_matplotlib_session Function

Create subplot grid and return axis indices in row-major order

suggest_marker_for_single_point fortplot_coordinate_validation Function

Suggest appropriate marker type for single point based on backend

switch_to_helvetica_font fortplot_pdf_text_segments Subroutine
switch_to_symbol_font fortplot_pdf_text_segments Subroutine
symlog_scale_demo scale_examples Subroutine
system_command_timeout fortplot_system_timeout Subroutine

SECURITY: System command wrapper disabled for security compliance

test_cleanup_all fortplot_test_helpers Subroutine

Clean up all registered files and test directory securely

test_cleanup_file fortplot_test_helpers Subroutine

Clean up a specific test file

test_get_temp_path fortplot_test_helpers Function

Get secure temporary file path with validation

test_get_unique_suffix fortplot_test_helpers Function

Generate reliable unique suffix combining multiple entropy sources

test_initialize_environment fortplot_test_helpers Subroutine

Initialize test environment with specific name

test_initialize_figure fortplot_test_helpers Subroutine

Initialize figure for testing (ensures temp directory exists)

test_register_file fortplot_test_helpers Subroutine

Register a file for automatic cleanup

test_savefig fortplot_test_helpers Subroutine

Save figure to temporary directory with automatic registration

text fortplot_text_stub Subroutine

Add text annotation to the current figure

Read more…
title fortplot_matplotlib_axes Subroutine
title_case fortplot_doc_utils Function
to_lowercase fortplot_color_definitions Subroutine

Convert string to lowercase in-place

to_lowercase fortplot_string_utils Function

Convert string to lowercase (ASCII A-Z)

to_lowercase_char fortplot_color_definitions Subroutine

Convert single character to lowercase

transform_annotation_coordinates fortplot_annotation_coordinates Interface
transform_annotation_coordinates_log fortplot_annotation_coordinates Subroutine

Transform annotation coordinates with logarithmic scaling support

transform_x_coordinate fortplot_scales Function

Transform data x-coordinate to screen coordinate

Read more…
transform_y_coordinate fortplot_scales Function

Transform data y-coordinate to screen coordinate

Read more…
try_system_mkdir fortplot_system_commands Subroutine

Try to use system mkdir command as last resort (with security checks)

twinx fortplot_matplotlib_plots_new Subroutine

Activate a secondary y-axis that shares the x-axis but renders on the right

twiny fortplot_matplotlib_plots_new Subroutine

Activate a secondary x-axis that shares the y-axis but renders on the top

unicode_codepoint_to_ascii fortplot_unicode Subroutine

Convert Unicode codepoint to ASCII equivalent

unicode_codepoint_to_pdf_escape fortplot_pdf_text_escape Subroutine

Convert Unicode codepoint to PDF escape sequence

unicode_to_symbol_char fortplot_pdf_text_escape Subroutine

Convert Unicode codepoint to Symbol font character

update_boxplot_ranges fortplot_figure_boxplot Subroutine

Update data ranges based on boxplot statistics

update_data_ranges_boxplot_figure fortplot_figure_core_ranges Subroutine

Update data ranges after adding boxplot

update_data_ranges_figure fortplot_figure_core_ranges Subroutine

Update data ranges based on current plot

update_data_ranges_pcolormesh_figure fortplot_figure_core_ranges Subroutine

Update data ranges after adding pcolormesh plot

update_figure_data_ranges_boxplot fortplot_figure_ranges Subroutine

Update data ranges after adding boxplot - delegate to specialized module

update_figure_data_ranges_pcolormesh fortplot_figure_ranges Subroutine

Update data ranges after adding pcolormesh plot

update_plot_ydata fortplot_figure_plot_management Subroutine

Update y data for an existing plot

update_wave save_animation_demo Subroutine
use_axis fortplot_matplotlib_axes Subroutine
use_system_mkdir_ci fortplot_system_commands Subroutine

SECURITY FIX: Pure Fortran directory creation - no system calls

utf8_char_length fortplot_unicode Function

Determine the number of bytes in a UTF-8 character

utf8_to_codepoint fortplot_unicode Function

Convert UTF-8 sequence to Unicode codepoint

validate_annotation fortplot_annotation_types Subroutine

Comprehensive annotation validation combining coordinate and parameter checks

validate_annotation_coordinates fortplot_annotation_types Subroutine

Validate annotation coordinate values

validate_annotation_parameters fortplot_annotation_types Subroutine

Validate annotation parameter values

validate_array_bounds fortplot_parameter_validation Function
validate_ascii_format fortplot_validation Function
validate_color_for_backend fortplot_color_parsing Function

Validate color for specific backend constraints

validate_color_values fortplot_validation_core Function
validate_colormap_name fortplot_colormap Function

Validate if colormap name is supported

validate_coordinate_arrays fortplot_coordinate_validation Function

Comprehensive validation of coordinate arrays for plotting Returns validation result with detailed information about the data

validate_coordinate_ranges fortplot_coordinate_validation Function

Validate that coordinate values are finite and reasonable

validate_file_exists fortplot_validation Function
validate_file_path fortplot_validation_core Function
validate_file_size fortplot_validation Function
validate_generated_video fortplot_animation_validation Function
validate_generated_video_enhanced fortplot_animation_validation Function
validate_marker_style fortplot_markers Function

Validate if marker style is supported

validate_numeric_parameters fortplot_parameter_validation Function
validate_pcolormesh_grid fortplot_pcolormesh Subroutine

Validate grid dimensions for pcolormesh with flexible dimension support

Read more…
validate_pdf_format fortplot_validation Function
validate_plot_data fortplot_figure_plot_management Subroutine

Validate plot data and provide informative warnings for edge cases Added for Issue #432: Better user feedback for problematic data Fixed Issue #833: Reduced warning verbosity for constant data

validate_plot_dimensions fortplot_validation_core Function
validate_plot_dimensions_with_context fortplot_validation_core Function
validate_png_file fortplot_png_validation Subroutine

Validate PNG file using internal signature checks (secure)

validate_png_format fortplot_validation Function
validate_streamplot_arrow_parameters fortplot_streamplot_arrow_utils Subroutine

Validate arrow size and style inputs (matplotlib compatible)

validate_text_parameters fortplot_annotation_layout Subroutine

Alias for validate_annotation_parameters for API compatibility

validate_typography_parameters fortplot_annotation_layout Subroutine

Validate typography-specific parameters with normalization support

validation_error fortplot_validation_context Subroutine
validation_error_with_context fortplot_validation_context Subroutine
validation_warning fortplot_validation_context Subroutine
validation_warning_with_context fortplot_validation_context Subroutine
wait_for_user_input fortplot_figure_utilities Subroutine

Wait for user input when blocking=true Reads a single character or line from stdin to pause execution This prevents the program from continuing until user interaction

write_binary_to_unit fortplot_pdf_io Subroutine

Write binary string to unit using exact length (no trimming)

write_centered_title fortplot_ascii_utils Subroutine

Write centered title to file with Unicode-to-ASCII conversion

write_generated_outputs fortplot_documentation Subroutine
write_pdf_file fortplot_pdf_io Subroutine

Write PDF context to file

write_png_file fortplot_png Subroutine
write_png_to_pipe fortplot_pipe Function
write_string_to_unit fortplot_pdf_io Subroutine

Write string to unit, handling long strings properly

xlabel fortplot_matplotlib_axes Subroutine
xlim fortplot_matplotlib_axes Subroutine
y_tick_label_right_edge_at_axis fortplot_raster_axes Function
y_tick_label_right_edge_at_axis fortplot_raster_labels Function

Compute the rightmost edge of y-tick labels relative to the y-axis

y_tick_label_right_edge_at_axis_old fortplot_raster_axes Function
ylabel fortplot_matplotlib_axes Subroutine
ylim fortplot_matplotlib_axes Subroutine
zlib_compress fortplot_zlib_core Function

Backwards-compatible wrapper returning an allocatable result

zlib_compress_into fortplot_zlib_core Subroutine

Compress data into a newly allocated buffer

zlib_decompress fortplot_zlib_core Function

Decompress zlib (deflate) data using fixed Huffman tables