Transform data x-coordinate to screen coordinate
@param x: Data x-coordinate @param x_min: Minimum x value in data range @param x_max: Maximum x value in data range @param width: Screen width in pixels @return x_screen: Screen x-coordinate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | x | |||
real(kind=wp), | intent(in) | :: | x_min | |||
real(kind=wp), | intent(in) | :: | x_max | |||
integer, | intent(in) | :: | width |