/usr/include/openturns/swig/Cloud_doc.i is in libopenturns-dev 1.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | %feature("docstring") OT::Cloud
"Cloud.
Available constructors:
Cloud(*data, legend=' '*)
Cloud(*dataX, dataY, legend=' '*)
Cloud(*data, color, pointStyle, legend=' '*)
Cloud(*dataComplex, legend=' '*)
Parameters
----------
data : 2-d sequence of float
Points from which the cloud is built.
dataX, dataY : two 2-d sequences of float of dimension 1, or two sequences of float
Points from which the cloud is built.
legend : str
Legend of the Cloud.
color : str
Color of the points. If not specified, by default it is 'blue'.
pointStyle : str
Style of the points. If not specified, by default it is 'plus'.
dataComplex : :class:`~openturns.NumericalComplexCollection`
Collection of complex points.
Examples
--------
>>> import openturns as ot
>>> R = ot.CorrelationMatrix(2)
>>> R[1, 0] = -0.25
>>> distribution = ot.Normal([-1.5, 0.5], [4., 1.], R)
>>> sample = distribution.getSample(100)
>>> # Create an empty graph
>>> myGraph = ot.Graph('Normal sample', 'x1', 'x2', True, '')
>>> # Create the cloud
>>> myCloud = ot.Cloud(sample, 'blue', 'fsquare', 'My Cloud')
>>> myGraph.add(myCloud)"
|