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.
Continuous Cyclic Color Table Plot
Posted 2016年7月21日 GMT-4 03:48 Acoustics & Vibrations, Results & Visualization Version 5.2 1 Reply
Please login with a confirmed email address before reporting spam
Hi,
I am trying to visualize the phase of an acoustic mode. I calculate the phase of my pressure field via: atan2(real(p),imag(p)) where p is the acoustic pressure.
I rescale the phase to a -180 to +180 degree interval and plot it as a surface using the cyclic colortable. The result looks fine, except that there are discontinuities in the surface plot where the phase jumps from -180 (red) to +180 (red) between cells. The color of the surface plot changes through all of the intermediate values producing 1 cell wide "rainbow bands" throughout the surface plot.
Is there a way to make a continuous cyclic color table plot? i.e. one where between cells with -180 (red) and +180 (red) the color stays red?
thanks
I am trying to visualize the phase of an acoustic mode. I calculate the phase of my pressure field via: atan2(real(p),imag(p)) where p is the acoustic pressure.
I rescale the phase to a -180 to +180 degree interval and plot it as a surface using the cyclic colortable. The result looks fine, except that there are discontinuities in the surface plot where the phase jumps from -180 (red) to +180 (red) between cells. The color of the surface plot changes through all of the intermediate values producing 1 cell wide "rainbow bands" throughout the surface plot.
Is there a way to make a continuous cyclic color table plot? i.e. one where between cells with -180 (red) and +180 (red) the color stays red?
thanks
1 Reply Last Post 2016年7月21日 GMT-4 11:55