Skip to main content

Questions tagged [grid-layouts]

Questions about producing vertically and horizontally aligned output.

Filter by
Sorted by
Tagged with
3 votes
1 answer
54 views

When I arrange two 3d-plots using Grid, position of axes-y changes

I want to arrange two 3d-plots, for example Plot3D[{x^2 + y^2, -x^2 - y^2}, {x, -2, 2}, {y, -2, 2}, ColorFunction -> "RustTones"] which gives where ...
so_sure's user avatar
  • 341
2 votes
1 answer
73 views

Help with Grid formatting

After completing my PhD, I am curiously looking at the stock market from outside for now. I have some plots created to look at the market. For simplicity, let's say ...
nsap's user avatar
  • 98
1 vote
0 answers
28 views

Changing mouse over grid behavior

How to achieve that mouse over Grid is always an arrow like we see on first image (when mouse is over an item of the grid) and never the the shape we see in the ...
azerbajdzan's user avatar
  • 18.9k
2 votes
1 answer
107 views

Make Framed expressions fill Grid cells

Given the following example, how can I make each Framed object to fill its Grid cell both vertically and horizontally? Obviously,...
István Zachar's user avatar
0 votes
1 answer
114 views

How to list the content of the function and derivative function according to the derivative function automatically generates the corresponding table?

...
csn899's user avatar
  • 4,315
4 votes
2 answers
92 views

Plotting different plot in a single grid frame without combining them

We can show the plot together, but how do we show different plots in the same grid frame without combining them? I have tried the GraphicsColumn and it shows the ...
Amnish's user avatar
  • 47
4 votes
3 answers
713 views

How to draw a table with this style?

Table style as above. The leftmost column headings are k, n. The row data for n is from Range[1, 17], and the row data for k is from ...
csn899's user avatar
  • 4,315
5 votes
3 answers
216 views

How to highlight top N elements in each table column?

I have tables with column and row headings, similar to this one: table = {{"",0.1,0.01}, {{1,0},1,3}, {{1,1},2,4}} I want to highlight top N elements in ...
homocomputeris's user avatar
2 votes
1 answer
42 views

Fitting a label spanning the leftover space in a grid

I would like to fit a label for a grid of images in the remainder of the columns on the last row. A minimal example and an attempt follows where the letters represent images. ...
Syed's user avatar
  • 55.4k
0 votes
1 answer
61 views

Colorized hexdump

I have this hexdump command that I am writing to display a nicely printed hexdump into a mathematic grid. I want to be able to specify regions that I can highlight, however I am stuck being only able ...
skyfire's user avatar
  • 477
0 votes
1 answer
76 views

Trouble colorizing a table using grid command

I am trying to colorize rows in a table defined with the Grid command using ItemStyle. I have simplified my problem down to the following. Table["Blue",2] evaluates as the list, {Blue,Blue}. ...
matrixbud's user avatar
  • 435
3 votes
1 answer
97 views

Print in TableForm

Hi I have this code which runs fine, however it does not print things at the end in nice TableForm. I want it to print things nicely in the form of a table with some headings. However if I use ...
Learner's user avatar
  • 219
3 votes
1 answer
136 views

Merge the first column of the table

I used the following code to create a table ...
我心永恒's user avatar
  • 1,562
1 vote
2 answers
123 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 ...
Michiel van Mens's user avatar
3 votes
0 answers
54 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 ...
Sean's user avatar
  • 645
1 vote
1 answer
87 views

Representing 2D Plot and 3D Plot next to each other, sharing $z$-axis

I have the following code ...
jabru's user avatar
  • 205
0 votes
1 answer
75 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 <...
Jules Manson's user avatar
  • 2,467
6 votes
3 answers
326 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 ...
Jules Manson's user avatar
  • 2,467
0 votes
0 answers
38 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 ...
Aster Antimony's user avatar
4 votes
1 answer
64 views

Styling of Grid so that each cell is a square

How to make each cell of Grid being a square? ...
azerbajdzan's user avatar
  • 18.9k
6 votes
1 answer
191 views

Ticks showing only partially or not at all

I have the following code: ...
Iosif Pinelis's user avatar
1 vote
1 answer
113 views

Why is Alignment not honored in the first two headline columns?

Consider this example: ...
Adalbert Hanßen's user avatar
4 votes
2 answers
117 views

Which Alignment-option prevails if they are given on levels of Grid, Framed and the like? [closed]

From ...
Adalbert Hanßen's user avatar
3 votes
0 answers
69 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 ...
user305883's user avatar
1 vote
2 answers
135 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 ...
pdini's user avatar
  • 485
3 votes
2 answers
237 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 ...
Adalbert Hanßen's user avatar
2 votes
2 answers
74 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 ...
Maubro's user avatar
  • 41
3 votes
1 answer
313 views

How to make plots on a Grid the same size?

I have the following Grid: ...
MathIsHard's user avatar
2 votes
2 answers
389 views

Reducing the space between plots in GraphicsGrid?

I am using GraphicsGrid to produce the following figure: ...
MathIsHard's user avatar
6 votes
1 answer
348 views

Combine two grids in Mathematica

I have the following data ...
VDF's user avatar
  • 453
9 votes
3 answers
298 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? ...
Rupesh's user avatar
  • 887
6 votes
0 answers
98 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 ...
EricMock's user avatar
  • 353
5 votes
1 answer
102 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 ...
And R's user avatar
  • 542
1 vote
1 answer
44 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: ...
AccidentalTaylorExpansion's user avatar
13 votes
2 answers
512 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-...
Ranza's user avatar
  • 1,205
1 vote
1 answer
147 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 ...
mathemagician617's user avatar
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 ...
B flat's user avatar
  • 5,565
1 vote
2 answers
151 views

Drawing Axes on top of a Grid of plots

I have a grid of density plots, for example like this toy example ...
Kai's user avatar
  • 2,099
5 votes
3 answers
300 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 ...
matrix42's user avatar
  • 7,138
-1 votes
1 answer
264 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 ...
Tugrul Temel's user avatar
  • 6,223
2 votes
2 answers
172 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,...
larry's user avatar
  • 735
0 votes
1 answer
93 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 ...
user82053's user avatar
2 votes
2 answers
142 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 ...
murray's user avatar
  • 11.9k
3 votes
2 answers
363 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: ...
murray's user avatar
  • 11.9k
4 votes
3 answers
236 views

Showing data in a grid

I tried this code for one variable and it works fine. ...
Mahmoud Hassan's user avatar
2 votes
1 answer
213 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: ...
Jaffe42's user avatar
  • 193
4 votes
1 answer
156 views

Asymmetric Grids

Consider the following Grid ...
sam wolfe's user avatar
  • 4,863
3 votes
2 answers
139 views

Centering a weirdly shaped grid

Consider the following grid ...
sam wolfe's user avatar
  • 4,863
7 votes
1 answer
564 views

What is "size"?

When talking about concepts like ItemSize, ImageSize, FontSize, row/column height within a ...
sam wolfe's user avatar
  • 4,863
1 vote
0 answers
61 views

Grid's automatic resizing

Imagine I have a dynamic opener that changes the number of rows. For example, ...
sam wolfe's user avatar
  • 4,863

1
2 3 4 5
8