You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to plot a histogram with two arrays, each one of it has 29.000 elements (aprox.), so those correspond [1, 29.000]
This is part of code to plot:
data = fits.getdata('C:/Users/VanesaLara/Desktop/SDSS/DB/DR12Q.fits', 1)
t = Table(data)
x = t['Z_VI']
y = t['BI_CIV']
plt.hist(x, y, 50, density=True, edgecolor='DarkCyan', histtype='step')
plt.title('Distribution BI')
plt.xlabel('Z_VI')
plt.ylabel('BI_CIV')
plt.show()
The text was updated successfully, but these errors were encountered:
I'm trying to plot a histogram with two arrays, each one of it has 29.000 elements (aprox.), so those correspond [1, 29.000]
This is part of code to plot:
data = fits.getdata('C:/Users/VanesaLara/Desktop/SDSS/DB/DR12Q.fits', 1)
t = Table(data)
x = t['Z_VI']
y = t['BI_CIV']
plt.hist(x, y, 50, density=True, edgecolor='DarkCyan', histtype='step')
plt.title('Distribution BI')
plt.xlabel('Z_VI')
plt.ylabel('BI_CIV')
plt.show()
The text was updated successfully, but these errors were encountered: