Wolfram Computation Meets Knowledge

DottedArrayPlot

Contributed by: Stephen Wolfram

Plot an array of values, with dots at specified positions.

ResourceFunction["DottedArrayPlot"][{{a1,a2,...},{i1,i2,...}}]

plots the values an, with dots at position in.

Details and Options

Used in A New Kind of Science e.g. on page 1068.

Examples

Basic Examples

Plot binary digit sequences of successive numbers:

In[1]:=
ResourceFunction[
 "DottedArrayPlot"][{{1, 1, 0, 1, 0, 1, 1, 1}, {2, 4, 5}}]
Out[1]=

Scope

A 2D array:

In[2]:=
ResourceFunction[
 "DottedArrayPlot"][{{{1, 0, 0, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 0, 0, 1, 1}, {1, 0, 0, 1, 1, 0, 0, 1}}, {{1, 4, 7}, {1, 2, 5}, {2, 6}}}]
Out[2]=

Resource History