|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
BubbleChart3D
BubbleChart3D[{{x1, y1, z1, u1}, {x2, y2, z2, u2}, ...}]
makes a 3D bubble chart with bubbles at positions
with sizes
.
BubbleChart3D[{..., wi[{xi, yi, zi, ui}, ...], ..., wj[{xj, yj, zj, uj}, ...], ...}]
makes a 3D bubble chart with bubble features defined by the symbolic wrappers
.
BubbleChart3D[{data1, data2, ...}]
makes a 3D bubble chart from multiple datasets
.
Details and OptionsDetails and Options
- Data elements for BubbleChart3D can be given in the following forms:
-
{xi,yi,zi,ui} a pure bubble value wi[{xi,yi,zi,ui},...] a bubble with value
and wrapper
formi->mi a sector form with metadata 
- The values
should be positive. - Data not given in these forms is ignored in forming the 3D bubble chart.
- Datasets for BubbleChart3D can be given in the following forms:
-
{e1,e2,...} list of elements with or without wrappers w[{e1,e2,...},...] wrapper applied to a whole dataset w[{data1,data1,...},...] wrapper applied to all datasets - The following wrappers can be used for chart elements:
-
Annotation[e,label] provide an annotation Button[e,action] define an action to execute when the element is clicked EventHandler[e,...] define a general event handler for the element Hyperlink[e,uri] make the element act as a hyperlink Labeled[e,...] display the element with labeling Legended[e,...] include features of the element in a chart legend Mouseover[e,over] make the element show a mouseover form PopupWindow[e,cont] attach a popup window to the element StatusArea[e,label] display in the status area when the element is moused over Style[e,opts] show the element using the specified styles Tooltip[e,label] attach an arbitrary tooltip to the element - In BubbleChart3D, Labeled and Placed allow the following positions:
-
Top,Bottom,Left,Right,Center, Front,Back positions within bubbles Above,Below, Before, After positions outside bubbles {{bx,by,bz},{lx,ly}} scaled position
in the label at scaled position
in the bubble - BubbleChart3D has the same options as Graphics3D with the following additions and changes:
-
Axes True whether to draw axes AxesEdge {{-1, -1}, {1, -1}, {-1, -1}} on which edges to put axes Boxed {Left,Bottom,Back} what faces to draw on a bounding box BoxRatios {1,1,1} bounding 3D box ratios BubbleScale "Volume" size feature used for bubbles BubbleSizes Automatic size range to use for bubbles ChartBaseStyle Automatic overall style for bubbles ChartElementFunction Automatic how to generate raw graphics for bubbles ChartElements Automatic graphics to use for each of the bubbles ChartLabels None labels for data elements and datasets ChartLegends None legends for data elements and datasets ChartStyle Automatic style for bubbles ColorFunction Automatic how to color bubbles ColorFunctionScaling True whether to normalize the arguments for ColorFunction FaceGrids Automatic grid lines to draw on the bounding box LabelingFunction Automatic how to label bubbles LegendAppearance Automatic overall appearance of legends Lighting "Neutral" simulated light sources to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize ScalingFunctions None how to scale individual coordinates - With the setting ChartElements->g, the graphic g will be used to form pictorial bubbles consisting of stretched versions of g.
- The arguments supplied to ChartElementFunction are the bubble region
, the values
, and the metadata
from each level in a nested list of datasets. - A list of built-in settings for ChartElementFunction can be obtained from
. - The arguments supplied to ColorFunction are x, y, z, and u.
- Style and other specifications from options and other constructs in BubbleChart3D are effectively applied in the order ChartStyle, ColorFunction, Style and other wrappers, ChartElements, and ChartElementFunction, with later specifications overriding earlier ones.
New in 7 | Last modified in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »





