fortplot_mesh_rendering Module

Mesh (pcolormesh) rendering module

This module handles all mesh-based rendering operations including pcolormesh plots, quad transformations, and filled quad rendering.



Subroutines

public subroutine render_pcolormesh_plot(backend, plot_data, x_min_t, x_max_t, y_min_t, y_max_t, xscale, yscale, symlog_threshold, width, height, margin_right)

Render a pcolormesh plot

Arguments

Type IntentOptional Attributes Name
class(plot_context), intent(inout) :: backend
type(plot_data_t), intent(in) :: plot_data
real(kind=wp), intent(in) :: x_min_t
real(kind=wp), intent(in) :: x_max_t
real(kind=wp), intent(in) :: y_min_t
real(kind=wp), intent(in) :: y_max_t
character(len=*), intent(in) :: xscale
character(len=*), intent(in) :: yscale
real(kind=wp), intent(in) :: symlog_threshold
integer, intent(in) :: width
integer, intent(in) :: height
real(kind=wp), intent(in) :: margin_right

public subroutine render_fill_between_plot(backend, plot_data, xscale, yscale, symlog_threshold)

Render fill_between polygons as trapezoids

Arguments

Type IntentOptional Attributes Name
class(plot_context), intent(inout) :: backend
type(plot_data_t), intent(in) :: plot_data
character(len=*), intent(in) :: xscale
character(len=*), intent(in) :: yscale
real(kind=wp), intent(in) :: symlog_threshold

public subroutine draw_filled_quad(backend, x_screen, y_screen)

Draw a filled quadrilateral

Arguments

Type IntentOptional Attributes Name
class(plot_context), intent(inout) :: backend
real(kind=wp), intent(in) :: x_screen(4)
real(kind=wp), intent(in) :: y_screen(4)

public subroutine draw_quad_edges(backend, x_screen, y_screen, line_width)

Draw quadrilateral edges

Arguments

Type IntentOptional Attributes Name
class(plot_context), intent(inout) :: backend
real(kind=wp), intent(in) :: x_screen(4)
real(kind=wp), intent(in) :: y_screen(4)
real(kind=wp), intent(in) :: line_width