Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
31 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
  • 25.1k
2 votes
1 answer
110 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
2 votes
1 answer
43 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
  • 59.4k
3 votes
1 answer
120 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
  • 259
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,477
6 votes
3 answers
329 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,477
1 vote
1 answer
120 views

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

Consider this example: ...
Adalbert Hanßen's user avatar
1 vote
2 answers
154 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
245 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
3 votes
0 answers
104 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
  • 6,016
4 votes
3 answers
239 views

Showing data in a grid

I tried this code for one variable and it works fine. ...
Mahmoud Hassan's user avatar
4 votes
2 answers
283 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. ...
Tom De Vries's user avatar
  • 3,780
3 votes
2 answers
112 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: ...
M.R.'s user avatar
  • 31.8k
0 votes
1 answer
188 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 ...
Steven Thomas Hatton's user avatar
1 vote
0 answers
80 views

Problems with using Riffle, Grid and TableForm

I have the following Table: ...
Richard Burke-Ward's user avatar
0 votes
0 answers
43 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 ...
Jules Manson's user avatar
  • 2,477
1 vote
1 answer
138 views

Controlling label alignment/spacing in large grids

I have a matrix, here called result that I want to place in a grid. The first rows of the matrix newcolumnlabels contains the column labels each of which is a string containing the column label ...
Stuart Poss's user avatar
  • 1,975
2 votes
0 answers
51 views

Text in Grid cells not aligning correctly and how to style them all with single rule

This is the entire module that contains all code to output with a Print[Grid[data, rules]] statement. I have all cells arranged in stacked rows in a convenient <...
Jules Manson's user avatar
  • 2,477
2 votes
1 answer
139 views

Grid with data vertically aligned on the decimal point are not properly displayed in the Wolfram Cloud Notebook?

I can't align colum data on the decimal point: ...
Sylvain Leroux's user avatar
3 votes
2 answers
283 views

Represent list of lists as formatted grid

I have tried to figure out how to make these changes, but it mostly just ends up with me making it ten times worse. ...
Feddy's user avatar
  • 31
3 votes
2 answers
85 views

Correcting visualization of other functions inside the grid function

I wish the DateObject[{2019, 8, 27}] function and TimeObject[{2, 35}] function could be visible on my grid. ...
LCarvalho's user avatar
  • 9,273
0 votes
1 answer
76 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, ...
Houndbobsaw's user avatar
2 votes
1 answer
74 views

Problem with multi-columns using Grid

I am working on a data table, ...
Chris Schwenke's user avatar
2 votes
3 answers
532 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: ...
Esperanta's user avatar
3 votes
0 answers
101 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: ...
Aster's user avatar
  • 3,896
2 votes
1 answer
951 views

Adjust font size in `Grid` [closed]

I have a simple table given by ...
Richard Burke-Ward's user avatar
3 votes
1 answer
213 views

Diagonal formatting of grid / table

I have a table given by (a simple example for clarity) ...
Richard Burke-Ward's user avatar
0 votes
1 answer
69 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", "_"]], ...
Steven Thomas Hatton's user avatar
14 votes
2 answers
393 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 ...
halirutan's user avatar
  • 113k
1 vote
2 answers
99 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 ...
nicholas80's user avatar
6 votes
1 answer
296 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 ...
Kuba's user avatar
  • 138k
4 votes
2 answers
1k views

Table with headings across multiple rows/columns

Evaluating TableForm[Table[{x + y, x - y}, {x, 10}, {y, 10}], TableHeadings -> {Table[x, {x, 10}], Table[y, {y, 10}]}] gives me What I would like to have is ...
Janosh's user avatar
  • 1,311
5 votes
2 answers
174 views

How to prevent Grid Background from overriding Graphics Background

I have plots with custom PlotMarkers that I need to display in a Grid with other information. When the ...
Edmund's user avatar
  • 43.2k
3 votes
2 answers
123 views

Prevent string from splitting

I have two elements of a grid: ...
Stitch's user avatar
  • 4,225
6 votes
2 answers
2k views

How to make tabs aligned in Print?

For example, Print["1\t55 33\t44"] outputs Why tab is not aligned? If tab is not aligned, why is it called tab? Is there a way to make tabs aligned?
matheorem's user avatar
  • 17.4k
14 votes
2 answers
425 views

Is there a way to exert finer control Dataset Cell Coloration Like in Grid?

In Grid one can control the foreground and background color of specific cells, rows, and columns, whether initially or via computation. Although Dataset seems to use Grid intrinsically, from existing ...
Stuart Poss's user avatar
  • 1,975
3 votes
2 answers
947 views

Formatting numbers in a Grid

I have a report that I currently export to Excel in order to format it nicely. I'd like to be able to produce a reasonably well formatted report directly in Mathematica. It looks like I can use <...
Mitchell Kaplan's user avatar
13 votes
1 answer
235 views

TableSpacing oddity

Bug introduced in 8.0 or earlier and persisting through 12.0 TableForm[Partition[Range@9, 3], TableSpacing -> {0, 0.5}] ...
Mark Adler's user avatar
  • 4,959
2 votes
1 answer
517 views

How would I set the column width of a GraphicsRow?

I would like to place a sphere next to a table of text in a GraphicsRow. I am not using a GraphicsGrid because I only need one ...
Doug Kimzey's user avatar
  • 2,279
3 votes
3 answers
278 views

Right aligned GraphicsColumn of plots with nonstandard aspect ratios exhibits empty space

I have several plots with different y-axis ranges. This is the main reason I want the content being aligned Right in a ...
Darko Veberic's user avatar
0 votes
1 answer
368 views

How to change the background of multiple cells in a grid [duplicate]

I have a function that creates a grid with numbers in particular spots. I can't figure out a way to change the background of cells with numbers in them. For example ...
Black Door's user avatar
0 votes
2 answers
88 views

'adding' a heading to the nth column of a set of colums

Suppose there are nth columns in my TableForm of data. Mathematica enables users to label their header. However, is there a way to add header only the nth column? What about adding headings to a set ...
Physkid's user avatar
  • 680
1 vote
0 answers
165 views

Decimal alignment in a grid

I tried to find an answer and found quite a few posts on similar topics, but none of them really helped me. Here is a typical example: ...
Pirx's user avatar
  • 4,159
5 votes
1 answer
295 views

Visualize Pascal's triangle with the product of the terms in the $n$th row

How to make the following graphics by using Mathematica? What I tried: I used J.M's answer for the Pascal triangle ...
vito's user avatar
  • 9,076
0 votes
1 answer
80 views

Three plots in two rows aligned at center [closed]

I wrote this code: ...
Bahram Agheli's user avatar
6 votes
1 answer
130 views

Heading in Table Form Question

I have: modadd = Table[Mod[i + j, 3], {i, 0, 2}, {j, 0, 2}]; TableForm[modadd, TableHeadings -> {{0, 1, 2}, {0, 1, 2}}] Which produces: How can I put a plus ...
David's user avatar
  • 15k
0 votes
1 answer
103 views

Grid with recurrence relation terms

I want to get the recurrence relation for several values of n in a grid form. At the moment I am using ...
Zack Fair's user avatar
  • 259
18 votes
1 answer
895 views

Grid cuts my images

Bug introduced in V9.0 or earlier and persisting through V11.2 pic2 = ImageResize[ ImageCrop@Rasterize@Graphics@Disk[], {Automatic, 40}] ...
Kuba's user avatar
  • 138k
15 votes
4 answers
692 views

How to make a slash header in Grid?

Here is an example: ...
matheorem's user avatar
  • 17.4k
2 votes
1 answer
341 views

Format tabular data with a certain row highlighted

I have tried a method to highlight certain rows in various tableform. An example: ...
usernew1's user avatar
  • 153