- Timestamp:
- 03/03/12 20:25:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapgrid.py
r2419 r2420 325 325 self.blc[1]-0.5*self.celly, 326 326 self.trc[1]+0.5*self.celly] 327 deccorr = 1.0/numpy.cos(0.5*(self.blc[1]+self.trc[1])) 327 328 pl.imshow(data,extent=extent,origin='lower',interpolation='nearest') 328 329 pl.colorbar() 329 330 pl.xlabel('R.A. [rad]') 330 331 pl.ylabel('Dec. [rad]') 332 ax = pl.axes() 333 ax.set_aspect(deccorr) 331 334 pl.title( title ) 332 335
Note:
See TracChangeset
for help on using the changeset viewer.