Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why, when I use interpolated shading or print surfaces, does my graph look “blocky” when the graph looked fine on the screen?

0
Posted

Why, when I use interpolated shading or print surfaces, does my graph look “blocky” when the graph looked fine on the screen?

0

The reason for this is that when you use shading interp , each pixel can have a different RGB value, but when you try to print this, each surface face is broken into 4×4 blocks and assigned a specific color to each of the blocks. To work around this problem, simply increase the number of faces on your surface and don’t use shading interp , use shading flat . To increase the number of surface faces, use griddata : [xi,yi,zi] = griddata(x,y,z,0:.1:10,0:.1:100) where x , y, and z are your original data, 0:.1:10 and 0:.1:100 are your new and increased ranges for x and y . Then use xi , yi , and zi in your surface command. For more information, see the MATLAB technical note written on this topic. It is located on the ftp site in pub/tech-support/tech-notes/gr1.txt.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123