ComplexListPlot

ComplexListPlot[{z1,z2,}]

plots complex numbers z1, z2, as points in the complex plane.

ComplexListPlot[{data1,data2,}]

plots data from all datai.

ComplexListPlot[{,w[datai,],}]

plots data_(i) with features defined by the symbolic wrapper w.

Details and Options

  • The datai have the following forms and interpretations:
  • <|"k1"z1,"k2"z2,|>values {z1,z2,}
    {z1"lbl1",z2"lbl2",}, {z1,z2,}{"lbl1","lbl2",}values {z1,z2,} with labels {lbl1,lbl2,}
    SparseArrayvalues as a normal array
  • The following wrappers w can be used for the datai:
  • Annotation[datai,label]provide an annotation for the data
    Button[datai,action]define an action to execute when the data is clicked
    Callout[datai,label]label the data with a callout
    Callout[datai,label,pos]place the callout at relative position pos
    EventHandler[datai,]define a general event handler for the data
    Hyperlink[datai,uri]make the data a hyperlink
    Labeled[datai,label]label the data
    Labeled[datai,label,pos]place the label at relative position pos
    Legended[datai,label]identify the data in a legend
    PopupWindow[datai,cont]attach a popup window to the data
    StatusArea[datai,label]display in the status area on mouseover
    Style[datai,styles]show the data using the specified styles
    Tooltip[datai,label]attach a tooltip to the data
    Tooltip[datai]use data values as tooltips
  • Wrappers w can be applied at multiple levels:
  • {,w[zi],}wrap the value zi in data
    w[datai]wrap the data
    w[{data1,}]wrap a collection of datai
    w1[w2[]]use nested wrappers
  • Callout, Labeled and Placed can use the following positions pos:
  • Automaticautomatically placed labels
    Above, Below, Before, Afterpositions around the data
    xnear the data at a position x
    Scaled[s]scaled position s along the data
    {s,Above},{s,Below},relative position at position s along the data
    {pos,epos}epos in label placed at relative position pos of the data
  • ComplexListPlot has the same options as Graphics, with the following additions and changes:
  • AxesTruewhether to draw axes
    JoinedFalsewhether to join points
    LabelingFunctionAutomatichow to label points
    LabelingSizeAutomaticmaximum size of callouts and labels
    PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
    PlotLabelNoneoverall label for the plot
    PlotLabelsNonelabels for data
    PlotLegendsNonelegends for data
    PlotMarkersNonemarkers to use to indicate each point
    PlotRangeAutomaticrange of values to include
    PlotRangeClippingTruewhether to clip at the plot range
    PlotStyleAutomaticgraphics directives to determine styles of points
    PlotTheme$PlotThemeoverall theme for the plot
    PolarAxesFalsewhether to draw polar axes
    PolarAxesOriginAutomaticwhere to draw polar axes
    PolarGridLinesNonepolar gridlines to draw
    PolarTicksAutomaticpolar axes ticks
    ScalingFunctionsNonehow to scale individual coordinates
  • LabelingFunction->f specifies that each point should have a label given by f[value,index,lbls], where value is the value associated with the point, index is its position in the data and lbls is the list of relevant labels.
  • Typical settings for PlotLegends include:
  • Noneno legend
    Automaticautomatically determine legend
    {lbl1,lbl2,}use lbl1, lbl2, as legend labels
    Placed[lspec,]specify placement for legend
  • The arguments supplied to functions in MeshFunctionsare x, y, θ, r where θ and r are the argument and radius of the zi. Functions in ColorFunction are by default supplied with scaled versions of these arguments.
  • ScalingFunctions->"scale" scales the modulus of the zi. ScalingFunctions{"scalex","scaley"} scales the and imaginary components, respectively.

Examples

open all close all

Basic Examples  (4)

Plot a set of complex numbers:

In[1]:=
Click for copyable input
Out[1]=

Plot multiple sets of complex numbers:

In[1]:=
Click for copyable input
Out[1]=

Plot several data_i with a legend:

In[1]:=
Click for copyable input
Out[1]=

Label each point with a callout:

In[1]:=
Click for copyable input
Out[1]=

Scope  (39)

Options  (96)

Applications  (9)

Properties & Relations  (2)

Possible Issues  (2)

Neat Examples  (2)

Introduced in 2019
(12.0)