A latitude/longitude grid named name, of color color, on a unit
sphere, every 30 degrees (OpenFrames' defaults).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | name |
the frame's name |
||
| real(kind=wp), | intent(in), | optional | :: | color(:) |
[r, g, b] or [r, g, b, a] (0 to 1) |
function new_lat_lon_grid(name, color) result(g) character(len=*), intent(in) :: name !! the frame's name real(wp), intent(in), optional :: color(:) !! [r, g, b] or [r, g, b, a] (0 to 1) type(LatLonGrid) :: g g%ReferenceFrame = ReferenceFrame(name, color) call place_grid_axes(g) end function new_lat_lon_grid