How to get 2014b to render figures in retina resolution

조회 수: 1 (최근 30일)
Jordan
Jordan 2014년 10월 8일
답변: Chris Li 2015년 5월 5일
2014b finally updates MATLAB to work with computers that have been out since 2011, but figures themselves, or at least subplots of bar() and plot() don't render in retina resolution. They're all fuzzy! Is there some parameter I need to send to figure or plot or something to get it to look decent?

답변 (4개)

Kelly Kearney
Kelly Kearney 2014년 10월 8일
Sorry, can't help with the problem, but I'm surprised that you seem to be implying that 2014b is retina-display compatible.
On my retina-display MacBook Pro, running OS X 10.9.3 (Mavericks), I still don't see proper resolution for any part of the Matlab desktop. Did you make Java modifications, as in previous versions, or did the resolution work for you out of the box?
  댓글 수: 2
Jordan
Jordan 2014년 10월 8일
Worked for me just fine, but I have 8u20 installed as well, alongside the system default, but I did not change the MATLAB_JAVA environment variable, like I had to in 2014a.
Kelly Kearney
Kelly Kearney 2014년 11월 13일
I should clarify that my issue with the main desktop in 2014b seems to have been related to some holdover stuff from 2014b beta. I deleted that and reinstalled 2014b, and now the main desktop renders properly on the Retina screen. The figures are still low-res, as the OP states.

댓글을 달려면 로그인하십시오.


Jeffrey
Jeffrey 2014년 10월 8일
I'm getting the same results—text in the command window (finally!) looks readable, but anything in the plots is still not rendering correctly.
I messed with the GraphicsSmoothing property on the plot, which does flip on and off anti-aliasing, but clearly assumes an incorrect (lower) dpi.
  댓글 수: 2
Jordan
Jordan 2014년 10월 8일
I also tried changed some of the figure properties, and it didn't help.
Derek
Derek 2014년 10월 9일
Same here. I've also noticed that my plot lines look fuzzy. Antialiasing seems to be turned on, but the smoothing pixels (the grey pixels in black lines) are much larger than my screen pixels.
I'm running 2014b on a Macbook Pro Retina 15" / NVIDIA GeForce GT 650M.
According to http://support.apple.com/kb/HT5942 I should have OpenGL 4.1, but when I run "opengl info" in MATLAB, I get
Version: '2.1 NVIDIA-8.26.28 310.40.55b01'. Wonder if that's related. MATLAB documentation says OpenGL 3.0 is required for line smoothing.

댓글을 달려면 로그인하십시오.


Alexander
Alexander 2014년 11월 13일
Did anyone found a solution for it?
  댓글 수: 1
Jordan
Jordan 2014년 11월 14일
Nope. One of the things that worked in Mathematica in the past was to increase the DPI of the figure, but I can't figure out how to do that in MATLAB.

댓글을 달려면 로그인하십시오.


Chris Li
Chris Li 2015년 5월 5일
i tried to enlarge the figures, so at least they look fine when exported into pdfs, anyone else has a better solution?

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by