frudawski

plotskydirecto

The plotskydirecto function creates a directogram plot of a Tregenza sky hemisphere, where the line length and disc size are related to the reference unit.

See also: plottregenza

Usage:

plotskydirecto(data,clr,clabel,view)

Where:

ParameterDescription
dataContains the to be plotted data as 145\times1 vector or 145\times2 matrix. The first column sets the directogram data, the second is for additional false-colours illustration, e.g. luminance and CCT in one illustration.
clr
(optional)
Specifies the disc colours:
145\times3 matrix to specify each patch colour.
1\times3 vector to specify an uniform patch colour.
‘w’ for white
‘gray’ for grayscales with colourbar
‘clr’ for false-colours with colourbar (default)
clabel
(optional)
Specifies the colourbar label.
view
(optional)
Sets the camera viewing direction, 1\times2 vector [azimuth elevation], default [-40 33].

Examples

Plot sky directogram for CIE skytype 12 at sun azimuth \alpha_S = 166° and sun elevation \gamma_S = 33° in white:

L = ciesky(12,166,33);
plotskydirecto(L,'w')

See also: ciesky

Result:

Plot sky directogram for CIE skytype 12 at sun azimuth \alpha_S = 166° and sun elevation \gamma_S = 33° in uniform colour:

L = ciesky(12,166,33);
plotskydirecto(L,[0 0.5 0.7])

See also: ciesky

Result:


Plot sky directogram for CIE skytype 12 at sun azimuth \alpha_S = 166° and sun elevation \gamma_S = 33° in greyscales and set colour bar label:

L = ciesky(12,166,33);
plotskydirecto(L,'gray','L in cd m^{-2}')

See also: ciesky

Result:


Plot sky directogram for CIE skytype 12 at sun azimuth \alpha_S = 166° and sun elevation \gamma_S = 33° in colour, set colourbar label and change camera viewing direction:

L = ciesky(12,166,33);
plotskydirecto(L,'clr','L in cd m^{-2}',[0 90])

See also: ciesky

Result:


Plot sky directogram for CIE skytype 7 at sun azimuth \alpha_S = 135° and sun elevation \gamma_S = 33° in colour and additional data in false-colours
:

L = ciesky(7,135,33);
data = [1:145]';
plotskydirecto([L data],'clr','data',[0 90])

See also: ciesky

Result:

References:

Peter Roy Tregenza: Subdivision of the sky hemisphere for luminance measurements. In: Lighting Research and Technology, vol. 19, no. 1, pp. 13-14, 1987, (DOI: 10.1177/096032718701900103).

Martine Knoop, Kai Broszio, Aicha Diakite, Carolin Liedtke, Mathias Niedling, Inga Rothert, Frederic Rudawski, Nils Weber: Methods to Describe and Measure Lighting Conditions in Experiments on Non-Image-Forming Aspects. In: LEUKOS, vol. 15, no. 2-3, pp. 163-179, 2019, (DOI: 10.1080/15502724.2018.1518716).

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.