Histogram Dealing with Two Variables

2 views (last 30 days)
jgillis16
jgillis16 on 1 Jun 2015
Commented: Image Analyst on 1 Jun 2015
I am trying to graph a histogram that displays the distribution of L_blue_galaxy/L_blue_MW=10^(-20.8-M)/2.5. So, I need to evaluate for each galaxy the above quantity and then plot the histogram of it for all the galaxies within 20 Mpc (it will be a histogram of the number of galaxies vs L_blue_galaxy/L_blue_MW). This will allow me to evaluate how many galaxies are less luminous or more bright than the Milky Way.
An example of what I am trying to do is attached.
  3 Comments
Image Analyst
Image Analyst on 1 Jun 2015
I assume L_blue_MW is a constant, and L_blue_galaxy is a vector, so you basically have
intensityRatios = L_blue_galaxy / L_blue_MW
which gives you the ratio of each galaxy's intensity to the Milky Way's intensity.
I have no idea what the "10^(-20.8-M)/2.5" is for, and why you're setting the intensity ratios equal to that expression. And like Star said, we don't know the value or significance of M perhaps a more descriptive name might help with that).
Image Analyst
Image Analyst on 1 Jun 2015
I assume L_blue_MW is a constant, and L_blue_galaxy is a vector, so you basically have
intensityRatios = L_blue_galaxy / L_blue_MW
which gives you the ratio of each galaxy's intensity to the Milky Way's intensity.
I have no idea what the "10^(-20.8-M)/2.5" is for, and why you're setting the intensity ratios equal to that expression. And like Star said, we don't know the value or significance of M perhaps a more descriptive name might help with that).

Sign in to comment.

Answers (0)

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!