Compile tikz figure and show pdf