Azzera filtri
Azzera filtri

how to draw rays?

11 visualizzazioni (ultimi 30 giorni)
bsd
bsd il 14 Set 2011
Hai,
I need to draw rays coming out of a lens after refraction. The rays should be drawn such that, after coming out of the lens, they seem to be going to infinity. How could I do this in matlab?
BSD

Risposte (1)

Jan
Jan il 14 Set 2011
Because the monitor has finite limits, you cannot draw a line to infinity. Therefore arrows are used for such cases. See e.g. FEX: ArrowPlotter, FEX: marrow3, FEX: arrow-m, FEX: 3d-arrow, FEX: Arrow3

Categorie

Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by