https://help.ubuntu.com/community/MATLAB
When I tried to plot 3D image (2D density surface), the rendering of the image was bad. It looks like that there are missing pixels.
This is because Nouveau kernel driver does not support matlab. As a result, matlab is using its OpenGL software option for rendering.
The following gives the instruction to install Nvidia driver in ubuntu and reset OpenGL in matlab.
- in a ubuntu terminal run the following commands:
- sudo apt-add-repository ppa:xorg-edgers/ppa
- sudo apt-get update
- sudo apt-get install nvidia-current nvidia-settings
- reboot your PC
- run matlab
- in matlab, run the command line:
- opengl('save','hardware')
The matlab2014b should produce nice 3D images now.
Enjoy!
Enjoy!
Leave me a comment if you think this post is useful for you.
-shun
No comments:
Post a Comment