mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
fix output formats of correlation function plot
This commit is contained in:
parent
b2d5c05286
commit
ae22f0c036
1 changed files with 3 additions and 1 deletions
|
@ -119,7 +119,9 @@ def computeXcor(catalog,
|
||||||
plt.xlim(rmin,rmax)
|
plt.xlim(rmin,rmax)
|
||||||
plt.ylim(min(10**np.floor(np.log10(abs(Xvm).min())),10**np.floor(np.log10(abs(Xmm).min())))/margin, max(10**np.ceil(np.log10(Xmm.max())),10**np.ceil(np.log10(Xvv.max())))*margin)
|
plt.ylim(min(10**np.floor(np.log10(abs(Xvm).min())),10**np.floor(np.log10(abs(Xmm).min())))/margin, max(10**np.ceil(np.log10(Xmm.max())),10**np.ceil(np.log10(Xvv.max())))*margin)
|
||||||
plt.legend([pa, pb, pc],['tt', 'vt', 'vv'],'best',prop={'size':12})
|
plt.legend([pa, pb, pc],['tt', 'vt', 'vv'],'best',prop={'size':12})
|
||||||
plt.savefig(figDir+'/correlation.eps', format='eps', bbox_inches="tight")
|
plt.savefig(figDir+'/correlation.eps', bbox_inches="tight")
|
||||||
|
plt.savefig(figDir+'/correlation.pdf', bbox_inches="tight")
|
||||||
|
plt.savefig(figDir+'/correlation.png', bbox_inches="tight")
|
||||||
plt.clf()
|
plt.clf()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue