Questions tagged [grid-layouts]

Questions about producing vertically and horizontally aligned output.

Filter by
Sorted by
Tagged with
8
votes
2answers
129 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
1answer
64 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
0answers
92 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
2answers
109 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
3answers
269 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
1answer
70 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
2answers
105 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
1answer
49 views

Putting data from several trials into a table

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
2answers
101 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
2answers
132 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
3answers
227 views

Showing data in a grid

I tried this code for one variable and it works fine. ...
1
vote
1answer
121 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: ...
3
votes
1answer
115 views

Asymmetric Grids

Consider the following Grid ...
3
votes
2answers
129 views

Centering a weirdly shaped grid

Consider the following grid ...
5
votes
1answer
470 views

What is "size"?

When talking about concepts like ItemSize, ImageSize, FontSize, row/column height within a ...
1
vote
0answers
37 views

Grid's automatic resizing

Imagine I have a dynamic opener that changes the number of rows. For example, ...
9
votes
2answers
532 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
1answer
46 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 <...
0
votes
1answer
63 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
0answers
20 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
2answers
37 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 ...
0
votes
0answers
24 views

How do rescale a Grid (with other grids and plots as elements) for printing?

I have a created a grid, as shown below, PowerLawPlottingGrid = Grid[{ {PowerLawLinearPlotGrids, PowerLawCompiledPlots} }, Alignment -> Top] where ...
3
votes
1answer
89 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
1answer
66 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
0answers
49 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
0answers
40 views

Strange behavior when placing a Legend on a GraphicsRow, Column or Grid

Consider the following example: ...
5
votes
1answer
57 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
2answers
240 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
2answers
77 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 ...
5
votes
1answer
97 views

Grid or TextGrid constant width cells

I am having problems with white spaces in lists displayed in Grid. The problem is that white spaces have less height and width compared to cells that contain text. I also tried none, None, None[], ...
3
votes
2answers
49 views

How to increase font without affecting grid spacing?

Here's an example of the problem, say you have a Grid with particular spacings that looks like this: ...
1
vote
1answer
69 views

prepend a column to grid

How would you prepend a column to a grid? I have seen Appending and Prepending columns to a dataset in 10.0.2.0 but that is applied to datasets and I want to retain things as a grid. I need to prepend ...
2
votes
2answers
72 views

Remove extra space from Grid

I am trying to make a figure with four plots using Grid[]. I added some padding to accommodate the FrameLabels but I would like to remove only the right padding and yet keep the four Plots with the ...
1
vote
1answer
80 views

Custom layered graph layout

I'd like to write a program to draw a graph taking as an input the size of the layers and the edges of the graph. e.g. For edges={} and Layers={3,3,5,1} I'd expect something like this I've used this ...
7
votes
1answer
208 views

Export styled grid to latex

I'd like to write an ExportString-type function for converting Grid or TextGrid into Latex ...
3
votes
4answers
240 views

Stacking multiple graphs together in separate plots

I have been working on a problem where I wanted to stack multiple graphs on top of each other in the following format I tried to look for solutions to do the same but I could not. The closest I could ...
2
votes
2answers
117 views

Why aren't my grid elements aligning correctly in a docked cells toolbar?

The following is just the initial start of my very first docked cells toolbar I am still working on. It can easily be loaded to view it live. Code is also provided to conveniently remove it afterwards....
1
vote
0answers
147 views

Grid sizing problem

How is this possible that when I rasterize Grid with parameter ImageSize set to certain value that the grid changes its ...
14
votes
3answers
552 views

Display hexagon grid to visualize Langton's ant

I am looking to recreate the following image from this reference as using Mathematica's Polygon documentation under "Applications" as a starting point. I want to eventually use Mathematica ...
0
votes
1answer
46 views

HowTo "correctly" avoid clipping in GraphicsRow[{Labeled[Graphics[]]}]? Both images and labels

Version:"12.0.0 for Microsoft Windows (64-bit) (April 6, 2019)" This code ...
1
vote
0answers
72 views

Problems with using Riffle, Grid and TableForm

I have the following Table: ...
5
votes
3answers
280 views

Create a list of plots of sin(xt), where x goes from 0 to 10 and t goes from 1 to 6

I would like to create a table like the one shown below in mathematica: Here is the code i wrote: I was wondering if there is more efficient way to writing the code where i don't have to type out ...
14
votes
4answers
858 views

When is a symbol a Symbol? Is there an easy Mathematica way to test if an object is a symbol sort of like a SymbolQ?

Yes I know there is no built-in native function called SymbolQ (but JavaScript does). However, could one be simulated to work for most cases? I often rely on ...
0
votes
0answers
29 views

Vertical text in a nested grid not aligning correctly along the horizontal (center desired)

I reconstructed the results of several functions that generate rows and nested grids so as to do away with the minutia. I am having difficulty getting the vertical text to ...
3
votes
2answers
94 views

How can I use ImageCrop on a results from Grid?

I have this figure produced using Plot and Grid ...
1
vote
1answer
37 views

Grid questions: text-wrapping / copying and pasting expressions

I want to make a list of functions like this: ...
4
votes
3answers
122 views

Display Table output as a grid of points

I want to create a Grid or Plot (or equivalent) from the following Table: ...
0
votes
2answers
527 views

Easiest way to display two plots side by side [duplicate]

Sometimes I like to display two plots right next to each other, so I can see all the important information at once. For example, I have a plot with 5 lines, and I want to have a plot of only 2 of ...
1
vote
1answer
80 views

Merging (Joining) Formatted Row Labels to an Existing Styled and Formatted Grid

From a previous question and with the help of kglr a grid containing a data matrix with column labels was properly formatted and created Controlling label alignment/spacing in large grids Having this ...
1
vote
1answer
81 views

Make one column of a grid to fill available formatting width

Is it possible to make one ("Comment" in the example below) column to dynamically resize to fill available formatting width e.g. window? I can't figure if it's possible with ...

1
2 3 4 5
7