[change] visual changes in array map (contourf->contour)
This commit is contained in:
parent
aca0cfcabc
commit
1ee3e43451
@ -382,11 +382,11 @@ class Array_map(QtGui.QWidget):
|
|||||||
longitudes.append(self.stations_dict[st_id]['longitude'])
|
longitudes.append(self.stations_dict[st_id]['longitude'])
|
||||||
return picks, latitudes, longitudes
|
return picks, latitudes, longitudes
|
||||||
|
|
||||||
def draw_contour_filled(self, nlevel='50'):
|
def draw_contour_filled(self, nlevel='75'):
|
||||||
# self.test_gradient()
|
# self.test_gradient()
|
||||||
|
|
||||||
levels = np.linspace(self.get_min_from_picks(), self.get_max_from_picks(), nlevel)
|
levels = np.linspace(self.get_min_from_picks(), self.get_max_from_picks(), nlevel)
|
||||||
self.contourf = self.basemap.contourf(self.longrid, self.latgrid, self.picksgrid_active,
|
self.contourf = self.basemap.contour(self.longrid, self.latgrid, self.picksgrid_active,
|
||||||
levels, latlon=True, zorder=9, alpha=0.7, cmap=self.get_colormap())
|
levels, latlon=True, zorder=9, alpha=0.7, cmap=self.get_colormap())
|
||||||
|
|
||||||
def get_colormap(self):
|
def get_colormap(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user