Two-Color DualCmapΒΆ
The following DualCmap emphasizes relationship between the surface to parametic quadrants:
The script to generate the above figure is identical to the U,V Value DualCmap example with the Dualcmap defined as:
blue_red = cmu.binary_cmap([0,0,1],[1,0,0], name='blue_red')
red_green = cmu.binary_cmap([1,0,0],[0,1,0], name='red_green')
cmap2d = cmu.DualCmap(blue_red,red_green,name='mcyr2')
The parametric quadrants normal to the xy axis are shown below:
where the 3-D axis view is set as:
ax.view_init(90,90)
ax.set_proj_type('ortho')
In addition, the rez argument was increased to 7, reducing the abrupt visual discontinuities between two colored regions.
