Questions tagged [grid-layouts]
Questions about producing vertically and horizontally aligned output.
368
questions
3
votes
1
answer
119
views
Merge the first column of the table
I used the following code to create a table
...
1
vote
2
answers
89
views
How to set the width of grid elements in cm?
As a 'painter', I use photos. To get a good projection of a photo on the canvas I use a grid. I draw this grid both on the canvas and on the photo. It is an easy way to get the proportions right that ...
3
votes
0
answers
52
views
Grid Problem: Combining Item[] with SpanFromLeft/Above
I'm trying to lay-out a Grid with various entry-specific Frame settings. In my case, using ...
1
vote
1
answer
80
views
Representing 2D Plot and 3D Plot next to each other, sharing $z$-axis
I have the following code
...
0
votes
1
answer
66
views
Unwanted behavior with List Partition function in which it strips out Iconized elements of Rules [closed]
The goal is to output a Grid of sorted columns of Rule elements that are Iconize-d. The <...
6
votes
3
answers
309
views
How to Partition List into sublists so that it orders down columns when placed into a Grid instead of across rows
Partitioning a List into sub-lists and placing them directly into a Grid orders sub-lists across rows. Is there an idiot-proof built-in function or a simple ...
0
votes
0
answers
37
views
how to use DiscretePlot to graph multiple partial sum functions?
I am supposed to "Make a table that shows {k,s1[k],s2[k],s3[k],s4[k],s5[k]}, for k from 1 to 50, and display as a Grid." but I have literally no idea how to do this (I'm not good with ...
4
votes
1
answer
48
views
Styling of Grid so that each cell is a square
How to make each cell of Grid being a square?
...
6
votes
1
answer
154
views
Ticks showing only partially or not at all
I have the following code:
...
1
vote
1
answer
109
views
Why is Alignment not honored in the first two headline columns?
Consider this example:
...
4
votes
2
answers
113
views
3
votes
0
answers
63
views
Mathematica failing to export consistent layout
Mathematica is a great tool but when it comes to layout generation is quite poorly intuitive: I would love that exporting to images and SVGs could be more friendly and compliant with graphic design ...
1
vote
2
answers
118
views
Display Binary Tree as Centred Array
I would like to display a binary tree using something analogous to TableForm. For example, a small such tree is given by this array (which except for the root still ...
3
votes
2
answers
228
views
Is there a function similar to Print which really respects tabs and newlines?
I am looking for something which acts like Print, preferably with the same syntax, which lets me arrange things in columns of proper width (i.e. if an item in a ...
2
votes
2
answers
64
views
Custom spacing for each cell in Grid
How to control the spacing of each cell in a grid?
In the example below, Title and Subtitle rows waste too much space above and below.
Also the rectangle in cell {4,1} is rather small, how to change ...
3
votes
1
answer
218
views
How to make plots on a Grid the same size?
I have the following Grid:
...
1
vote
1
answer
234
views
Reducing the space between plots in GraphicsGrid?
I am using GraphicsGrid to produce the following figure:
...
3
votes
1
answer
277
views
Combine two grids in Mathematica
I have the following data
...
9
votes
3
answers
276
views
How can I add a vertical spacing in a `CheckboxBar`?
I have an example here from the solution of @krasten 7. In this I would like some vertical spacing between the checkboxes. Any ideas?
...
6
votes
0
answers
87
views
Bug? GraphicsGrid with Item Elements
Is there a bug in the GraphicsGrid routines such that it no longer handles Item elements? There are a couple examples in the GraphicsGrid documentation (under the FrameStyles section) that give ...
5
votes
1
answer
97
views
Plot3D: Inconsistent distance to PlotLabel when using Grid/Row
While trying to arrange a grid of 3d-plots using Plot3D and GraphicsGrid (or simply Grid) I ...
1
vote
1
answer
43
views
Buttons too small for content
When I try to display buttons with long content in a multicolumn the text sometimes gets cut off. Like this:
...
13
votes
2
answers
417
views
How to properly use FrameLabel with the new PlotLayout feature?
Behold! MMA 13 brought us closer to getting publication-ready plots. I wonder if we can solve this one once and for all with a nifty & modern wolfram syntax.
I'd like to have 4 plots with each y-...
1
vote
1
answer
123
views
Working around Error: Interpolation on unstructured grids using Sort for 4D data
I'm having trouble with interpolation and I think it may be due to how my data set is sorted.
I'm getting the error "Interpolation::udeg: Interpolation on unstructured grids is currently only ...
3
votes
0
answers
99
views
Creating a style that center aligns columns but tweeks terms that are negative
I have created the following style in a private stylesheet that applies to gridbox structures for matrices. So far I have
...
1
vote
2
answers
145
views
Drawing Axes on top of a Grid of plots
I have a grid of density plots, for example like this toy example
...
5
votes
3
answers
293
views
Make the elements in the grid appear one by one
I need to make an animation like this, start with a table at first, then each element filled from left to right, top to bottom, instead of dynamically generating grid, the current code can only ...
-1
votes
1
answer
200
views
how to plot multiple plots sharing a common X-axis and Y-axis
With the following Code, I generate various ListLinePlots but I like to create the example ...
2
votes
2
answers
141
views
How to split many controls in Manipulate into multiple columns (saw some potential bugs)
I need to use Manipulate[] with many controls, because I have around 40 parameters which I want to be able to alter. Since the number is too large, I want to split these controls into multiple columns,...
0
votes
1
answer
89
views
Putting data from several trials into a table [closed]
I need this data to go into a table nearly exactly in this format, but i need the left most column to say trial 1, trial 2, trial 3, trial 4, then the data to go horizontally across for each trial ...
2
votes
2
answers
136
views
Top-align row of Grid and Plot
How can the top of the Column on the right (built from a Grid) to be aligned with the top of the ...
3
votes
2
answers
300
views
Align 1st row of Grid different from the other rows
The grid formed below aligns its columns as I want on the decimal point:
...
4
votes
3
answers
234
views
Showing data in a grid
I tried this code for one variable and it works fine.
...
2
votes
1
answer
195
views
Export Grid object to pdf without border?
When I try to export a Grid object with a White background, I get a gray border around 3 of the 4 sides in the resulting pdf:
...
4
votes
1
answer
153
views
Asymmetric Grids
Consider the following Grid
...
3
votes
2
answers
138
views
Centering a weirdly shaped grid
Consider the following grid
...
7
votes
1
answer
543
views
What is "size"?
When talking about concepts like ItemSize, ImageSize, FontSize, row/column height within a ...
1
vote
0
answers
55
views
Grid's automatic resizing
Imagine I have a dynamic opener that changes the number of rows. For example,
...
10
votes
2
answers
580
views
An odd Grid style
Consider the following grid
n = 10;
Grid[{{"Matrix", SpanFromLeft},
RandomInteger[n, n], RandomInteger[n, n]},
Frame -> All, Alignment -> Center]
...
0
votes
1
answer
88
views
How to make first component of eigenvectors on grid real and normalize using Map and Normalize? [closed]
I am trying to use the following approach: How get eigenvectors without phase jump?
to apply the same conditions to an array of complex-valued Mathematica eigenvectors.
The matrix solved for is a <...
1
vote
1
answer
226
views
Grid alignment syntax
This is a simple question, but I just cannot understand the explanation given in the Grid documentation page for how to set different alignments for different parts of a grid. I have a grid with two ...
0
votes
0
answers
45
views
Be able to adjust the 'text' or contents of the grid
Ok....This is MMA 12.2 -- I've been on this for some days now. Not hardcore time spent, but I've put in quite a few hours and am making no progress now.
It's just a project for myself mostly, but I do ...
1
vote
2
answers
45
views
Replace points on a grid with numbers to maintain order
I am DMing a game of DnD and one of my players is really into fear effects, which is cool, but the effect of having monsters suffer from the "panicked" condition gets tedious to render via ...
3
votes
1
answer
381
views
Make a nice panel figure, with a 3D plot
There are some solutions on how to make nice panel figures, for example, or the SciDraw package. By nice, I mean reasonably presentable - without miles of space in between figures, and plots within ...
2
votes
1
answer
126
views
GraphicsRow with labeled plots resizes plots?
Here is a simple example:
a = Plot[x^2, {x, 0, 10}]
aa = Labeled[Plot[x^2, {x, 0, 10}], "a", Top]
GraphicsRow[{a, aa}]
Which gives the following image ...
0
votes
0
answers
113
views
Problem with Grid inside the GraphicsGrid
I am trying to put table in the form of Grid into GraphicsGrid. Here is my code:
...
2
votes
0
answers
64
views
Strange behavior when placing a Legend on a GraphicsRow, Column or Grid
Consider the following example:
...
5
votes
1
answer
97
views
Fixing histogram size behavior within grid of graphics
I'm trying to put the finishing touches on a grid of figures and could use some help. I'm trying to keep the figures as clean as possible, so I only want frame ticks and labels on the edge figures. ...
4
votes
2
answers
262
views
How to format a Grid command
Creating some extra notes for students in a trig class. A bare bones table can be created in Mathematica using the line below.
...
0
votes
2
answers
84
views
More Issues With Units
I have asked a couple questions here (and received terrific answers), and used that info.
I am trying to fulfill a request from a colleague that liked the results of Astronomy info I had done, but ...