How to spin the colormap in 2 different circles in matlab

  • Context: MATLAB 
  • Thread starter Thread starter ThunderLight
  • Start date Start date
  • Tags Tags
    Circles Matlab Spin
ThunderLight
Messages
27
Reaction score
2
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?
 
Physics news on Phys.org
Have you tried using circshift() on the colormap?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
22K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K