APLpy show markers normalized by a colormap
问题 I am using APLpy to plot a fits file and want to overplot markers on that fits file at certain ra,dec values. I want the colours of the markers to be coded with another parameter, lets say a magnitude. So what I do is I read the marker coordinates and the corresponding magnitudes from a textfile (positions.dat): ra = np.genfromtxt('positions.dat', dtype=float, comments='%', delimiter=';', missing_values='_', skip_header=1, usecols = (0)) dec = np.genfromtxt('positions.dat', dtype=float,