| Search Locate Previous Next | Contents |
This is the workhorse function of Rains 3D plotting capabilities. It can generate simple 3D scatter diagrams, straw and ball charts, multiple cross sections with optional risers and filled surfaces.
ch.Cloud mat
Examples
MAT´+\+?5 3½36
ch.Set('Style' 'risers,nolines,grid')('Marker' 14)
© Note that the XYZ needs a 3-column matrix
ch.Cloud(3/¼5),(15½¼3),[1.5],MAT
The data to be passed is a simple 3-column matrix giving X, Y and Z values. Multiple sets of data may be plotted by repeated calls to ch.Cloud, having set the axis ranges in advance. The usual settings for markers and lines apply, and risers may be set to produce straw and ball plots with verticals rising from the XY plane to each point.
If more than 3 columns are given, columns after the first two are treated as independent sets of z-values, and drawn using the current colour and marker cycles.. This allows statements like:
ch.Cloud yield vs variety farm by year
to make a multiple scatter of the barley data.
See also ...
ch.Resp response surface plots
Cloudchart Style