I have imported an array into my IPython notebook using the following method:
SDSS_local_AGN = np.fromfile('/Users/iMacHome/Downloads/SDSS_local_AGN_Spectra.dat', dtype=float)
The array is of the form:
SPECOBJID_1 RA DEC SUBCLASS ...
299528159882143744 146.29988 -0.12001413 AGN ...
299532283050747904 146.32957 -0.30622363 AGN ...
Essentially each column has a header, and I now need to plot certain values.
As an example, I want to plot RA against DEC...how would I go about doing this?
Perhaps:
axScatter.plot(SDSS_local_AGN[RA], SDSS_local_AGN[DEC])
np.fromfile(file, dtype=float)(using the defaultsep='') reads a binary file of floating point values. How can your array have "columns" containing integers (SPECOBJID_1) or strings (SUBCLASS)?