I would like to revisit an old question, namely how to compile pstricks code properly. I tried to use the dvi-ps-pdf chain with the latex compiler within texstudio but it failed because ps2pdf seems to get stuck. I am using the latest version of MacOS (Mojave) as well as TeXStudio with TeXLive.
I also tried to compile with XeLaTeX and to use shell escape with pdflatex but both didn't work either.
I would be grateful for any suggestions!