IDL includes a routine called FILLPLOT which allows to create horizontal filled plots. However it does not support vertical filled plots:
https://www.nv5geospatialsoftware.com/docs/FILLPLOT.html
The easiest way to build vertical filled plots is then to use the POLYGON routine instead:
https://www.nv5geospatialsoftware.com/docs/POLYGON.html