In reply to Tomasz Klimanek.

As stated in the SAS/IML documentation, "The ODS statistical graphics subroutines are intended to enable you to quickly and easily construct basic graphics. They are not intended to be a complete interface to the SGPLOT procedure. If you need to construct a complicated graph from within the SAS/IML language, use the technique that is shown in How the Graphs Are Created."