legend_plot_pixel_dimensions Subroutine

public subroutine legend_plot_pixel_dimensions(backend, width, height, legend)

Text metrics use pixels at 100 DPI; PDF axes dimensions use points.

Arguments

Type IntentOptional Attributes Name
class(plot_context), intent(in) :: backend
integer, intent(out) :: width
integer, intent(out) :: height
type(legend_t), intent(in), optional :: legend