Changeset 431


Ignore:
Timestamp:
Dec 1, 2011 9:49:50 AM (10 years ago)
Author:
vondreele
Message:

3D plots for mustrain & size now have correct aspect ratio
title includes model name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r430 r431  
    12541254                    Plot.plot_surface(X,Y,Z,rstride=1,cstride=1,color='g',linewidth=1)
    12551255                if plotType == 'Size':
    1256                     Plot.set_title('Crystallite size for '+phase)
     1256                    Plot.set_title('Crystallite size for '+phase+'\n'+coeff[0]+' model')
    12571257                    Plot.set_xlabel(r'X, $\mu$m')
    12581258                    Plot.set_ylabel(r'Y, $\mu$m')
    12591259                    Plot.set_zlabel(r'Z, $\mu$m')
     1260                    Plot.set_aspect('equal')
    12601261                else:   
    1261                     Plot.set_title(r'$\mu$strain for '+phase)
     1262                    Plot.set_title(r'$\mu$strain for '+phase+'\n'+coeff[0]+' model')
    12621263                    Plot.set_xlabel(r'X, $\mu$strain')
    12631264                    Plot.set_ylabel(r'Y, $\mu$strain')
    12641265                    Plot.set_zlabel(r'Z, $\mu$strain')
     1266                    Plot.set_aspect('equal')
    12651267            else:
    12661268                h,k,l = generalData['POhkl']
Note: See TracChangeset for help on using the changeset viewer.