Dividers
✖
Dividers
Details


- The following basic settings can be given:
-
All draw all dividers None or False draw no dividers {} draw dividers specified by the Frame option True draw dividers around the exterior only Center draw dividers between interior items only g draw all dividers using graphics directive g - For Grid and related constructs, lists of settings can be given. Common cases include:
-
{All, False} put dividers at every horizontal position (column lines) {False, All} put dividers at every vertical position (row lines) {{False, True}, False} put a divider before the second column {False, {False, True}} put a divider before the second row - General settings for Dividers in Grid and related constructs can be given as:
-
{specx,specy} use the speci at successive x and y positions - The speci can have the following forms:
-
{s1,s2,…,sn} use s1 through sn; then use defaults {{c}} use c in all cases {{c1,c2}} alternate between c1 and c2 {{c1,c2,…}} cycle through all ci {s,{c}} use s, then repeatedly use c {s1,{c},sn} use s1, then repeatedly use c, but use sn at the end {s1,s2,…,{c1,c2,…},sm,…,sn} use the first sequence of si at the beginning, then cyclically use the ci, then use the last sequence of si at the end {s1,s2,…,{},sm,…,sn} use the first sequence of si at the beginning and the last sequence at the end {i1->v1,i2->v2,…} specify what to use at positions ik {spec,rules} use rules to override specifications in spec - The si and ci can be True, False, or an explicit graphics directive.
- Possible graphics directives include Thick, Thin, Dashed, Dotted, as well as color, thickness and dashing directives, and composite directives specified by Directive.
- For a grid with n items in a particular direction, Dividers can specify settings for dividers in the
gaps between items, starting before the first element, and ending after the last element.
- Dividers are always placed at the center of the gaps between items.
- Dividers never extend into items that span rows or columns.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Scope (3)Survey of the scope of standard use cases
Put dividers at the third horizontal and second vertical positions:
In[1]:=1

✖
https://wolfram.com/xid/0j438ffc-k67otn
Out[1]=1

Draw a divider at every other horizontal position:
In[1]:=1

✖
https://wolfram.com/xid/0j438ffc-5n8j6d
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0j438ffc-jl9abx
Out[2]=2

Draw dividers with specified styles:
In[1]:=1

✖
https://wolfram.com/xid/0j438ffc-hlqpmc
Out[1]=1

Properties & Relations (2)Properties of the function, and connections to other functions
Dividers acts in addition to any Frame specification:
In[1]:=1

✖
https://wolfram.com/xid/0j438ffc-ii6hbp
Out[1]=1

FrameStyle will set the default style for all lines in the grid:
In[1]:=1

✖
https://wolfram.com/xid/0j438ffc-4s8hp
Out[1]=1

Wolfram Research (2007), Dividers, Wolfram Language function, https://reference.wolfram.com/language/ref/Dividers.html.
✖
Wolfram Research (2007), Dividers, Wolfram Language function, https://reference.wolfram.com/language/ref/Dividers.html.
Text
Wolfram Research (2007), Dividers, Wolfram Language function, https://reference.wolfram.com/language/ref/Dividers.html.
✖
Wolfram Research (2007), Dividers, Wolfram Language function, https://reference.wolfram.com/language/ref/Dividers.html.
CMS
Wolfram Language. 2007. "Dividers." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Dividers.html.
✖
Wolfram Language. 2007. "Dividers." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Dividers.html.
APA
Wolfram Language. (2007). Dividers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Dividers.html
✖
Wolfram Language. (2007). Dividers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Dividers.html
BibTeX
✖
@misc{reference.wolfram_2025_dividers, author="Wolfram Research", title="{Dividers}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Dividers.html}", note=[Accessed: 29-April-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_dividers, organization={Wolfram Research}, title={Dividers}, year={2007}, url={https://reference.wolfram.com/language/ref/Dividers.html}, note=[Accessed: 29-April-2025
]}