Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a tessellation of the plane with specified cell shapes
TesselationPlot[array] generates a plot consisting of m⨯n square cells, where m and n are the dimensions of array, and the value array[[i,j]] specifies the content of the (i,j) cell. | |
ResourceFunction["TessellationPlot"][array,basis] generates the tesselation plot induced by the lattice generated by the given basis vectors. |
"CellShape" | "Square" | shape of the cell |
ImageSize | 300 | the absolute size at which to render the graphic |
Generate a regular 5⨯6 grid from a constant array:
In[1]:= |
Out[1]= |
Generate a regular 5⨯6 grid using random real values:
In[2]:= |
Out[2]= |
Use a different basis for the lattice:
In[3]:= |
Out[3]= |
By default, TessellationPlot uses cells shaped like parallelograms:
In[4]:= |
Out[4]= |
Set "CellShape" to obtain different cells:
In[5]:= |
Out[5]= |
In[6]:= |
Out[6]= |
This work is licensed under a Creative Commons Attribution 4.0 International License