Meiosis in a plant occurs when there is a change from gametophyte to sporophyte.
Meiosis in a plant occurs when there is a change from sporophyte to gametophyte.
In land plants and some algae, there is an alternation of generations such that meiosis in the diploid sporophyte generation produces haploid spores. These spores multiply by mitosis, developing into the haploid gametophyte generation, which then gives rise to gametes directly (i.e. without further meiosis).