Skip to content

Commit

Permalink
Configure center lat/lon in B4D_startup, update example
Browse files Browse the repository at this point in the history
  • Loading branch information
deeplycloudy committed Sep 18, 2013
1 parent 4921bfb commit 5175dd7
Show file tree
Hide file tree
Showing 2 changed files with 860 additions and 20 deletions.
4 changes: 2 additions & 2 deletions brawl4d.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,15 @@ def plot_demo_dataset(d, panels):
return branch, scatter_outlet_broadcaster


def B4D_startup(show=False, basedate=None):
def B4D_startup(show=False, basedate=None, ctr_lat=33.5, ctr_lon=-101.5):
import matplotlib
fontspec = {'family':'Helvetica', 'weight':'bold', 'size':10}
matplotlib.rc('font', **fontspec)

import matplotlib.pyplot as plt

panel_fig = plt.figure()
panels = Panels4D(figure=panel_fig, names_4D=('x', 'y', 'z', 'time'), basedate=basedate)
panels = Panels4D(figure=panel_fig, names_4D=('x', 'y', 'z', 'time'), basedate=basedate, ctr_lat=ctr_lat, ctr_lon=ctr_lon)
fig_updater = FigureUpdater(panel_fig)

panels.panels['xy'].axis((-1000, 1000, -1000, 1000))
Expand Down
Loading

0 comments on commit 5175dd7

Please sign in to comment.