MATLAB Answers

Blurred latex figure label

9 views (last 30 days)
Jooo
Jooo on 13 Oct 2020
Commented: Jooo on 13 Oct 2020
Hello,
I was wondering if there is a way to improve the quality of the latex written text e.g. in figure labels. Attached is an example of what I mean.
Is there a solution for this problem?
  2 Comments
Jooo
Jooo on 13 Oct 2020
When you compare the y label in latex with the x label without latex there is a huge difference. The y label is much more pixelated and the phi_dot is quite hard to read

Sign in to comment.

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 13 Oct 2020
Print your figure to post-script format using the -painters renderer:
print('-depsc2','-painters','Your-new-and-pretty-figure-01.eps')
The print function makes some clever selection of how to write stuff, and sometimes it automagically decides to use the default -opengl renderer which gives you a bit-mapped and not a vectorized output file even though you print to a post-scrip-file. If you explicitly tell print to use -painters, it will do as told. However, sometimes the vectorized output makes the files uncomfortably large, sometimes the renderer gets peculiar ideas about how to arrange objects in 3-D (think Escher-Reutersvärd).
HTH
  1 Comment
Jooo
Jooo on 13 Oct 2020
all right thanks, I´ll try this

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!