map_value_to_plot_x Function

public function map_value_to_plot_x(value, data_min, data_max, plot_area, scale, symlog_threshold) result(px)

Map a data value to pixel X coordinate using axis scale

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: value
real(kind=wp), intent(in) :: data_min
real(kind=wp), intent(in) :: data_max
type(plot_area_t), intent(in) :: plot_area
character(len=*), intent(in) :: scale
real(kind=wp), intent(in) :: symlog_threshold

Return Value real(kind=wp)