- Setting on the graphics root (groot) impacts all new figures.
- The syntax of the property name is to smash together 'Default' Type Property
R2014b How to disable graphics smoothing by default
13 views (last 30 days)
Since I plot data with the objective of information extraction, and not to hang it on wall and show everyone its beauty, I would like to set the GraphicsSmoothing setting to 'off' by default. Please help me out and tell me how I can disable this forever.
Michelle Hirsch on 22 Oct 2014
Asad - Sorry that you don't like the new anti-aliased (smoothed) plots in R2014b. This has been one of the most requested graphics features for many years.
I think you might be misinterpreting the term "Graphics Smoothing" to think that it is doing more than it is. This property controls anti-aliasing, which is a technique to render smoother lines on a computer screen. Instead of representing each point on the screen as a single pixel, which can lead to jaggy lines (those of us who grew up in the era of Atari 2600 are familiar with the extreme case of aliased lines), anti-aliasing uses multiple pixels with different degrees of darkness. This results in lines which appear smoother. It does not invent data, like Excel used to do (still does?) if you told it to draw a line through points.
That said, if you still find that you don't want anti-aliased lines, you can use the standard mechanism for controlling defaults:
Breaking this down:
If you want this behavior to persist across sessions of MATLAB, you could put the above command in your startup.m file.