2
votes
2answers
78 views

Automatically highlight certain cells

I am looking for a method to highlight certain cells in a table/Grid based on meeting some user defined conditions. As an example: ...
0
votes
0answers
30 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 ...
0
votes
1answer
75 views

Combine Plots into a single non-rasterized Graphic with no spacing [duplicate]

Suppose that I have two plots, pl1 and pl2: ...
3
votes
3answers
129 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 ...
2
votes
2answers
92 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: ...
1
vote
1answer
115 views

Draw grid with points

How would I draw a grid with dots on specified intersections? The image below shows the basic idea: If I wanted to label the grid lines with index numbers or letters, how would I do that?
3
votes
1answer
45 views

Assign the Background rule in Grid (the positions can be described by a integer function)

For example, this code Grid[Transpose[Table[{n, n^2}, {n, 1, 10}]], Frame -> All, Background -> {{1 -> Red, 4 -> Red, 9 -> Red}}] produces , in ...
1
vote
1answer
70 views

How to align cells in a grid?

I would like to align the text in the gauge such as the label "AKs" is in the center of the gauge and the value (60) is in the upper right corner with a smaller font. How can I achieve this? I tried ...
2
votes
1answer
42 views
3
votes
1answer
98 views

Background in ItemStyle

I would expect the following to output the same grids ...
3
votes
3answers
313 views

Draw grid lines at multiples of k

Here is a beginner's question: when creating plots with mathematica, I want the grid lines to be at multiples of a constant value. E.g. in the following plot, the vertical grid lines are at multiple ...
4
votes
3answers
140 views

preventing TraditionalForm from getting “squished”

TraditionalForm[] does a great job generally speaking, with complex equations like the following, ...
15
votes
2answers
356 views

Schedule programing problem with integer linear programming

I know how to model this question on paper, but I don't know how doing it in Mathematica. Imagine , there is a university student who want to choose courses for this semester and he got the ...
4
votes
2answers
162 views

Prevent Grid from resizing images

Aligning my images in Grid causes one of them to become smaller, despite specifying each of their sizes with ImageSize: ...
4
votes
2answers
158 views

Full width of graphics in GraphicsColumn

I have a list of graphics which are all the same width, and I would like to combine them into a single Graphics object that has them all stacked on top of each other, column-style, without changing ...
0
votes
2answers
160 views

Using a table to format a grid

Ok, I can't wrap my head around this because I don't know Mathematica well enough yet, so I'm asking for help, at least a direction to explore in. I have a Grid: ...
7
votes
1answer
101 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] ...
2
votes
4answers
140 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". ...
4
votes
2answers
120 views

Grid ItemSize is smaller than expected

If I execute MatrixPlot@IdentityMatrix@100, the result is a good size. However, if I evaluate ...
0
votes
2answers
101 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 ...
1
vote
2answers
145 views
11
votes
3answers
469 views

What is the most elegant way to display multiple graphs with a common title?

I often seek to display two graphs, side by side, with a common label over them. There is no option for adding a label to GraphicsRow, which means, I think, that I ...
2
votes
1answer
269 views

Grid Lines in ListPlot

Why is Mathematica plotting a horizontal line at $y=2$ in the following example: ListPlot[Table[i,{i,1,10}],Frame->True,GridLines->None] How to get rid ...
0
votes
1answer
73 views

Log is not being evaluated inside Grid [closed]

My command is: Grid[{{N, logN!, N log N - N}, {10, Log[10!], 10 Log[10] - 10}}, Frame -> All] In the second row of the grid, the function ...
0
votes
1answer
68 views

Export a Grid in a xls file naming the sheets

I try to export two grid in a same xls file, naming the sheets. This is an exemplification of my issue, and it doesn't work. ...
4
votes
1answer
211 views

Changing the background color of one element in a Grid

Consider the following code: Grid[Table[x, {4}, {7}], Background -> {4 -> LightRed}] This highlights column 4: ...
7
votes
2answers
342 views

How can I draw a grid behind graphics without using Plot?

I want to a show simple vector summation but I don't know how to draw a grid behind the vectors. I am pretty sure I can do it with Mathematica but how? It should look like this:
1
vote
1answer
116 views

How do I append a graph to last column of a table?

rmsdata= Partition[ReadList["RMStabledata.txt", Number],29] ...
0
votes
1answer
146 views

How can I build a GraphicsGrid of fixed size that rearranges the empty plots?

OK, let's make one final attempt; they say the third time is the lucky one! Following @rm-rf 's suggestions, I will try to be as clear as I can. My Mathematica code reads and plots simultaneously ...
2
votes
2answers
206 views

How can I build a GraphicsGrid of arbitrary size?

This is actually a very simple scenario, in order to make simpler this question Part I. Consider the following piece of Mathematica code ...
3
votes
2answers
97 views

Incrementally revealing Grid (or TableForm) entries

I have a Grid (or TableForm) object like this ...
5
votes
1answer
155 views

Using the keyboard to interactively and dynamically specify coordinates in a grid (a la Battleship board game)

In Mathematica, it is possible to create a Table or Grid of \[Placeholder] boxes. For ...
10
votes
3answers
418 views

How to make Excel-like data bars?

I would like to make a grid where each cell background is partially filled according to the numerical value being represented (on a scale from 0 to 1). Similar functionality to the one requested in ...
6
votes
2answers
223 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 ...
1
vote
1answer
128 views

Whats is the real difference between this two examples of using Dynamic with Grid

the question is relatively simple I think. This is the first example of the code which works: ...
0
votes
1answer
98 views

Displaying Values of Fuction at end of Period by Grid

My intention is to place the values of two function into a small box within my chart. To be more precise I have two vectors. A meanvector which shows the average value of all simulated stochastic ...
6
votes
3answers
159 views

How to add rows to a Grid in front end?

I created a grid g1 with Grid[] and then a separate grid g2. ...
0
votes
0answers
91 views

Grid: Set ItemSize of individual items?

How can I set the item size of the items 0.2 and 300 below to a smaller size than "AKs"? ...
4
votes
1answer
166 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 ...
2
votes
1answer
120 views

How to keep ItemSize effect when export to HTML

Here's the simple code Grid[Table[Item[1,ItemSize->{5,10}],{2},{2}],ItemSize->{5,10},Background->Red] After saving the output cell as .html file, ...
10
votes
2answers
491 views

Adding custom GridLines to the “automatic” ones

I need to add custom (vertical) grid lines to a plot (to a DateListPlot, to be precise). I know there is the option of ...
3
votes
2answers
89 views

How to control divider length in a grid

I want to display a table like this: And use Divider I can only get this so far ...
0
votes
1answer
110 views

How can I set specific ImageSize to each cell of the Grid?

I want to make a Grid with each cell Imagesize was {10,10}.If I place any Gui-Element with more than that cell Imagesize,I don't ...
2
votes
1answer
136 views

How can I place gui controls inside Grid? [duplicate]

In all my apps, I am facing a problem about placing the Gui controls inside Grid. For this purpose, I wrote three functions. The first function, ...
1
vote
1answer
96 views

How to label vertices in a grid with random integers?

I would like to assign each vertex a random number with the minimum bound equal to the smallest vertex and the maximum equal to the value of the largest without repeats. ie in a 20x20 grid, the ...
0
votes
3answers
199 views

Cover a rectangle with size constrained rectangular regions

I have a big grid (indicated on the image in grey) that is divided in several blocks (each with a maximum width of 3 units). Now I would like to divide a region (indicated on the grid in red) by the ...
2
votes
1answer
239 views

Color lost when saving Mathematica cell as HTML

Question 1(Color Lost Question[Solved by using Item]): When I evaluate the cell generated by ...
8
votes
1answer
432 views

Control objects Sizing and placement in Graphicsgrid Vs Grid:

I have created a grid, and also made a list of control objects(e.g., input fields, buttons, etc.). Then, I lay the list in my grid. There is no problem. However, the final layout takes a lot of time. ...
-2
votes
1answer
225 views

Non-regular grid data

I have issue with non-regulary spaced data. I have set of 3 numbers {x, y, z} in my list. ...
3
votes
2answers
125 views

An issue with formulas typesetting in Grid & Column

I tried to construct a small sheet with text and equations presented in a convenient publishing form, using Column: ...