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

ISO 15469:2004(E)/CIE S 011/E:2003: Spatial Distribution of Daylight - CIE Standard General Sky. Commission Internationale de l'Éclairage (CIE), Vienna Austria, 2004. URL: https://cie.co.at/publications/spatial-distribution-daylight-cie-standard-general-sky

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 URL: https://journals.sagepub.com/doi/10.1177/096032718701900103


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.