plotting and dump to file support in som