LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What does the anti-aliasing feature of the graph do?

I see when I right click a graph anti-aliasing is an option. What does this feature on the graph allow you to do?
0 Kudos
Message 1 of 3
(3,781 Views)
It smooths the lines. It can also slow down the drwaing by quite a bit.
0 Kudos
Message 2 of 3
(3,781 Views)
> I see when I right click a graph anti-aliasing is an option. What does
> this feature on the graph allow you to do?

As Dennis points out, it smooths the image. Specifically, computer
graphics on a raster device have stair-steps or jaggies. This occurs
because a sloping line is being approximated by setting pixels in a grid
to either the foreground or background color. For this example, lets
assume the BG is black and FG is white. At 45 deg and certain other
nice angles, the lines look relatively smooth, like the diagonals on a
chess board, but at other angles, they are heavily aliased or jaggy.

Anti-aliasing sets the color of the pixels to black, white, or shades of
gray depending on the amount of the pixel that intersects the
mathematical d
efinition of the line. This extra math slows things down,
and the fact that the anti-aliasing is done not by windows, by by an
OpenGL driver in its own memory buffer slows it down further. For
slowly changing plots, they look quite nice. This doesn't make sense
for dense data or quickly changing data.

Greg McKaskle
0 Kudos
Message 3 of 3
(3,781 Views)