Procedures

ProcedureLocationProcedure TypeDescription
add_3d_plot fortplot_plotting Subroutine

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

add_3d_plot fortplot_matplotlib_plotting Subroutine

Add a 3D line plot with optional markers Provides direct access to figure's 3D plotting capabilities

add_arrow_annotation fortplot_plotting 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_contour Subroutine

Direct interface to figure's add_contour method for testing

add_contour_filled fortplot_matplotlib_contour Subroutine

Direct interface to figure's add_contour_filled for testing

add_contour_filled_impl fortplot_plotting_advanced Subroutine

Add filled contour plot with colors

add_contour_impl fortplot_plotting_advanced 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_plotting Subroutine

Add an errorbar plot with error bars Provides direct access to figure's add_errorbar method

add_if_exists fortplot_doc_media Subroutine
add_line_plot_data fortplot_plotting Subroutine

Add line plot data with comprehensive validation Refactored to be under 100 lines (QADS compliance)

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_pcolormesh fortplot_matplotlib_contour Subroutine

Direct interface to figure's add_pcolormesh for testing

add_pcolormesh_impl fortplot_plotting_advanced Subroutine

Add pseudocolor mesh plot

add_pcolormesh_plot_data fortplot_figure_plot_management Subroutine

Add pcolormesh plot data

add_plot fortplot_plotting Interface
add_plot fortplot_matplotlib_plotting Subroutine

Direct interface to figure's add_plot method for testing

add_scatter fortplot_matplotlib_plotting Subroutine

Direct interface to figure's add_scatter method for testing

add_scatter_2d fortplot_plotting Interface
add_scatter_3d fortplot_plotting Interface
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_plotting Subroutine

Add scatter plot data with optional properties

add_simple_streamline fortplot_figure_streamlines Subroutine

Add a simple streamline to demonstrate functionality This creates a basic horizontal streamline that shows streamplot is working for the test suite.

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_plotting Subroutine

Add surface plot to figure

add_surface fortplot_matplotlib_contour Subroutine

Add a 3D surface plot with optional colormapping Provides direct access to figure's 3D surface capabilities

add_text_annotation fortplot_plotting 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

animation_save_impl fortplot_animation Subroutine
annotate fortplot_text_stub Subroutine

Stub for annotation with arrow

apply_colormap_to_array fortplot_colors 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…
assert_equals fortplot_testing Subroutine
assert_file_exists fortplot_testing Subroutine
assert_performance_target fortplot_test_utils Subroutine

Assert that performance meets target

assert_true fortplot_testing Subroutine
backend_associated_compat fortplot_figure_compatibility Function

Check if backend is allocated (compatibility wrapper)

backend_color_compat fortplot_figure_compatibility Subroutine

Set backend color (compatibility wrapper)

backend_line_compat fortplot_figure_compatibility Subroutine

Draw line using backend (compatibility wrapper)

bar fortplot_matplotlib_plotting Subroutine

Add a bar plot to the global figure (pyplot-style)

bar_impl fortplot_plotting_advanced Subroutine

Add vertical bar plot

barh fortplot_matplotlib_plotting Subroutine

Add a horizontal bar plot to the global figure (pyplot-style)

barh_impl fortplot_plotting_advanced 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_drawing Subroutine

Alpha blend a pixel with existing pixel data

Read more…
boxplot fortplot_matplotlib_plotting Subroutine

Add a box-and-whisker plot to the global figure (pyplot-style)

boxplot_impl fortplot_plotting_advanced Subroutine

Add boxplot

build_file_path fortplot_doc_files Subroutine
build_fortran_url fortplot_doc_paths Subroutine
build_local_fortran_path fortplot_doc_paths Subroutine
build_output_path fortplot_doc_paths Subroutine
build_python_path fortplot_doc_paths Subroutine
build_readme_path fortplot_doc_paths Subroutine
calculate_aligned_position fortplot_annotations Subroutine

Calculate aligned text position based on alignment settings

calculate_arrow_positions fortplot_streamline Subroutine
calculate_ascii_legend_dimensions fortplot_ascii_elements Subroutine

Calculate ASCII-specific legend dimensions

calculate_ascii_legend_position fortplot_ascii_elements Subroutine

Calculate ASCII-specific legend position using character coordinates

calculate_figure_data_ranges fortplot_figure_rendering_pipeline 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_nice_axis_limits fortplot_ticks 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_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_projection_bounds fortplot_coordinates Subroutine

Calculate bounds of projected 2D data

calculate_rotated_bounds fortplot_annotations Subroutine

Calculate bounding box for rotated text

calculate_rotated_text_bounds fortplot_annotations 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_similarity_metrics fortplot_rendering_comparison Function
calculate_text_anchor fortplot_annotations Subroutine

Calculate anchor position based on alignment settings

calculate_text_height fortplot_text Function

Calculate the pixel height of text using STB TrueType

calculate_text_metrics fortplot_annotations Subroutine

Calculate text dimensions for given annotation

calculate_text_metrics_safe fortplot_annotations Subroutine

Safe text metrics calculation with error handling

calculate_text_width fortplot_text Function

Calculate the pixel width of text using STB TrueType with UTF-8 support

calculate_tick_labels fortplot_ticks 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_ticks Subroutine

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

calculate_tick_labels_symlog fortplot_ticks 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 fortplot_system_secure Function

Securely check if a command is available

check_command_available_runtime fortplot_system_runtime Subroutine

Check if a command is available - with security restrictions

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_files Function
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…
cleanup_text_system fortplot_text Subroutine

Clean up STB TrueType font system

clear_color_cache fortplot_colors 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_drawing 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_pdf_files fortplot_rendering_comparison Function
compare_png_images fortplot_rendering_comparison Function
compare_with_baseline fortplot_validation Function
compare_with_threshold fortplot_rendering_comparison Function
composite_bitmap_to_raster fortplot_bitmap Subroutine

Composite 3D RGB bitmap directly onto raster image buffer

composite_image fortplot_bitmap Subroutine
compute_scale_ticks fortplot_axes Subroutine

Compute tick positions for different scale types

Read more…
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_unicode fortplot_unicode Function

Check if text contains Unicode characters

contour fortplot_matplotlib_contour Subroutine

Add a contour plot to the global figure (pyplot-style)

contour fortplot_python_interface Subroutine

Python-accessible contour function

Read more…
contour_filled fortplot_matplotlib_contour Subroutine

Add a filled contour plot with color levels to the global figure

contour_filled fortplot_python_interface Subroutine

Python-accessible filled contour function

copy_file_content fortplot_doc_files Subroutine
crc32_calculate fortplot_zlib Function

Calculate CRC32 checksum using standard polynomial

create_3d_axis_corners fortplot_3d_axes Subroutine

Generate 8 corners of 3D bounding box

create_3d_axis_lines fortplot_3d_axes Subroutine

Generate 3D axis lines (X, Y, Z axes)

create_3d_tick_positions fortplot_3d_axes Subroutine

Generate 3D tick mark positions on axes

create_ascii_canvas fortplot_ascii Function
create_directory_runtime fortplot_system_runtime Subroutine

Create directory with security restrictions SECURITY: Only allows creation of test output directories

create_directory_secure fortplot_system_secure Function

Securely create a directory path using C system calls

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 Function
create_regular_mesh_grid fortplot_pcolormesh Subroutine

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

create_subplots fortplot_figure_subplots Subroutine

Create a grid of subplots

create_text_annotation fortplot_annotations Function

Create a text annotation with specified properties

data_to_screen_coords fortplot_animation_rendering Subroutine
default_gaussian_example colored_contours_example Subroutine
delete_file_runtime fortplot_system_runtime Subroutine

SECURITY: File deletion disabled for security compliance

delete_file_secure fortplot_system_secure Function

Securely delete a file using system calls

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_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_scatter_plot marker_demo Subroutine

Creates a scatter plot to demonstrate markers in practical use

demo_sinusoidal_pattern pcolormesh_demo Subroutine

Pcolormesh with sinusoidal pattern - enhanced 51x51 grid

destroy_raster_image fortplot_raster Subroutine
destroy_text_annotation fortplot_annotations Subroutine

Clean up text annotation resources

disable_fast_io fortplot_fast_io Subroutine

Disable fast I/O operations

distance_point_to_line_segment fortplot_raster_drawing 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_to_raster fortplot_3d_axes Subroutine

Draw 3D axes frame to raster backend - matplotlib style

draw_ascii_arrow fortplot_ascii_elements Subroutine

Draw arrow using Unicode directional characters for ASCII backend

draw_ascii_axes_and_labels fortplot_ascii_elements Subroutine

Draw axes and labels for ASCII backend

draw_ascii_marker fortplot_ascii_elements Subroutine
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_drawing Subroutine

Draw filled circle with antialiasing

Read more…
draw_circle_outline_antialiased fortplot_raster_drawing Subroutine

Draw circle outline with antialiasing

Read more…
draw_circle_with_edge_face fortplot_raster_drawing Subroutine

Draw circle with separate edge and face colors

Read more…
draw_diamond_with_edge_face fortplot_raster_drawing Subroutine

Draw diamond marker with separate edge and face colors

draw_filled_quad fortplot_rendering Subroutine

Draw a filled quadrilateral

draw_filled_quad_raster fortplot_raster_drawing Subroutine

Draw filled quadrilateral using scanline algorithm

Read more…
draw_line_distance_aa fortplot_raster_drawing Subroutine

Draw antialiased line using distance-based approach

Read more…
draw_line_with_style fortplot_rendering Subroutine

Draw a line with the specified style

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_square_with_outline fortplot_pdf_drawing Subroutine

Draw filled square with outline in PDF

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_rendering Subroutine

Draw quadrilateral edges

draw_single_point_marker fortplot_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_drawing 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_drawing Subroutine

Draw X-shaped marker

enable_fast_io fortplot_fast_io Subroutine

Enable fast I/O operations

end_performance_test fortplot_test_utils Subroutine

End timing a performance test

ensure_directory_exists fortplot_utils Subroutine

Stub: Ensure directory exists for given filepath (see issue #492)

ensure_global_figure_initialized fortplot_matplotlib_io Subroutine

Ensure global figure is initialized before use (matplotlib compatibility) Auto-initializes with default dimensions if not already initialized

errorbar fortplot_plotting Interface
errorbar fortplot_matplotlib_plotting Subroutine

Add an errorbar plot to the global figure (pyplot-style)

escape_unicode_for_raster fortplot_unicode Subroutine

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

execute_command_line_timeout fortplot_system_timeout Subroutine

SECURITY: Command execution with timeout disabled for security compliance

extract_ascii_rgb_data fortplot_ascii_elements 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_frame_rgb_data fortplot_animation_rendering Subroutine
extract_latex_command fortplot_latex_parser Subroutine
extract_png_data_for_animation_compat fortplot_figure_compatibility Subroutine

Extract PNG data for animation (compatibility wrapper)

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_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_python_interface Subroutine

Python-accessible figure initialization

Read more…
figure fortplot_matplotlib_io Subroutine

Create or activate a figure with optional size and DPI settings

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_pcolormesh fortplot_figure_plots Subroutine

Add a pcolormesh plot

figure_add_plot fortplot_figure_plots Subroutine

Add a line plot to the figure

fill_ascii_heatmap fortplot_ascii_elements Subroutine

Fill ASCII canvas with heatmap representation of 2D data

finalize_pdf_stream fortplot_pdf_core Subroutine
find_all_latex_commands fortplot_latex_parser Subroutine
find_any_available_font fortplot_text Function

Find any available font using same priority order as system initialization

find_font_by_name fortplot_text Function

Find font by name in typical system locations

find_latex_command fortplot_latex_parser Subroutine
find_nice_tick_locations fortplot_ticks Subroutine

Find nice tick locations following matplotlib's MaxNLocator algorithm exactly

format_log_tick_value fortplot_ticks Function

Format logarithmic tick values using scientific notation like matplotlib

format_number annotation_demo Function

Simple number formatting for annotations

format_tick_label fortplot_axes Function

Format a tick value as a string label

Read more…
format_tick_value fortplot_ticks Function

Format tick value based on data range like matplotlib

format_tick_value_consistent fortplot_ticks Function

Format tick value with consistent decimal places for uniform appearance

format_tick_value_smart fortplot_ticks 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_drawing 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_diff_image fortplot_rendering_comparison Subroutine
generate_scale_aware_tick_labels fortplot_ticks 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_tick_data fortplot_pdf_axes Subroutine

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

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_elements 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_colors 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_doc_examples Function
get_example_dir fortplot_doc_examples Subroutine
get_example_name fortplot_doc_examples 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_animation_validation Function
get_file_extension fortplot_doc_files Function
get_font_ascent_ratio fortplot_text Function

Get the ratio of font ascent to total height This is used to properly center text vertically

get_font_metrics fortplot_text Subroutine

Get font metrics in pixels for current font

get_fortran_filename fortplot_doc_examples Subroutine
get_global_figure fortplot_matplotlib_io Function

Get reference to the global figure for testing access to arrow data This allows tests to access fig%arrow_data without making fig public

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_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_doc_text Function
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_platform_tolerance fortplot_test_utils Function

Get platform-appropriate tolerance for numerical comparisons Addresses Issue #297: Windows CI precision differences

Read more…
get_png_data fortplot_png Subroutine
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_test_output_path fortplot_security Function

Get cross-platform test output path with automatic directory creation

get_test_temp_dir fortplot_windows_test_helper Function

Get appropriate temporary directory for tests

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

has_machine_precision_issues fortplot_coordinate_validation Function

Check if coordinates are too close together for reliable rendering

hist fortplot_matplotlib_plotting Subroutine

Add a histogram to the global figure (pyplot-style)

hist_impl fortplot_plotting_advanced Subroutine

Add histogram

histogram fortplot_matplotlib_plotting Subroutine

Alias for hist to match numpy.histogram naming

histogram fortplot_python_interface Subroutine

Python-accessible histogram function

Read more…
init_text_system fortplot_text 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

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
int_to_str fortplot_test_utils Function

Convert integer to string

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_drawing Function

Integer part of floating-point number

Read more…
is_annotation_visible fortplot_annotations Function

Check if annotation is visible within plot area

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_empty_array fortplot_coordinate_validation Function

Check if arrays are empty

is_error fortplot_errors Function

Check if status code indicates an error

is_greek_letter_codepoint fortplot_unicode Function

Check if codepoint is a Greek letter

is_imagemagick_environment_enabled fortplot_security Function

Check if ImageMagick environment is enabled

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_safe_filename fortplot_animation_validation Function
is_safe_path fortplot_security Function

Check if path is safe (no shell injection attempts)

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_colors 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_warnings_suppressed fortplot_logging Function

Check if warnings are currently suppressed

is_windows fortplot_system_runtime Function

Detect if running on Windows at runtime

latex_to_unicode fortplot_latex_parser Subroutine
legend fortplot_matplotlib_axes Subroutine

Add a legend to the global figure (pyplot-style)

legend fortplot_python_interface Subroutine

Python-accessible legend function

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

load_font_system fortplot_annotations Subroutine

Load font system from specified path

log_debug fortplot_logging Subroutine

Log a debug message

log_error fortplot_errors Subroutine

Log error message to error unit

log_error fortplot_logging Subroutine

Log an error message

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

map_unix_to_windows_path fortplot_system_runtime Function

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

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
normalize_coordinate_value fortplot_coordinates Subroutine

Normalize a coordinate value to [0,1] range

normalize_path_separators fortplot_system_runtime 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
open_ffmpeg_pipe fortplot_pipe Function
open_file_secure fortplot_system_secure Function

Securely open a file with system default application

open_with_default_app_runtime fortplot_system_runtime Subroutine

Open file with default application - SECURITY: Disabled for compliance

optimize_comparison_performance fortplot_rendering_comparison Function
parse_color fortplot_colors Subroutine

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

parse_color_rgba fortplot_colors Subroutine

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

parse_colors_bulk fortplot_colors Subroutine

Parse multiple colors efficiently

parse_format_string fortplot_format_parser Subroutine
pcolormesh fortplot_matplotlib_contour Subroutine

Add a pseudocolor plot to the global figure (pyplot-style) Creates a colored mesh representation of 2D data

pcolormesh fortplot_python_interface Subroutine

Python-accessible pcolormesh function

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_fill_heatmap fortplot_pdf_coordinate Subroutine
pdf_fill_quad 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_restore_graphics_state fortplot_pdf_markers Subroutine
pdf_save_graphics_state fortplot_pdf_markers 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
plasma_saddle_example colored_contours_example Subroutine
plot fortplot_matplotlib_plotting Subroutine

Add a line plot to the global figure (pyplot-fortran compatible)

plot fortplot_python_interface Subroutine

Python-accessible plot function for line plots

Read more…
positioned_legend_example legend_demo Subroutine

Demonstrate different legend positions

prepare_ascii_3d_data fortplot_ascii_elements Subroutine

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

print_centered_title fortplot_ascii_utils Subroutine

Print centered title to terminal

process_example fortplot_doc_processor Subroutine
process_image_path fortplot_doc_text Subroutine
process_latex_in_text fortplot_latex_parser Subroutine
project_3d_axis_lines fortplot_3d_axes Subroutine

Project 3D axis lines to 2D screen coordinates

project_3d_corners_to_2d fortplot_3d_axes Subroutine

Project 8 3D corners to 2D screen coordinates

project_3d_to_2d fortplot_projection Subroutine

Project 3D coordinates to 2D using orthographic projection

project_normalized_3d_data fortplot_coordinates Subroutine

Project normalized 3D data to 2D using default viewing angles

raster_draw_axes_and_labels fortplot_raster Subroutine

Draw axes and labels for raster backends

raster_render_ylabel fortplot_raster Subroutine

Render rotated Y-axis label for PNG backend

register_save_implementation fortplot_animation Subroutine
render_all_plots fortplot_figure_rendering_pipeline Subroutine

Render all plots in the figure

render_ascii_axes fortplot_ascii_elements 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_elements Subroutine

Render legend using ASCII-specific compact layout

render_ascii_ylabel fortplot_ascii_elements Subroutine

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

render_contour_plot fortplot_rendering Subroutine

Render a contour plot

render_figure_axes fortplot_figure_rendering_pipeline Subroutine

Render figure axes and labels

render_figure_background fortplot_figure_rendering_pipeline Subroutine

Render figure background

render_figure_components fortplot_animation_rendering Subroutine
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_rendering Subroutine

Render a line plot with proper scaling and clipping

render_markers fortplot_rendering Subroutine

Render markers for a plot

render_patterned_line fortplot_rendering Subroutine

Render a line with dash patterns

render_pcolormesh_plot fortplot_rendering Subroutine

Render a pcolormesh plot

render_rotated_text_to_image fortplot_text Subroutine

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

render_solid_line fortplot_rendering Subroutine

Render a solid line

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_text_elements_to_canvas fortplot_ascii_utils Subroutine

Render stored text elements onto the ASCII canvas

render_text_to_bitmap fortplot_bitmap Subroutine

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

render_text_to_image fortplot_text Subroutine

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

replace_extension fortplot_doc_files Function
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

restore_original_coordinate_system fortplot_coordinates Subroutine

Restore original coordinate system after 3D rendering

rfpart fortplot_raster_drawing Function

Reverse fractional part (1 - fractional part)

Read more…
rgb_to_hsv fortplot_colors Subroutine

Convert RGB to HSV color space

rgb_to_lab fortplot_colors 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_regression_suite fortplot_rendering_comparison Subroutine
safe_check_program_available fortplot_security Function

Safely check if external program is available

safe_coordinate_transform fortplot_pdf_coordinate Subroutine

Safe coordinate transformation with aspect ratio preservation Updated to maintain correct aspect ratios like normalize_to_pdf_coords

safe_create_directory fortplot_security Subroutine

Safely create directory without shell injection

safe_launch_viewer fortplot_security Subroutine

Safely launch file viewer without shell injection

safe_remove_file fortplot_security Subroutine

Safely remove file without shell injection

safe_validate_mpeg_with_ffprobe fortplot_security Function

Safely validate MPEG files without shell injection

sanitize_filename fortplot_security Function

Sanitize filename for safe file operations

save_and_set_backend_coordinates fortplot_coordinates Subroutine

Save original coordinates and set new backend coordinate system

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_python_interface Subroutine

Python-accessible savefig function

Read more…
savefig fortplot_matplotlib_io Subroutine

Save the global figure to a file (pyplot-style)

savefig_with_status fortplot_matplotlib_io Subroutine

Save figure with status return (error handling version)

scan_directory_for_media fortplot_doc_media Subroutine
scatter fortplot_matplotlib_plotting Subroutine

Add a scatter plot to the global figure (pyplot-style)

scatter fortplot_python_interface Subroutine

Python-accessible scatter plot function

Read more…
select_font_family fortplot_annotations Subroutine

Select font family with fallback mechanism

set_ascii_legend_border_width fortplot_ascii_elements 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_width fortplot_matplotlib_axes Subroutine

Set the line width for subsequent plot elements This affects all plot elements added after this call

set_log_level fortplot_logging Subroutine

Set the global logging level

Read more…
set_raster_line_style fortplot_raster_line_styles Subroutine

Set line style pattern for raster

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_xscale fortplot_matplotlib_axes Subroutine

Set the x-axis scale type (linear, log, symlog)

set_xscale fortplot_python_interface Subroutine

Python-accessible x-axis scale function

set_ydata fortplot_matplotlib_axes Subroutine

Update y-data for the last plot added to the figure Useful for animation or updating existing plots

set_yscale fortplot_matplotlib_axes Subroutine

Set the y-axis scale type (linear, log, symlog)

set_yscale fortplot_python_interface Subroutine

Python-accessible y-axis scale function

setup_3d_coordinate_system fortplot_coordinates Subroutine

Setup coordinate system for 3D projection rendering

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_png_backend_for_animation_compat fortplot_figure_compatibility Subroutine

Setup PNG backend for animation (compatibility wrapper)

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_io Interface
show_figure fortplot_python_interface Subroutine

Python-accessible show_figure function with optional blocking This replaces the temp file + webbrowser approach with direct Fortran call

Read more…
show_viewer fortplot_python_interface Subroutine

Python-accessible show_viewer function with optional blocking Forces display in system viewer regardless of GUI availability

Read more…
show_viewer fortplot_matplotlib_io Subroutine

Display figure using system viewer (cross-platform)

simple_plots basic_plots Subroutine
skip_on_slow_ci fortplot_test_utils Function

Determine if test should be skipped on slow CI

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 using Fortran intrinsic

sort_array fortplot_utils_sort Subroutine

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

start_performance_test fortplot_test_utils Subroutine

Start timing a performance test

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

streamplot fortplot_matplotlib_contour Subroutine

Add a streamplot to the global figure (pyplot-style) Creates streamlines from a vector field

streamplot fortplot_python_interface Subroutine

Python-accessible streamplot function with arrow support

streamplot_basic_validation fortplot_figure_streamlines Function

Basic validation for streamplot inputs

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_io Subroutine

Create subplot arrangement (simplified for single axis) Currently implements single plot behavior

suggest_marker_for_single_point fortplot_coordinate_validation Function

Suggest appropriate marker type for single point based on backend

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

Stub for text annotation

title fortplot_matplotlib_axes Subroutine

Set the title for the global figure (pyplot-style)

title fortplot_python_interface Subroutine

Python-accessible title function

title_case fortplot_doc_text Function
to_lowercase fortplot_utils Function

Convert string to lowercase

Read more…
transform_annotation_coordinates fortplot_coordinates Subroutine

Transform annotation coordinates based on coordinate type (Issue #184)

transform_annotation_coordinates fortplot_annotations Interface
transform_annotation_coordinates_log fortplot_annotations Subroutine

Transform annotation coordinates with logarithmic scaling support

transform_corners_to_screen fortplot_3d_axes Subroutine

Transform projected corners from data space to screen space

transform_quad_to_screen fortplot_coordinates Subroutine

Transform quad coordinates to screen coordinates

transform_quad_to_screen fortplot_rendering Subroutine

Transform quad coordinates to screen space

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…
unicode_codepoint_to_ascii fortplot_unicode Subroutine

Convert Unicode codepoint to ASCII equivalent

update_boxplot_ranges fortplot_figure_boxplot Subroutine

Update data ranges based on boxplot statistics

update_plot_ydata fortplot_figure_plot_management Subroutine

Update y data for an existing plot

update_wave save_animation_demo Subroutine
use_fast_test_mode fortplot_test_utils Function

Check if fast test mode should be used

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_annotations Subroutine

Comprehensive annotation validation combining coordinate and parameter checks

validate_annotation_coordinates fortplot_annotations Subroutine

Validate annotation coordinate values

validate_annotation_parameters fortplot_annotations Subroutine

Validate annotation parameter values

validate_ascii_format fortplot_validation Function
validate_color_for_backend fortplot_colors Function

Validate color for specific backend constraints

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_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_path_secure fortplot_system_secure Function

Validate a file or directory path for security

validate_pcolormesh_grid fortplot_pcolormesh Subroutine

Validate grid dimensions for pcolormesh

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

validate_png_format fortplot_validation Function
validate_text_parameters fortplot_annotations Subroutine

Alias for validate_annotation_parameters for API compatibility

validate_typography_parameters fortplot_annotations Subroutine

Validate typography-specific parameters with normalization support

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_bmp_file fortplot_bmp Subroutine

Write RGB bitmap as simple 24-bit BMP file

write_centered_title fortplot_ascii_utils Subroutine

Write centered title to file

write_generated_outputs fortplot_doc_output 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_source_links fortplot_doc_source Subroutine
write_string_to_unit fortplot_pdf_io Subroutine

Write string to unit, handling long strings properly

xlabel fortplot_matplotlib_axes Subroutine

Set the x-axis label for the global figure (pyplot-style)

xlabel fortplot_python_interface Subroutine

Python-accessible xlabel function

xlim fortplot_matplotlib_axes Subroutine

Set the x-axis limits for the global figure (pyplot-style)

xlim fortplot_python_interface Subroutine

Python-accessible x-axis limits function

ylabel fortplot_matplotlib_axes Subroutine

Set the y-axis label for the global figure (pyplot-style)

ylabel fortplot_python_interface Subroutine

Python-accessible ylabel function

ylim fortplot_matplotlib_axes Subroutine

Set the y-axis limits for the global figure (pyplot-style)

ylim fortplot_python_interface Subroutine

Python-accessible y-axis limits function

zlib_compress fortplot_zlib Function

Full deflate compression with LZ77 and Huffman coding