Questions about producing vertically and horizontally aligned output.

learn more… | top users | synonyms (1)

4
votes
3answers
240 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 ...
4
votes
2answers
127 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 ...
4
votes
3answers
316 views

Creating Multi-Tabbed Grid with Preserved Contents and Overview Grid

I am in the process of creating an application/panel that will aide me in scheduling hours for my staff of ten or more. I am hoping to create a multi-tabbed grid within which I may collect data about ...
4
votes
2answers
198 views

Expand and collapse rows in a grid

Would someone have an idea on how to implement a table with rows that you can expand or collapse in a grid. An example could be found in a pivottable in Excel, for example here ...
4
votes
2answers
192 views

Stretch Grid to fit width of containing object?

How can I stretch this Grid to the width of the encapsulating Panel (so that "right" floats on the right side? I want to achieve something along the lines of the menu at the top of the Documentation ...
4
votes
2answers
376 views

How can I provide dividers and control item alignment in a Grid?

I make a Grid with multiple Rows and Columns. I want to apply different types of Dividers and Alignment to that Grid. If you ...
4
votes
2answers
263 views

Selecting y-values from xy coordinate grid

Suppose I have a table, u, which is created as follows: ...
4
votes
1answer
80 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 ...
4
votes
1answer
314 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 ...
4
votes
1answer
60 views

How to add margins to a grid cell?

I was not able to figure out how can I add some space (margins) surrounding just the "a" and "b" strings of the following grid: ...
4
votes
1answer
134 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: ...
4
votes
2answers
297 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
1answer
146 views

How to speed up mouse events?

Grids of dynamic objects responding to mouseovers seem to be quite slow in general, for instance: ...
4
votes
1answer
262 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 ...
4
votes
0answers
78 views

Collapse / expand a balance sheet using an OpenerView

I am a relatively inexperienced Mathematica user, so I apologise if there is a simple answer to this question. I would like to create a balance sheet that can be collapsed/expanded as necessary. I ...
4
votes
0answers
160 views

HEALPix grid on a sphere

Are there any Mathematica tools for using the HEALPix ( Hierarchical Equal Area isoLatitude Pixelation) grid on a sphere? It is commonly used in astronomy, but I have not found any Mathematica ...
4
votes
0answers
248 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 ...
3
votes
2answers
173 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
3answers
153 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
654 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
179 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 ...
3
votes
1answer
349 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 ...
3
votes
2answers
474 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
164 views

Extracting data from NDSolve result

Normally I wouldn't ask such question before even read the material from the Wolfram Documentation about what I'm trying to do but this time I have a pretty tigh dead end. I apologize for that. So, ...
3
votes
1answer
81 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
2answers
150 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 ...
3
votes
3answers
223 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
410 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
162 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
266 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
2answers
402 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: ...
3
votes
2answers
132 views

Incrementally revealing Grid (or TableForm) entries

I have a Grid (or TableForm) object like this ...
3
votes
1answer
393 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
71 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
328 views

Background in ItemStyle

I would expect the following to output the same grids ...
3
votes
1answer
181 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
273 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
574 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
145 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
58 views

Grid column width too large when alignment rules are used

I would like to use Grid to display the results of a series of calculations and an information graphic on many items. The grid has a name and a category column with ...
3
votes
0answers
53 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 ...
2
votes
2answers
539 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
1answer
129 views

Format tabular data with a certain row highlighted

I have tried a method to highlight certain rows in various tableform. An example: ...
2
votes
3answers
191 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
673 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
3answers
240 views

Delete the white areas in GraphicsGrid

Let's see a simple example ...
2
votes
1answer
640 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
138 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
249 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
119 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. ...