The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [grid-layouts]

Questions about producing vertically and horizontally aligned output.

Filter by
Sorted by
Tagged with
1
vote
1answer
45 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
1answer
34 views

Plot label doesn't show up in GraphicsGrid

...
4
votes
3answers
122 views

Grid: different background color (of row) based on values

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
1answer
42 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
1answer
56 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
1answer
48 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
1answer
31 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
1answer
43 views

Problem with multi-columns using Grid

I am working on a data table, ...
3
votes
1answer
68 views
1
vote
3answers
193 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: ...
4
votes
0answers
61 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
2answers
67 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
0answers
60 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
2answers
49 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, ...
0
votes
0answers
19 views

Break in column legend [duplicate]

and Happy New Year to everyone. When I construct a pie chart grid, the legend (common to all charts) is placed as a column. Unfortunately, it "breaks" in two parts with no obvious (to me) reason. I ...
1
vote
0answers
79 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
1answer
40 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
2answers
63 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
2answers
143 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 ...
2
votes
0answers
84 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
1answer
57 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
1answer
202 views

Adjust font size in `Grid` [closed]

I have a simple table given by ...
4
votes
1answer
60 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
1answer
84 views

Diagonal formatting of grid / table

I have a table given by (a simple example for clarity) ...
1
vote
3answers
89 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
0answers
126 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
1answer
91 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
1answer
51 views

Prevent Grid from overriding GridBoxItemSize from Stylesheet

I have problems getting the Stylesheet settings for GridBoxOptions/GridBoxItemSize to be applied to ...
0
votes
1answer
44 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
2answers
131 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
1answer
184 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
2answers
93 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
1answer
102 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
0answers
43 views

Displaying, exporting, and saving Grid with square cells

I am trying to save (export) to PDF. ...
1
vote
1answer
86 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
2answers
332 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 ...
3
votes
1answer
57 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: ...
0
votes
1answer
52 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 ...
1
vote
1answer
324 views

Highlight cells in grid, and demarcate row and column headers

I have a 25x25 grid of a function T[x] expressed in terms of variables x and R. The output ...
3
votes
2answers
107 views

Align two Grids in a Row

I have data in two Grids with a different number of rows each and want the output to be formatted to have the two grids in a row aligned at the top. Here is a MWE: First the headers (same number of ...
1
vote
1answer
50 views

Increase spacing of every third row in Grid

I have a grid whose number of rows is a multiple of 3, for example Grid[{{a, a},{a, a},{a, a},{a, a},{a, a},{a, a}}] Is there an automatic way using the option ...
5
votes
1answer
455 views

Is that possible to adjust the bar legend size in GraphicsGrid or DensityPlot automatically?

I'm using Mathematica 11.1. Consider the following code: ...
2
votes
1answer
143 views

Multiple plots sharing a single vertical axis

I am trying to align a series of plots horizontally. They all share a vertical axis, but I only want to show the axis once on the leftmost plot. However, adding the vertical axis on one of the plots ...
3
votes
2answers
89 views

Automatically extend ChoiceDialog

Writing: ChoiceDialog["I dati sui nodi sono già stati inseriti?", {sì -> 0, no -> 1}, Magnification -> 1.5] I get: while ...
2
votes
2answers
78 views

How to create ordered and custom formatted random matrices?

I'm trying to generate square grid templates to drill holes on a plate for a fragmentation experiment. I have three different problems that I'm not finding a way to solve using the documentation, they ...
4
votes
1answer
300 views

Exporting a table in .png format

I am trying to export a data table in PNG format. I evaluated ...
1
vote
2answers
148 views

Problem with Exporting Grid to PDF

...
8
votes
1answer
87 views

Automatically adjusted ImageSize across a column

Button has this nice property that all Buttons in e.g. a Column will span to the size of the ...
1
vote
2answers
75 views

Label plots in a grid

I have this grid representing a function of three variables. On the grid from left to right, phi goes from 0 to Pi, while theta goes from 0 to Pi/2 from top to bottom. The third variable is just a ...
5
votes
2answers
95 views

Equalizing the column widths in the rows below the title row of a grid

I have a grid I've created with the first row set up as the title to the grid. The problem I'm having is that when the title is wider than the following rows need to be, Mathematica extends the final ...