Ansys Learning Forum Forums Discuss Simulation Photonics How to convert energy in terms of wavelength Reply To: How to convert energy in terms of wavelength

AMaity
Subscriber

Hi Guilin,
Thanks for your prompt reply. So far I got the impression that if I make the following changes, it will work:

plot(lambda, pinch(scat, 2, 1), pinch(total, 2, 1), pinch(ext, 2, 1),

"lambda(nm)", "cross section (m^2)", "Linear x polarization");

setplot("x min", 500);

setplot("x max", 650);

legend("Scattering", "Absorption", "Extinction");

Let me know what you think.

Regards

Achyut