fortplot_figure_io Module

File I/O operations for figure backends Contains save operations for PNG, PDF, and ASCII formats



Subroutines

public subroutine save_backend_with_status(backend, filename, status)

Save the figure with appropriate backend based on file extension

Arguments

Type IntentOptional Attributes Name
class(plot_context), intent(inout) :: backend
character(len=*), intent(in) :: filename
integer, intent(out) :: status

public subroutine save_png_with_status(backend, filename, status)

Save PNG file with status reporting

Arguments

Type IntentOptional Attributes Name
type(png_context), intent(inout) :: backend
character(len=*), intent(in) :: filename
integer, intent(out) :: status

public subroutine save_pdf_with_status(backend, filename, status)

Save PDF file with status reporting

Arguments

Type IntentOptional Attributes Name
type(pdf_context), intent(inout) :: backend
character(len=*), intent(in) :: filename
integer, intent(out) :: status

public subroutine save_ascii_with_status(backend, filename, status)

Save ASCII file with status reporting

Arguments

Type IntentOptional Attributes Name
type(ascii_context), intent(inout) :: backend
character(len=*), intent(in) :: filename
integer, intent(out) :: status