Generate tick positions and labels for axes Refactored to be under 100 lines (QADS compliance)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pdf_context_core), | intent(in) | :: | ctx | |||
real(kind=wp), | intent(in) | :: | data_x_min | |||
real(kind=wp), | intent(in) | :: | data_x_max | |||
real(kind=wp), | intent(in) | :: | data_y_min | |||
real(kind=wp), | intent(in) | :: | data_y_max | |||
real(kind=wp), | intent(out), | allocatable | :: | x_positions(:) | ||
real(kind=wp), | intent(out), | allocatable | :: | y_positions(:) | ||
character(len=32), | intent(out), | allocatable | :: | x_labels(:) | ||
character(len=32), | intent(out), | allocatable | :: | y_labels(:) | ||
integer, | intent(out) | :: | num_x_ticks | |||
integer, | intent(out) | :: | num_y_ticks | |||
character(len=*), | intent(in), | optional | :: | xscale | ||
character(len=*), | intent(in), | optional | :: | yscale | ||
real(kind=wp), | intent(in) | :: | plot_area_left | |||
real(kind=wp), | intent(in) | :: | plot_area_bottom | |||
real(kind=wp), | intent(in) | :: | plot_area_width | |||
real(kind=wp), | intent(in) | :: | plot_area_height |