Changeset 053f983 in sasview for plottools/src/danse/common
- Timestamp:
- Jan 23, 2012 8:01:37 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 0b705915
- Parents:
- 9a74c7d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plottools/src/danse/common/plottools/PlotPanel.py
r9a74c7d r053f983 1495 1495 1496 1496 self.subplot.figure.subplots_adjust(left=0.1, right=.8, bottom=.1) 1497 1498 X = self.x_bins[0:-1] 1499 Y = self.y_bins[0:-1] 1500 X, Y = numpy.meshgrid(X, Y) 1501 1497 1502 try: 1498 1503 # mpl >= 1.0.0 … … 1500 1505 #ax.disable_mouse_rotation() 1501 1506 cbax = self.subplot.figure.add_axes([0.84,0.1,0.02,0.8]) 1507 if len(X) > 60: 1508 ax.disable_mouse_rotation() 1502 1509 except: 1503 1510 # mpl < 1.0.0 1504 1511 ax = Axes3D(self.subplot.figure) 1512 if len(X) > 60: 1513 ax.cla() 1505 1514 cbax = None 1506 1507 X = self.x_bins[0:-1] 1508 Y = self.y_bins[0:-1] 1509 X, Y = numpy.meshgrid(X, Y) 1510 if len(X) > 60: 1511 ax.disable_mouse_rotation() 1515 1512 1516 im = ax.plot_surface(X, Y, output, rstride=1, cstride=1, cmap=cmap, 1513 1517 linewidth=0, antialiased=False)
Note: See TracChangeset
for help on using the changeset viewer.