Question: Need help with the general python code for this sort of question. 2 d . Produce a colour - magnitude diagram for all the galaxies

Need help with the general python code for this sort of question.
2d. Produce a colour-magnitude diagram for all the galaxies in the table, using (g-r) as the colour and
the g-band absolute magnitude.
Highlight Galaxy A and Galaxy B on this figure, using different symbols
Label the red cloud and blue sequence. You may consider that the separation of the red sequence and
blue cloud is given by a dividing line with the form: g-r=-0.0571(Mg+24)+0.9
 Need help with the general python code for this sort of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!