How to get 2014b to render figures in retina resolution

1 Ansicht (letzte 30 Tage)
Jordan
Jordan am 8 Okt. 2014
Beantwortet: Chris Li am 5 Mai 2015
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?

Antworten (4)

Kelly Kearney
Kelly Kearney am 8 Okt. 2014
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 Kommentare
Jordan
Jordan am 8 Okt. 2014
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 am 13 Nov. 2014
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.

Melden Sie sich an, um zu kommentieren.


Jeffrey
Jeffrey am 8 Okt. 2014
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 Kommentare
Jordan
Jordan am 8 Okt. 2014
I also tried changed some of the figure properties, and it didn't help.
Derek
Derek am 9 Okt. 2014
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.

Melden Sie sich an, um zu kommentieren.


Alexander
Alexander am 13 Nov. 2014
Did anyone found a solution for it?
  1 Kommentar
Jordan
Jordan am 14 Nov. 2014
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.

Melden Sie sich an, um zu kommentieren.


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

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by