Changeset 4950 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jun 11, 2021 7:49:24 AM (6 months ago)
Author:
vondreele
Message:

remove aspect='eual' from a plot contour call - no longer allowed
put floor on phase fraction of 1e-4 - avoid negatives.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4904 r4950  
    64066406        else:
    64076407            x,y = np.tan(Beta/2.)*np.cos(Phi),np.tan(Beta/2.)*np.sin(Phi)       
    6408         npts = 201
     6408        npts = 101
    64096409        X,Y = np.meshgrid(np.linspace(1.,-1.,npts),np.linspace(-1.,1.,npts))
    64106410        R,P = np.sqrt(X**2+Y**2).flatten(),npatan2d(Y,X).flatten()
     
    65576557            Z = np.reshape(Z,(npts,npts))
    65586558            try:
    6559                 CS = Plot.contour(Y,X,Z,aspect='equal')
     6559                CS = Plot.contour(Y,X,Z)
    65606560                Plot.clabel(CS,fontsize=9,inline=1)
    65616561            except ValueError:
Note: See TracChangeset for help on using the changeset viewer.