Histogram Dealing with Two Variables
1 view (last 30 days)
Show older comments
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
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
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).
Answers (0)
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!