First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
When plotting dynamic simulations I prefer to generate ps type of files (like the resolution).did anyone find an easy way to convert *.ps to a *.pdf file?
I tried using os and ps2pdf but it does no work, it does not give any error message but also does not create the pdf file.
the code could not be simpler.
import os os.system ('ps2pdf dynamicplot.ps dynamicplot.pdf')