How to save the Fig generated by Netgen ,mathpoltlib or others

Hello, I would like to ask on how to save the Fig generated by Netgen ,mathpoltlib or others?
Thanks