How to spin the colormap in 2 different circles in matlab

  • MATLAB
  • Thread starter ThunderLight
  • Start date
  • #1

Main Question or Discussion Point

Hi,

I'm trying to rotate 2 different plotted circles in matlab, which have the Jet colourmap.
Colormap has the Spinmap function, but when I use it, it only spins the Jet colormap in 1 circle, leaving out the other.

I would like to spin the Jet colormap in2 different circles in opposite directions, and not have the angle view changed from what I originally had. The Spinmap function seems to change the angle, and occupy the entire screen.

Is there any other way?
 

Answers and Replies

  • #2
Have you tried using circshift() on the colormap?
 

Related Threads for: How to spin the colormap in 2 different circles in matlab

Replies
1
Views
21K
Replies
5
Views
901
Replies
0
Views
2K
Replies
3
Views
2K
Replies
1
Views
5K
Replies
0
Views
4K
Replies
3
Views
4K
Top