This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Antialiasing

Updated In 7 Graphic
Antialiasing
is a Style option which specifies whether antialiasing should be done in rendering graphics.
  • Antialiasing fuzzes out edges of graphical elements so as to avoid the appearance of jaggedness associated with discrete screen pixels.
  • With the default setting Antialiasing->Automatic, choices are made to optimize appearance on each type of computer system.
  • For 3D graphics, the operation of Antialiasing can depend on the particular graphics hardware you are using. Antialiasing is disabled unless Allow Antialiasing is set in the Preferences dialog.
  • Antialiasing can be turned on and off not just for complete graphics, but also for individual primitives or groups of primitives within a single graphic.
  • Antialiasing does not alter the appearance of fonts. Font antialiasing is typically controlled by a global operating system setting.
Use antialiasing by default:
Turn off the antialiasing:
Control antialiasing behavior for individual parts of the graphics:
Use antialiasing by default:
In[1]:=
Click for copyable input
Out[1]=
 
Turn off the antialiasing:
In[1]:=
Click for copyable input
Out[1]=
 
Control antialiasing behavior for individual parts of the graphics:
In[1]:=
Click for copyable input
Out[1]=
Antialiasing of lines:
Observe the line antialiasing, using Rasterize:
With antialiasing:
Without antialiasing:
Aliasing is more apparent when the graphic is not aligned with the axes:
On some computer systems, antialiased lines may look slightly thick and gray:
Font antialiasing depends on the system. Antialiasing has no effect:
Moiré patterns in antialiased and non-antialiased graphics:
New in 6 | Last modified in 7