membraneAnti-Aliased Plot Anti-aliased plot looks much smoother. MYAA supersamples the plot (as an image) and then resizes it (via a filtering method), giving an anti-aliased look.
myaaIf we take a closer look at the two images, you can see the anti-aliasing effect.
im1 = imread('antialias_01.png'); im2 = imread('antialias_02.png'); subplot(1,2,1); imshow(im1(100:150, 300:350, :)); title('Original'); subplot(1,2,2); imshow(im2(100:150, 300:350, :)); title('Anti-Aliased');More Features MYAA has additional features that make it a very handy tool. For example, you can specify the supersampling factor to provide an even smoother look. The tool also has a nice interactive feature where you can refresh the graphics (after zooming or rotating the original plot) or zoom in and out with the anti-aliased plot. Finally, I like how Anders has been quickly updating his entry in response to the user feedback. He posted this file early this month, and he has already updated several times, making this tool more user-friendly. Comments Do you ever make presentations directly from MATLAB? What are some tricks you employ to make MATLAB a presentation tool? As a starter, I once created a MATLAB animation player for displaying animations. Tell us about your stories here.
Get the MATLAB code Published with MATLAB® 7.6
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.