-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Right now cplot has made the decision that a complex phase of zero (pi) corresponds to green (purple) hue. Another obvious choice is for a complex phase of zero (pi) corresponds to red (cyan) hue. I would prefer the latter. It would be nice if I could choose between these two conventions. More generally I could just pass an arbitrary phase so I can rotate the color-wheel to my liking.
I'm actually curious where the choice of zero phase -> green hue comes from? The choice of zero phase -> red hue comes from my understanding that a "hue" of zero corresponds to red. Maybe there is some driving factor for choosing zero phase -> green?
I can work around this by multiply my function f by exp(-1j*2*np.pi/3). This gets the domain color plot to look right, the but the colorbar in the legend for the phase is still "clocked" wrong.