필터 지우기
필터 지우기

Histogram Dealing with Two Variables

조회 수: 1 (최근 30일)
jgillis16
jgillis16 2015년 6월 1일
댓글: Image Analyst 2015년 6월 1일
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
Image Analyst
Image Analyst 2015년 6월 1일
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 2015년 6월 1일
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).

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by