All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
46 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, ...
1
vote
3answers
183 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: ...
2
votes
0answers
84 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: ...
2
votes
1answer
162 views

Adjust font size in `Grid` [closed]

I have a simple table given by ...
2
votes
2answers
77 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 ...
4
votes
2answers
427 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 ...
5
votes
2answers
130 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 ...
3
votes
2answers
92 views

Prevent string from splitting

I have two elements of a grid: ...
6
votes
2answers
431 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?
12
votes
2answers
227 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 ...
12
votes
1answer
201 views

TableSpacing oddity

Bug introduced in 8.0 or earlier and persisting through 11.1 TableForm[Partition[Range@9, 3], TableSpacing -> {0, 0.5}] ...
1
vote
1answer
168 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 ...
1
vote
3answers
112 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 ...
0
votes
1answer
155 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 ...
0
votes
2answers
56 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 ...
5
votes
1answer
187 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 ...
0
votes
1answer
72 views

Three plots in two rows aligned at center [closed]

I wrote this code: ...
6
votes
1answer
89 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 ...
0
votes
1answer
77 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 ...
17
votes
1answer
363 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}] ...
2
votes
1answer
221 views

Format tabular data with a certain row highlighted

I have tried a method to highlight certain rows in various tableform. An example: ...
4
votes
0answers
121 views

Page breaks and headings in long table or grid

I have a need for long tables in a document I am producing but I am having difficulty. The printed document ends up with page breaks midway through the table which cuts rows part way through. I'd also ...
3
votes
2answers
181 views

Alignement of text

I adopted the following clever code from Mr. Wizard (see here ). HoldForm[+##] & @@ RandomInteger[100, 2] I want to prepare a practising table of addition ...
2
votes
1answer
491 views

Problem with using GraphicsColumn

I have three plots defined as: ...
4
votes
1answer
146 views

TabView Alignment problem for content larger than a view area

Bug introduced in 10 or earlier and persisting through 11.0.0 When content is larger than ImageSize of TabView then the top ...
2
votes
1answer
357 views

Label a Grid with the arguments of a function

I would like to make a table with row and column headings being the arguments to a function and the values to be the value of the function. So far, I have this: ...
4
votes
1answer
180 views

How to justify this Grid vertically

As titled above, How I can justify and how I can change the space between columns in this Grid specified below: ...
2
votes
3answers
282 views

How to automatically make the maximum of each row in a table(grid) bold?

TableForm[Table[i/j + 4*Boole[j > i] // N, {i, 3}, {j, 4}], TableHeadings -> {{"Row1", "Row2", "Row3"}, {"Col1", "Col2", "Col3", "Col4"}}] Produces the ...
5
votes
1answer
155 views

How to get this grid normal height?

When I execute this ...
5
votes
1answer
89 views

Why are the edge items in Grid truncated?

The first and last rows and columns of my Grids always seem to be smaller than all the other rows in my Grid, as of they had ...
2
votes
0answers
576 views

How could I make an Excel-like table?

I am looking to build a simple Excel type of a table with four columns. I have spent some time researching Mathematica documentation, but haven't come across a way to implement that. Here is a ...
7
votes
4answers
1k views

Row and Column Headings for a Grid

It would be useful for me if I could write: Grid[{{a, b}, {c, d}, {e, f}}, GridHeadings -> {{"r1", "r2", "r3"}, {"c1", "c2"}}] just like ...
6
votes
2answers
199 views

Fractions formatting in Column / Grid

Fractions are squished in GridBox: ...
2
votes
0answers
72 views

Panel size undesired behaviour

This is next question from the series: better avoid Panel if you care about details. previous about FrameMargins In the ...
3
votes
3answers
349 views

Generating a list of questions (simultaneous equations)

I am trying to create a list of simultaneous equations showing steps, where I only need to change a, b and the question number, and maybe a couple of minor things about q (where q is the factored ...
3
votes
2answers
976 views

Converting from TableForm to Grid

I wonder if there is an easy way to convert from TableForm to Grid. I have an existing data format that uses the Table function that I’d like to prettify…. Let’s setup a nested table as follows: <...
7
votes
1answer
165 views

Problem with exporting nested Rows/Columns to HTML

I will show the problem on the following MWE: Export["test.html", Column[{ Row[{"test", "1"}] }], "HTML", "CSS" -> None] ...
3
votes
4answers
427 views

Padding and formatting within BaseForm

I find using BaseForm to be a little tricky. For example, if you use BaseForm and then do some additional operation all the numbers turn back into base 10, so you have do BaseForm as the "last step". ...
0
votes
2answers
271 views

Put results in multiple columns for comparison

One thing I would like to do in many instances is arrange input/output in columns for comparison. I expect that I need to use Grid to do this, but have not been ...
6
votes
2answers
439 views

Add arrows over matrix

How can I plot this graph g1 = Table[x[i, j], {i, 5}, {j, 5}] // Grid; Rasterize@g1 I added these arrows by Ctrl+D's graphics tool. This way maybe hard to ...
5
votes
1answer
523 views

Row Alignment in Grid

I've been working on creating tables of differences in MAA similar to the image below, but with a bit more detail: I've written a function that will take an anonymous function, a range of values and ...
3
votes
1answer
916 views

How can I export specific data into different pages in .PDF format?

I have made various Grid-s and arranged them column-wise in another Grid. All Grids are ...
8
votes
3answers
374 views

Grid without lines, but with dots

I want to build a grid to look like the top-left table shown below, but without an outside frame. Here is what I've tried to do: ...