All Questions
Tagged with grid or grid-layouts
387 questions
1
vote
0
answers
116
views
Conditional Formatting of Labels of Functions in a Grid of Plots
I have a panel of graphs where each graph shows the same functions but at different values.
I want to label them with Labeled, however, as the label is quite ...
1
vote
1
answer
151
views
Vertically resize grid item to fill row height
I am trying to find a way to have an item in a grid cell that always fill the available vertical space enforced by the remaining items (without enforcing any row height itself).
One of my (many) ...
1
vote
3
answers
239
views
Make uniform grid around a specific point
I have a point (0.128531, 0.0765588) on xy plane where the range of x is {-0.678525, 0.678525} and the range of y is {0, 0.678525}. I want to make a uniform grid including the point in its center (let’...
5
votes
2
answers
230
views
Get row in Grid to evenly divide?
I'm having an issue making the second row in this grid space out evenly:
...
21
votes
3
answers
1k
views
How to write a drag-n-drop reorderable gui?
Most modern GUI building libraries (e.g. cocoa) support this basic operation in tables or lists: reordering items with a mouse. For example, the drag-and-drop of items in a MacOS finder or app window:
...
5
votes
2
answers
385
views
Using Padding and Margins with Graphics object
I have relatively simple question. I need to control size and background color of the following two zones separately (indicated by blue and magenta arrows on the figure).
Using ...
6
votes
1
answer
196
views
Grid Centring around Divider
Consider the following Grid
...
3
votes
1
answer
52
views
Creating a grid of plots in the shown arrangement [closed]
How can I use Grid to create the shown arrangement of plots:
2
votes
1
answer
139
views
Grid with data vertically aligned on the decimal point are not properly displayed in the Wolfram Cloud Notebook?
I can't align colum data on the decimal point:
...
1
vote
2
answers
113
views
Spacing of rotated elements (labels) in grid
How can I change the size of a specific subset of cells in a Grid? I'm using the ItemSize parameter for the ones I want to ...
4
votes
1
answer
76
views
Avoiding jiggle in palettes
I have a palette containing a Grid with dynamics. As it runs it jiggles horizontally. Here's a minimal example:
...
3
votes
2
answers
283
views
Represent list of lists as formatted grid
I have tried to figure out how to make these changes, but it mostly just ends up with me making it ten times worse.
...
3
votes
2
answers
85
views
Correcting visualization of other functions inside the grid function
I wish the DateObject[{2019, 8, 27}] function and TimeObject[{2, 35}] function could be visible on my grid.
...
1
vote
1
answer
203
views
4
votes
4
answers
471
views
Coloring Grid row background based on values in the last column
I want to use Grid to tabulate the following list and have the same background color for rows of the same value on column 4.
...
1
vote
1
answer
98
views
Why does it fail to assign values to variable in Grid? [closed]
I have a grid such as the following, and want to assign the values in the second row to the variable in the first row, but it always fail, can you provide a solution? Thank you!
...
1
vote
1
answer
124
views
ElementMeshInterpolation and C1 splines
I am trying to use NDSolve`FEM`ElementMeshInterpolation on a triangular structured grid constructed from a Delaunay triangulation with zero area triangles dropped.
...
0
votes
1
answer
76
views
Changing the layout of an array in output
I'm curious about the following: if I want to make a table described by the following code,
...
1
vote
1
answer
224
views
Making a table using the grid function with some modifications
I am trying to make a table out of some formulas which I listed in the code section, however, I am having several issues:
*Alignment of rows (I think it has something to do with scientific notation ...
2
votes
1
answer
74
views
Problem with multi-columns using Grid
I am working on a data table,
...
3
votes
1
answer
155
views
2
votes
3
answers
532
views
How to substitute curly brackets with round brackets in a grid of list
I want to produce a table (or a grid) from my list of data, as follows:
...
5
votes
0
answers
107
views
Grid: Alignment by position doesn't work
Let's consider a simple example
Grid[{ConstantArray[0, 5]}, Frame -> All, ItemSize -> {3, 3},
Alignment -> {0.5, 0.5}]
According to the documentation ...
5
votes
2
answers
121
views
SelectionMove within a GridBox?
I want to interactively manipulate the contents of a GridBox using keyboard commands. To approach this I need to control selection with something like ...
3
votes
0
answers
88
views
Is there an easy way to slant / angled dividers in TextGrid or Grid?
Is there an easy way to add angled dividers in TextGrid or Grid.
Consider the following:
One fake way would be to use the ...
1
vote
2
answers
152
views
Aligning legend constructs using Row
Im trying to make a legend with data labelled in groups. I'm doing this by combining SwatchLegends using Row, ...
3
votes
0
answers
241
views
How can I vary the height of items in a GraphicsColumn?
I would like to create graphics that look like this:
g = Grid[{{"Circle"}, {Graphics[Circle[]]}, {x^2 + y^2 == r^2}}, Frame -> All]
But when I use this code, ...
1
vote
1
answer
84
views
Two png images aligned in one column with vertical spacing zero and left aligned
I have the following two png images which I want to left-align in one column with zero vertical spacing, retaining their original size (which is for both the same, ...
1
vote
2
answers
143
views
Colored grid congruences
How can I construct a colored grid in Mathematica representing the remainder of $x^{y}$ modulo a given prime $p$?(with coordinates)
As such:
3
votes
2
answers
333
views
Pie chart grid with a common legend
I want to construct a grid of pie charts but I want the legend (which is common to all charts) to appear at the bottom of the grid.I include the code and a picture of the output.
Code updated with ...
3
votes
0
answers
101
views
How to draw such boxes in Netron?
How to draw a box like this:
This was drawn by https://github.com/lutzroeder/netron
My attempt:
...
3
votes
1
answer
66
views
Need Help for Layout
I am preparing pdf's with an image, a description and a QR code linking to that image hosted on the web.
However for now the QR code is always positioned just bellow the description.
I would like to ...
2
votes
1
answer
951
views
Adjust font size in `Grid` [closed]
I have a simple table given by
...
4
votes
1
answer
217
views
Problem with Alignment in Grid
Further to the problem noted in Grid - Item - Alignment to decimal problem I feel that the Alignment below should be decimal for the lower right and centre for the left and top headings. You will note ...
3
votes
1
answer
213
views
Diagonal formatting of grid / table
I have a table given by (a simple example for clarity)
...
2
votes
3
answers
232
views
Dynamically selecting Rows from a Grid
This question is related to the following
Interactively select a row/column of a Grid
I’d like to present information in a grid where in the user can choose from the entries in the table. As shown ...
1
vote
0
answers
195
views
Plotting a "Competitive Landscape" Business Grid in Mathematica? [closed]
Question: Is there a way to create a graph similar to the one below?
Some ideas:
Each business is a point on the plane $[0,1] \times [0,1]$.
Each point on the plane can be represented as an ...
1
vote
1
answer
207
views
Coloring Points in a DensityPlot/ListDensityPlot
I have a PDE system, whose functions are $a=a(t, x, y)$, $b=b(t,x,y)$, and $c=c(t,x,y)$,
with Dirichlet null boundary conditions and initial conditions in the form of circle.
The respective code ...
3
votes
1
answer
84
views
Prevent Grid from overriding GridBoxItemSize from Stylesheet
I have problems getting the Stylesheet settings for GridBoxOptions/GridBoxItemSize to be applied to ...
0
votes
1
answer
69
views
How to programatically generate a textual cell displaying the matrix with decorated raised and lowered indices?
This is a basic example of what I want to generate.
Cell[BoxData[
FormBox[
RowBox[{"[", GridBox[{
{
RowBox[{
SuperscriptBox["e",
OverscriptBox["1", "_"]],
...
6
votes
2
answers
212
views
How to arrange images in a hierarchical structure?
Something like this picture
I've tried to use ImageCollage with different weights and other conditions, but all of them arrange pictures arbitrarily. For instance
...
6
votes
1
answer
589
views
Spanning horizontally and vertically in Grid
I'm trying to make a Grid that has one cell that spans horizontally and one that spans vertically, like so (generated manually with ...
3
votes
2
answers
167
views
How to filter-out edges in a HighlightGraph[] visualization based on VertexCoordinates[]?
I need to visualize a graph spatially, and I'm simply using:
HighlightGraph[ConnectedGraphComponents[]]
and the known coordinates of the graph's nodes. I really ...
-1
votes
1
answer
364
views
How do I change the style of a ListPlot? [closed]
I'm working with a plot like this one:
I'd like to change the style of a ListPlot to achieve a style like:
What options can I use for:
Put the X-label and Y-...
2
votes
0
answers
92
views
Displaying, exporting, and saving Grid with square cells
I am trying to save (export) to PDF.
...
1
vote
1
answer
342
views
How to creat a pyramid like grid? [duplicate]
I'd like to create some pyramid that looks like this,
The numbers/cells are easy to do
...
14
votes
2
answers
393
views
Column makes fonts smaller
When you use Column (or Grid) a previously styled element with explicit font-size setting appears much smaller. Here is an ...
1
vote
1
answer
312
views
Exporting a Grid over multiple pages
I have a large output currently in grids which I need to export to .pdf, with the grid centered on the page, as well as break over multiple pages. Ideally I am ...
3
votes
1
answer
76
views
Formating a Grid with Reals "."-aligned
I have a table of real numbers and want to format a Grid such that the headlines are centered and the contents are aligned at the decimal point. MWE:
...
2
votes
1
answer
186
views
Graphics Grid Layout Consistency
I have two Graphs, which are displayed in a grid. However, there are two issues which I'm not able to solve.
The two horizontal Axis should be on the same height with any labeling description.
The ...