view the rest of the comments
Ask Science
Ask a science question, get a science answer.
Community Rules
Rule 1: Be respectful and inclusive.
Treat others with respect, and maintain a positive atmosphere.
Rule 2: No harassment, hate speech, bigotry, or trolling.
Avoid any form of harassment, hate speech, bigotry, or offensive behavior.
Rule 3: Engage in constructive discussions.
Contribute to meaningful and constructive discussions that enhance scientific understanding.
Rule 4: No AI-generated answers.
Strictly prohibit the use of AI-generated answers. Providing answers generated by AI systems is not allowed and may result in a ban.
Rule 5: Follow guidelines and moderators' instructions.
Adhere to community guidelines and comply with instructions given by moderators.
Rule 6: Use appropriate language and tone.
Communicate using suitable language and maintain a professional and respectful tone.
Rule 7: Report violations.
Report any violations of the community rules to the moderators for appropriate action.
Rule 8: Foster a continuous learning environment.
Encourage a continuous learning environment where members can share knowledge and engage in scientific discussions.
Rule 9: Source required for answers.
Provide credible sources for answers. Failure to include a source may result in the removal of the answer to ensure information reliability.
By adhering to these rules, we create a welcoming and informative environment where science-related questions receive accurate and credible answers. Thank you for your cooperation in making the Ask Science community a valuable resource for scientific knowledge.
We retain the discretion to modify the rules as we deem necessary.
In a vacuum c=nu*lamba or the speed of light is equal to the frequency times wavelength. So nu=c/lamba. If you plot 1/x, you don't get a straight inverse line. You get a multiplicative inverse. So not only is the data flipped, but it also has a distortion that will compress portions and stretch others.
As to why the functions peak at different colors, I believe this is due to an oddity in the axis units. Notice how the irradiance is in W/m^2/nm in the first and W/m^2/THz in the second. Are you familiar with histograms? Think of it like binning the power intensity per nm bin and power intensity per THz bin. Since THz and nm are inversely related, the width of the bins is changing when the basis is changed. This leads to another stretching in the data that is less intuitive.
Thank you. Why would they compress/decompress based on how light is measured? I would assume that the x-axis would reflect the same range of light regardless if the light is measured by length or frequency. Why give different ranges of light?
The x-axis range spans the same region of “photon energy” space in both plots. The data starts at about 280 nm in the first plot, which is 1000 THz (the maximum value in the second plot).
The stretching effect caused by working in different x-axis units is because the units don’t map linearly, but are inversely proportional. A 1 nm wide histogram bin at 1000 nm will contain the histogram counts corresponding to a 0.3 THz wide region at 300 THz in the frequency plot. Another 1 nm wide bin at 200 nm will correspond to a 7.5 THz wide region located at 1500 THz in the frequency plot.
You can get a sense of how this works just by looking at how much space the colorful visible light portion of the spectrum takes up on each plot. In the wavelength plot, by eye I’d say visible light corresponds to about 1/6 the horizontal axis scale. In the frequency plot, it’s more like 1/4.
That normalization is necessary because otherwise exactly how you bin the data would change the vertical scale, even if you used the same units. For example, consider the first plot. Let’s assume the histogram bins are uniformly 1 nm wide. Now imaging rebinning the data into 2 nm wide bins. You would effectively take the contents of 2 bins and combine them into one, so the vertical scale would roughly double. 2 plots would contain the same data but look vastly different in magnitude. But if in both cases you divide by bin width (1 nm or 2 nm, depending) the histogram magnitudes would be equal again. So that’s why the units have to be given in “per nm” or “per THz).