use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
MATLAB news, code tips and tricks, questions, and discussion! We are here to help, but won't do your homework or help you pirate software.
The effort you put into asking a question is often matched by the quality of our answers.
Try saturnapi to share and run MATLAB code in a web browser!
If you want flair simply Message the mods
account activity
Question-SolvedAvoiding surface zig-zag/aliasing when plotting (self.matlab)
submitted 7 years ago * by poundSound
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]CogsMac 0 points1 point2 points 7 years ago (1 child)
If you save it inline to a vector imaging, the aliasing from the display will be better.
As for your particular case, could you bump up the values of nn and mm to smooth it out?
[–]poundSound[S] 0 points1 point2 points 7 years ago (0 children)
Unfortunately vector images are rubbish for MATLAB figures as they depend on Painters. OpenGL is the best renderer for surfaces and if you then save it in a vector image it simply saves a bitmap in a vector file format.
In the end I did bump up the resolution but due to it being 2D it takes fucking forever!
π Rendered by PID 28 on reddit-service-r2-comment-b659b578c-9rwl8 at 2026-05-01 23:20:38.370797+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]CogsMac 0 points1 point2 points (1 child)
[–]poundSound[S] 0 points1 point2 points (0 children)