frudawski

plotisocolours

The plotisocolours function creates an isoline false colour illustration for a given data distribution on a surface. The function does not extrapolate or plot data outside the grid coordinates.

See also: plotisolines, plotfalsecolours, plotgrid

Usage:

plotisocolours(x,y,Y,clabel,climits)

Where:

ParameterDescription
x and yAre the coordinate vectors of the mesh grid.
YIs the to be plotted quantity distribution in matrix form.
clabelIs the colourbar label.
climitsSpecifies the colourbar limits in vector format: [c1 c2]

Example

Plot an illuminance distribution in a plane:

x = 0:4;
y = 0:6;
E = [65.0451 65.4281 66.6292 67.1130 66.7063
     65.4280 68.4963 71.0842 71.7268 71.1471
     66.6291 70.7887 77.3848 81.2140 77.3849
     67.1127 73.6917 81.5131 83.5850 81.3887
     66.6291 70.7887 77.3848 81.5566 77.4113
     65.4281 67.4780 70.9568 73.6784 70.8536
     65.0451 65.4280 66.1305 67.1127 66.1305];

plotisocolours(x,y,E,'E in lx')
title('illuminance E')

Result:

Plot an illuminance distribution of a measurement grid:

[x,y] = egrid(2,3);
E = [65.0451 65.4281 66.6292 67.1130 66.7063
     65.4280 68.4963 71.0842 71.7268 71.1471
     66.6291 70.7887 77.3848 81.2140 77.3849
     67.1127 73.6917 81.5131 83.5850 81.3887
     66.6291 70.7887 77.3848 81.5566 77.4113
     65.4281 67.4780 70.9568 73.6784 70.8536
     65.0451 65.4280 66.1305 67.1127 66.1305];

plotisocolours(x,y,E,'E in lx')
title('illuminance E')

See also: egrid, plotgrid

Result:

Note: the plotisocolours function only plots the area inside the mesh points, for extrapolation over the original area size use the plotgrid function.

Plot an illuminance distribution on a surface and adjust colourbar limits from 0 lx to 100 lx:

x = 0:4;
y = 0:6;
E = [65.0451 65.4281 66.6292 67.1130 66.7063
     65.4280 68.4963 71.0842 71.7268 71.1471
     66.6291 70.7887 77.3848 81.2140 77.3849
     67.1127 73.6917 81.5131 83.5850 81.3887
     66.6291 70.7887 77.3848 81.5566 77.4113
     65.4281 67.4780 70.9568 73.6784 70.8536
     65.0451 65.4280 66.1305 67.1127 66.1305];

plotisocolours(x,y,E,'E in lx',[0 100])

Result:

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.