frudawski

plot2dldc

The plot2dldc function plots a 2D illustration of a given light intensity distribution curve (LDC).

Usage:

plot2dldc(ldt)

Where:

ParameterDescription
ldcIs a valid light intensity distribution curve struct, see readldt function

Example

ldc = readldt('lambert.ldt');
plot2dldc(ldc)

See also: readldt

Result:

Note: To select a file via a popup dialog window, use the following code snippet:

[file,path] = uigetfile('*.ldt');
% select EULUMDAT file %
ldt = read_ldt([path file])

Leave a comment

* I accept the use of cookies as well as the terms in the privacy policy. I accept that data provided by me is processed and saved. I know that comments are saved and published after review.