Mar 13, 2019 #1 F fparveen Junior Member level 3 Joined Jun 10, 2018 Messages 26 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 269 Hello, I am trying to plot a 2D matrix for image reconstruction of head interior. I am using matlab contourf function. But the color plot doesn't look so good to me. Is there any suggestion for any other function/ method for this purpose? Thanks in Advance.
Hello, I am trying to plot a 2D matrix for image reconstruction of head interior. I am using matlab contourf function. But the color plot doesn't look so good to me. Is there any suggestion for any other function/ method for this purpose? Thanks in Advance.
Mar 19, 2019 #2 W weetabixharry Full Member level 4 Joined Oct 9, 2013 Messages 232 Helped 69 Reputation 142 Reaction score 73 Trophy points 1,318 Location Sweden Activity points 3,462 Have a look at these functions for making good 3D surface plots. Try rotating the 3D view (in the MATLAB figure) to get the best angle. Code Matlab M - [expand]1 2 surf(X); shading interp; The shading interp part makes it look much smoother. If you're not happy with the colours in general, you can change the colourmap. For example: Code Matlab M - [expand]1 2 contourf(X); colormap(pink);
Have a look at these functions for making good 3D surface plots. Try rotating the 3D view (in the MATLAB figure) to get the best angle. Code Matlab M - [expand]1 2 surf(X); shading interp; The shading interp part makes it look much smoother. If you're not happy with the colours in general, you can change the colourmap. For example: Code Matlab M - [expand]1 2 contourf(X); colormap(pink);