Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
13 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
45 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
30 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
56 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
86 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
78 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
55 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 ...
1
vote
1answer
63 views

Adjust font size in `Grid` [closed]

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

Diagonal formatting of grid / table

I have a table given by (a simple example for clarity) ...
1
vote
3answers
61 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
70 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
79 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
42 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
114 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
106 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
79 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
32 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
27 views

Displaying, exporting, and saving Grid with square cells

I am trying to save (export) to PDF. ...
1
vote
1answer
53 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
323 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
54 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
45 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
230 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
90 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
44 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 ...
0
votes
0answers
43 views

Maximizing values using a grid search

I would like to find the maximum value and the optimal m_a and m_d from the above two functions using GRID search. I have tried but it doesn't work. Do you have any ideas? Any different example of the ...
4
votes
1answer
226 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
96 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
74 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
68 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 ...
3
votes
1answer
203 views

Exporting a table in .png format

I am trying to export a data table in PNG format. I evaluated ...
1
vote
2answers
93 views
8
votes
2answers
84 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
60 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
89 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
148 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
139 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 (...
11
votes
1answer
280 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
301 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
150 views

Convert DiscretePlot3D to 2D plot with a Color Function

Observe the following wolfram Mathematica code: ...
9
votes
1answer
201 views

How to merge two lists with different dimensions

I have two list, just like a={a1,a2,a3,a4}; b={b1,b2,b3,b4,b5}; I want merge them and save to excel, as they have different dimention, so I want it have the ...
6
votes
1answer
141 views

TagBox + InterpretationBox vs ConvertTo/StandardForm

There appears to be a problem with a menu command Convert To / StandardForm (Crtl+Shift+N) with respect to InterpretationBox ...
2
votes
1answer
57 views

Set the background of an variable specific item in a Grid

I have a Grid in which I want to modify the background of the minimum value of the last row. For that purpose, I have create a variable with the position of the minimum value of this row "...
1
vote
2answers
80 views

Label or index images

Question: How can I index (like in the example below: "c" and "d") images outside the frame? I started to code, but I got stuck in the lack of documentation: ...
7
votes
2answers
638 views

Combining histograms with a scatter plot

I'm trying to combine graphics using Grid such that I have a ListPlot[] in the middle and a histogram on the top and right axes. ...
0
votes
1answer
53 views

Column alignment in Grid

How can I align elements in column when SpanFromAbove is used? Using the example given in documentation for Grid ...
0
votes
0answers
55 views

How to Grid two or more figures in Mathematica?

I am trying to combine the following two plots using Grid option. The problem in that in the combined figure, the Legends appear larger and spoil the look of the entire figure. ...
7
votes
2answers
205 views

Grid with Frame->All: How to not draw frames around empty cells?

If I have a grid of values that doesn't divide evenly, for example a list of 17 values, and split it into a 7x3 grid, then draw frames around each element: ...