RootFinding[Parametric]
CellPlot
plot one or more open cells
Calling Sequence
Parameters
Description
Examples
CellPlot (m, k, options)
m
-
solution module, as returned by CellDecomposition
k
(optional) positive integer or list of positive integers; cell indices
options
(optional) equations of the form option=value; see below for details
The command CellPlot(m,k) plots the kth cell of the cell decomposition given by the solution module m. If k is a list, then all cells whose indices are in k are plotted. If k is omitted entirely, then all open cells are plotted.
Currently, this command can only be used in the case of exactly 2 parameters. A corresponding error message is returned otherwise.
If more than once cell is plotted, then any two adjacent cells have a different color. These colors can be controlled using the option color=c, where c can be either a single color specification or a list of color specifications; if less than 4 colors are provided, then the default colors are used to complete the list; see plot/color.
The following options are recognized by CellPlot.
samplepoints=b, where b is either true or false, controls whether the sample point of each cell is plotted (the default is false).
pointcolor=p, where p is a color specification (see plot/color), controls in which color the sample points are plotted (the default is black). The options symbol and symbolsize (see plot/options) control the shape of the sample points.
thickness=t, where t is a positive integer (the default is 2), controls the thickness of the boundary of each cell.
cellcolor=c, where c can be a color or a list of colors, controls the color of each plotted cell; if the list is shorter than the number of displayed cells, then the colors are completed by repeating the list.
The remaining options are the same as those found in plot. For more information, see plot/options.
When the solution module m has been computed by CellDecomposition with the option output=cad, the plotting is certified; otherwise, a numerical algorithm is used to render the cells.
This command is part of the RootFinding[Parametric] package, so it can be used in the form CellPlot(..) only after executing the command with(RootFinding[Parametric]). However, it can always be accessed through the long form of the command by using RootFinding[Parametric][CellPlot](..).
with⁡RootFindingParametric:
m≔CellDecomposition⁡x3+a⁢x2+b⁢x+a=0,x,a,b:
CellPlot⁡m
CellDescription⁡m,2
−∞,0,b,b,1,4⁢a4−a2⁢b2−18⁢a2⁢b+4⁢b3+27⁢a2,1,a,4⁢a4−a2⁢b2−18⁢a2⁢b+4⁢b3+27⁢a2,2
CellPlot⁡m,2,color=yellow
CellPlot⁡m,1,2,3,4,samplepoints=true,pointcolor=magenta,view=−2..2,−2..2
m≔CellDecomposition⁡x3+a⁢x2+b⁢x+a=0,x,b,a:
CellPlot⁡m,2,3,cellcolor=blue,red
with⁡RootFinding:
EnclosingBox⁡m:
CellPlot⁡m,samplepoints
See Also
CellDecomposition
CellDescription
DiscriminantVariety
Parametric
RootFinding
Download Help Document