Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [grid-layouts]

Questions about producing vertically and horizontally aligned output.

0
votes
1answer
44 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
27 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 ...
1
vote
1answer
37 views

Problem with multi-columns using Grid

I am working on a data table, ...
3
votes
1answer
55 views
1
vote
3answers
171 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: ...
3
votes
0answers
52 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
54 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
55 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
43 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
16 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
56 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
36 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
61 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
113 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
82 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
56 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
117 views

Adjust font size in `Grid` [closed]

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

Diagonal formatting of grid / table

I have a table given by (a simple example for clarity) ...
1
vote
3answers
80 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
88 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
85 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
45 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
38 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
122 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
146 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
86 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
65 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
38 views

Displaying, exporting, and saving Grid with square cells

I am trying to save (export) to PDF. ...
1
vote
1answer
63 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
325 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
48 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
306 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 ...
2
votes
2answers
99 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
48 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 ...
4
votes
1answer
321 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
125 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
82 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
75 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
261 views

Exporting a table in .png format

I am trying to export a data table in PNG format. I evaluated ...
1
vote
2answers
126 views
8
votes
1answer
86 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
67 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
92 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 ...
0
votes
0answers
198 views

How can one plot a grid within a for loop?

I'm implementing a Kohonen self-organising map, which consists of a $3 \times 3$ grid with a $4$-neighbour topology. I've created a for loop that sets the values of the learning coefficients (which ...
0
votes
1answer
155 views

How solve a PDE system with Specific Initial Condition?

I'm trying to solve a PDE system reaction-diffusion type (2D spatial + 1 temporal) coupled as described below. Another question of this same system was solved here: System of nonlinear PDE 2D (...
12
votes
1answer
304 views

How to create (Header + Main area + Settings pane) notebook layout

cross-posted in community.wolfram.com The goal is something like in the picture below. Basic? I dare you to try to implement it in a manageable, scalable and flexible way. Requirements: The goal ...
3
votes
1answer
366 views

System of nonlinear PDE 2D (Reaction-Diffusion type) with periodic boundary condition

I want to solve a system of Pde (2D) reaction diffusion type using NDSolve whose boundary conditions are and the initial conditions are or I thought of the following code ...
2
votes
1answer
166 views

Convert DiscretePlot3D to 2D plot with a Color Function

Observe the following wolfram Mathematica code: ...