Statistics - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Statistics : Statistics/SunflowerPlot

Statistics

  

SunflowerPlot

  

generate sunflower plots

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

SunflowerPlot(X, Y, Z, options, plotoptions)

Parameters

X

-

first data sample

Y

-

(optional) second data sample

Z

-

(optional) third data sample

options

-

(optional) equation(s) of the form length=value; specify options for generating the sunflower plot

plotoptions

-

options to be passed to the plots[display] command

Options

  

The options argument can contain one or more of the options shown below. All unrecognized options will be passed to the plots[display] command. See plot[options] for details.

• 

length = positive

  

This option specifies the length of the lines, squares, or cubes that the sample space is divided into, and subsequently, the diameter of each sunflower.  If length is not specified, then one-tenth of the biggest range among the data samples is used.

Description

• 

The SunflowerPlot command generates a sunflower plot for the specified data. The n-dimensional space defined by the data sample(s) provided is divided into a regular lattice of lines, squares, or cubes (depending of the number of data samples), with side lengths equal to length. Any such division that contains one or more points from the data sample(s) is filled with a sunflower.

• 

A sunflower is a two-dimensional object that is centered inside one of the n-dimensional divisions. One radial arm extends from the center point of the sunflower for each real point contained in the division.

• 

Since all data points are replaced by sunflowers, this type of plot is ideal when there is a large number of points that need to be plotted and the detail of the exact position of every point is not important.

• 

The parameters X, Y and Z are the data samples to be plotted. Each can be given as a Vector, Matrix, Array, or list, though they do not all have to be of the same type. They also do not need to be one dimensional, but will be treated as though they are. The first data sample, X, is required, but the second and third data samples, Y and Z respectively, are optional. Note that all data samples must have the same number of elements.

• 

This function is part of the Statistics package, so it can be used in the short form SunflowerPlot(..) only after executing the command with(Statistics).  However, it can always be accessed through the long form of the command by using Statistics[SunflowerPlot](..).

Examples

withStatistics:

dataVector[row]2,5.3,4.6,0.88,2.5,5.9,5,10,1.7,7.8,7.2,9.42,9.01,3.42,4,11.59,8,10.3,1.5,8.5,11.4:

SunflowerPlotdata,length=4,size=600,200

The commands to create the plot from the Plotting Guide are

ASampleRandomVariableNormal0,1,100:

BSampleRandomVariableNormal0,1,100:

SunflowerPlotA,B,length=1,view=0..3,0..3

See Also

plot[options]

plots[display]

Statistics

Statistics[AgglomeratedPlot]

Statistics[BubblePlot]

Statistics[Visualization]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam