Changeset c1d2af4 in sasview for guiframe/local_perspectives/plotting
- Timestamp:
- May 14, 2010 6:27:12 PM (15 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:
- cc1ead1
- Parents:
- e306b96e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/masking.py
re306b96e rc1d2af4 456 456 if self.plotpanel.scale == 'log': 457 457 zmax = math.log(max(self.data.data[self.data.data>0])) 458 if min(self.data.data) == 0: 459 zmin = 0 460 else: 461 zmin = math.log(min(self.data.data[self.data.data>0])) 458 zmin = math.log(min(self.data.data[self.data.data>0])) 462 459 else: 463 460 zmax = max(self.data.data[self.data.data>0])
Note: See TracChangeset
for help on using the changeset viewer.