Coordinate axes named name, of color color ([r, g, b] or [r, g, b,
a]), 1 long, with major ticks every 0.5 and minor every 0.25 (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_coordinate_axes(name, color) result(a) 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(CoordinateAxes) :: a a%ReferenceFrame = ReferenceFrame(name, color) a%image_file = '' call place_axes(a, a%length_) end function new_coordinate_axes