コード例 #1
0
ファイル: config.py プロジェクト: alirezaniki/kiwi
def taco(s):
    return gmt_color(tango_colors[s])
コード例 #2
0
def taco(s):
    return gmt_color(tango_colors[s])
コード例 #3
0
ファイル: config.py プロジェクト: alirezaniki/kiwi
def taco(s):
    return gmt_color(tango_colors[s])

symbol_best_result = '-Sa20p  -G%s -W1p/%s' % (taco('scarletred1'), taco('scarletred3'))

#
# Plot configurations using autoplot
#


zebra = [ b or c for c in graph_colors for b in None, (0,0,0) ]
seismogram_plot_config = dict(
    fit = True,
    width    = 4,
    yspacing = 0.1,
    symbols_SGW = ['-W1.5p/%s' % gmt_color(c) for c in zebra ],
    yannotevery = 0,
    yfunit = 'off',
    ylabelofs = 0.15,
    xlabel = 'Time',
    xunit = 's',
    xautoscale = 'min-max',
)

spectrum_plot_config = dict(
    fit = True,
    width    = 4,
    yspacing = 0.1,
    symbols_SGW = ['-W1.5p/%s' % gmt_color(c) for c in zebra ],
    yannotevery = 0,
    yfunit = 'off',
コード例 #4
0
    return gmt_color(tango_colors[s])


symbol_best_result = '-Sa20p  -G%s -W1p/%s' % (taco('scarletred1'),
                                               taco('scarletred3'))

#
# Plot configurations using autoplot
#

zebra = [b or c for c in graph_colors for b in None, (0, 0, 0)]
seismogram_plot_config = dict(
    fit=True,
    width=4,
    yspacing=0.1,
    symbols_SGW=['-W1.5p/%s' % gmt_color(c) for c in zebra],
    yannotevery=0,
    yfunit='off',
    ylabelofs=0.15,
    xlabel='Time',
    xunit='s',
    xautoscale='min-max',
)

spectrum_plot_config = dict(
    fit=True,
    width=4,
    yspacing=0.1,
    symbols_SGW=['-W1.5p/%s' % gmt_color(c) for c in zebra],
    yannotevery=0,
    yfunit='off',