Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Why does COMSOL consistently enforce smoothing in 2D surface rendering?
Posted Feb 16, 2024, 12:50 p.m. EST Results & Visualization Version 6.1 2 Replies
Please login with a confirmed email address before reporting spam
Lately, I've been utilizing the atan2 function to represent the azimuthal angle of a vector. I've noticed that the atan2(Y,X) function performs well even when Y is close to zero. However, when employing a cyclic color table to visualize the azimuthal angle ranging from -180 degrees to +180 degrees, the 2D surface tool renders the abrupt transition from -180 degrees to +180 degrees as a gradual transition in between. To elaborate further, originally, it should display as a single red color according to the cyclic color table, but it consistently appears as a rainbow color in the transition zone. How can I address this issue? An example file is also provided.
Attachments: