The tag has no wiki summary.

learn more… | top users | synonyms (1)

3
votes
2answers
148 views

How to have shaded grid entries

Teaching a unit on log scales for a high school math class. I saw this table on the internet. I know how to colour individual grid entries, is there a nice way to incrementally colour them like ...
3
votes
2answers
106 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 ...
3
votes
3answers
133 views

In Grid and using Frame, how can I only frame the header cells?

Suppose that I use Grid to display a table tab. I did the following, which frames all cells: ...
3
votes
3answers
427 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 ...
3
votes
2answers
414 views

Removing an extra curly braces when using Grid with an If statment

I use Grid to align controls in Manipulate. Here is a simple example ...
3
votes
1answer
59 views

How to set the width of grid elements in pixels?

That is all: How can I set the width of columns in a Grid in terms of pixels instead of 'ems'? To be more precisely, I want to create a grid that is 330 pixels ...
3
votes
3answers
188 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
1answer
221 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
2answers
146 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: ...
3
votes
1answer
241 views

How to align grid dividers of inner grids in a grid?

How to have the vertical dividers of inner grids aligned to each other in the following? ...
3
votes
1answer
57 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 ...
3
votes
2answers
107 views

Incrementally revealing Grid (or TableForm) entries

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

How to change alignment of Grid/Matrix created using menu (Insert->Matrix/Table->New)

When I create a Grid using the menu, as follows: and then start to add data, I'd like to make the alignment to be left and not center which is the default ...
3
votes
1answer
55 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 ...
3
votes
1answer
188 views

Background in ItemStyle

I would expect the following to output the same grids ...
3
votes
1answer
83 views

How to control frame thickness in Grid object exported to .pdf?

I would like to export a Grid object to a .pdf document (preferably as part of a notebook). Here's an example: ...
3
votes
1answer
259 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 ...
3
votes
1answer
375 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 ...
3
votes
1answer
130 views

Curious behavior using SpanFromLeft in Grid[]

I need to set up a rather complicated Grid[] and I've run into a curious problem. I've reduced it to a simple example. See the following 2 sets of code and their ...
3
votes
0answers
216 views

Accessing MathematicaScript over ssh/network

Here is the conundrum I am faced with. I have two computer. One with Mathematica (and hence MathematicaScript) but generally poor resources. The other without ...
2
votes
2answers
355 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 ...
2
votes
3answers
87 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 ...
2
votes
1answer
247 views

How can I set several Grids to have the same size?

I generate different Grids with different columns. Automatically ImageSizes are fixed depending upon the data. So every ...
2
votes
1answer
418 views

How to convert an output to a graphic that can be selected like a plot?

EDIT: István Zachar informed me of the Rasterize[] command, which does exactly what I need. Danke! I have a self-built function that uses Grid[] to create a table that is more presentation-friendly ...
2
votes
2answers
82 views

Spanning/centering elements with Grid/GraphicsGrid when there's a non-equal number of elem. in rows

I'm trying to align elements in Grid/GraphicsGrid: Grid[{{a,b,c},{d,e}}] This makes ...
2
votes
1answer
415 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 ...
2
votes
1answer
123 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. For example, in a 20x20 grid, ...
2
votes
1answer
219 views

Issue with Grid command

Dear all, I've been trying to set prepare a grid with different charts for comparisons. The issue I have is that the first row of the grid has the legend distorted. The issue does not occur for ...
2
votes
2answers
59 views

Can I use 'ItemStyle' in 'Grid' to specify the style of individual items? [closed]

I'm confused by the documentation for ItemStyle. I can't figure out how to specify styles for individual items in a Grid. ...
2
votes
4answers
196 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". ...
2
votes
2answers
115 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: ...
2
votes
2answers
232 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: ...
2
votes
1answer
146 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, ...
2
votes
1answer
71 views

Remove Spacings around each grid item?

...
2
votes
1answer
149 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, ...
2
votes
1answer
153 views

Package for nonlinear plot coordinates

Is there a package for plotting in nonlinear coordinates? I mean that I provide coordinate transformation functions {xi(x,y), eta(x,y)}, for example ...
2
votes
1answer
84 views

Problem with grid alignment [duplicate]

This grid works: ...
1
vote
2answers
124 views

Inconsistent image sizing with Grid and Row?

Can anyone explain why Row and Grid don't size the image correctly and consistently to 300 ...
1
vote
2answers
162 views
1
vote
4answers
118 views

Repeating rows in a Grid [closed]

I am writing a function which would automatically add rows in a Grid[], repeating a function until a desired variable is reached. I'm unsure if another method can ...
1
vote
3answers
141 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 ...
1
vote
1answer
352 views

How to change the values dynamically in a grid

I am trying to write a function which creates a Grid which has no value in the starting and when some value is passed to it, it should show that value in that ...
1
vote
2answers
66 views

Nested OpenerView controls not aligned

This question is related to a previous question of mine, Expand and collapse rows in a grid I'm trying to have nested OpenerViews similarly to the answer of kguler, but they are not aligned. The ...
1
vote
1answer
92 views

Extending a grid to avoid line breaks in text

I was wondering what the best way is to extend the cells in a GraphicsGrid so that my text fits without line breaks. My problem is illustrated by the graphic ...
1
vote
1answer
73 views

Using grids in manipulate

I have a few questions. Here is the code so far: ...
1
vote
1answer
136 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: ...
1
vote
1answer
97 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 ...
1
vote
0answers
53 views

How to get grid items with a gradient background to behave well?

I have a table that looks something like this ...
1
vote
0answers
133 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 ...
1
vote
0answers
45 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 ...