The proper way would be to set up a calibrated test transmitter in the far field zone and sweep its frequency. You can read how LZ1AQ did it on his website.
The gain (or more correctly, antenna factor) variation across the wide range will be way more than 3dB, more like 30dB. But it is still an interesting experiment.
73, Mike AF7KR