Пример #1
0
def BlueBlackRed():
    h1 = .1 * np.pi
    h2 = 1.5 * np.pi
    J = 40
    M = 35
    start = JMhtoJab(J, M, h2)
    stop = JMhtoJab(J, M, h1)
    crit = [0, 0, 0]
    cmap = UCStoCmap(diverging(start, stop, crit), name='BlueBlackRed')
    rc("BlueBlackRed", cmap)
    return cmap
Пример #2
0
def BlueWhiteGray():
    h = .1 * np.pi
    J = 40
    M = 35

    start = JMhtoJab(J, M, h)
    stop = JMhtoJab(J, M, 0)
    crit = [100, 0, 0]
    cmap = UCStoCmap(diverging(start, stop, crit), name="BlueWhiteGray")
    rc("BlueWhiteGray", cmap)
    return cmap
Пример #3
0
def GrayWhiteRed():
    h = 1.5 * np.pi
    J = 40
    M = 35

    start = JMhtoJab(J, M, h)
    stop = JMhtoJab(J, 0, 0)
    crit = [100, 0, 0]
    cmap = UCStoCmap(diverging(start, stop, crit), name="GrayWhiteRed")
    rc("GrayWhiteRed", cmap)
    return cmap
Пример #4
0
def DarkBlueLightRed():
    h1 = .1 * np.pi
    h2 = 1.5 * np.pi
    J1 = 60
    J2 = 20
    Jc = (J1 + J2) / 2
    M = 30
    start = JMhtoJab(J2, M, h2)
    stop = JMhtoJab(J1, M, h1)
    crit = [Jc, 0, 0]
    cmap = UCStoCmap(diverging(start, stop, crit), name="DarkBlueLightRed")
    rc("DarkBlueLightRed", cmap)
    return cmap