Changeset 2193 for trunk/GSASIIplot.py
- Timestamp:
- Apr 2, 2016 10:12:44 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r2187 r2193 2471 2471 Ymin = np.min(XY.T[0]) 2472 2472 Ymax = np.max(XY.T[0]) 2473 Dx = 0.5*(Xmax-Xmin)/Nxy[0] 2474 Dy = 0.5*(Ymax-Ymin)/Nxy[1] 2473 2475 Plot.set_title(Title) 2474 2476 if labelX: … … 2482 2484 acolor = mpl.cm.get_cmap(G2frame.ContourColor) 2483 2485 Img = Plot.imshow(Z.T,cmap=acolor,interpolation=G2frame.Interpolate,origin='lower', \ 2484 aspect='auto',extent=[Xmin ,Xmax,Ymin,Ymax],vmin=0,vmax=Zmax*G2frame.Cmax)2486 aspect='auto',extent=[Xmin-Dx,Xmax-Dx,Ymin+Dy,Ymax+Dy],vmin=0,vmax=Zmax*G2frame.Cmax) 2485 2487 Page.figure.colorbar(Img) 2486 2488 if not newPlot:
Note: See TracChangeset
for help on using the changeset viewer.