FuncAnimation Interface

public interface FuncAnimation

Module Procedures

private function FuncAnimation_procedure(animate_func, frames, interval, fig) result(anim)

Arguments

Type IntentOptional Attributes Name
procedure(animate_interface) :: animate_func
integer, intent(in) :: frames
integer, intent(in), optional :: interval
type(figure_t), intent(in), optional, target :: fig

Return Value type(animation_t)

private function FuncAnimation_object(animate_func, frames, interval, fig) result(anim)

The caller owns animate_func and must declare it TARGET and keep it alive until the returned animation is no longer used.

Arguments

Type IntentOptional Attributes Name
class(animation_callback_t), intent(inout), target :: animate_func
integer, intent(in) :: frames
integer, intent(in), optional :: interval
type(figure_t), intent(in), optional, target :: fig

Return Value type(animation_t)