Usage patterns
〈場所〉に国旗を立てるto plant the national flag at a place
The climber planted the national flag at the summit.
国旗を振るto wave the national flag
The spectators waved national flags to cheer on the athletes.
国旗がはためくthe national flag flutters
The national flag fluttered in the strong wind.