File I/O operations for figure backends Contains save operations for PNG, PDF, and ASCII formats
Save the figure with appropriate backend based on file extension
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | backend | |||
| character(len=*), | intent(in) | :: | filename | |||
| integer, | intent(out) | :: | status | 
Save PNG file with status reporting
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(png_context), | intent(inout) | :: | backend | |||
| character(len=*), | intent(in) | :: | filename | |||
| integer, | intent(out) | :: | status | 
Save PDF file with status reporting
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(pdf_context), | intent(inout) | :: | backend | |||
| character(len=*), | intent(in) | :: | filename | |||
| integer, | intent(out) | :: | status | 
Save ASCII file with status reporting
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ascii_context), | intent(inout) | :: | backend | |||
| character(len=*), | intent(in) | :: | filename | |||
| integer, | intent(out) | :: | status |