Questions about producing vertically and horizontally aligned output.

learn more… | top users | synonyms (1)

20
votes
2answers
963 views

How can I create an advanced grid interface?

Working on a CDF for report creation, I miss having a nice grid interface, where I would have basic operations like being able to sort a columns by clicking on the columns head (ascending and ...
5
votes
3answers
258 views

preventing TraditionalForm from getting “squished”

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

How do I display imported images at actual size?

I know that this is an extremely basic question, but I am having a lot of trouble finding the answer in the documentation. When I import an image (for example, ...
12
votes
1answer
561 views

Grid layout problems: different sizes when rendering on Mac and Windows

From the documentation for ItemSize: {w,h} make all items the specified width and height and In Grid, w is measured in ems, and h in line heights. This ...
15
votes
4answers
4k 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 ...
6
votes
1answer
992 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: ...
11
votes
4answers
1k views

Grid - sizing and spacing problems with spanning cells

I am trying to set up a Grid with cells that span two rows and are centered on those rows, but I am having troubles with the sizing and, therefore, spacing of the ...
21
votes
2answers
1k views

Generating schedules/timetables in Mathematica

I've always used MS Excel to create my school schedules, and I've always been happy with the results. Is there a similar GUI way to generate schedules/timetables in Mathematica or a third-party ...
20
votes
3answers
1k views

Build a refined grid based on intersecting line

I honestly have no idea where to begin with this problem. In summary, I have a 2D coarse grid with an intersecting line. For an easy example, let's assume it's a 4x4 grid. I wish to pass through ...
11
votes
2answers
1k 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 ...
6
votes
3answers
260 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 ...
11
votes
2answers
450 views

Grid - problem with ItemSize being ignored

Bug introduced in 7.0 or earlier and persisting through 10.0.2 or later I have run into another problem with Grid today. An explicitly specified ...
3
votes
1answer
415 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 ...
2
votes
1answer
690 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 ...
15
votes
4answers
557 views

Grid - Item - Alignment to decimal problem

Still present in version 10. I've run into a Grid layout problem for which I don't know a solution. I want to specify alignment to a specific character such as ...
4
votes
2answers
228 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 ...
5
votes
3answers
417 views

Exporting a rasterized Row of Graphics

I'm running some code based on @R.M.'s answer to this question to create a couple plots side by side. I want to export the plots rasterized to a png. However, when I ...
6
votes
2answers
157 views

Fractions formatting in Column / Grid

Fractions are squished in GridBox: ...
2
votes
3answers
315 views

Delete the white areas in GraphicsGrid

Let's see a simple example ...
4
votes
1answer
347 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 ...
40
votes
0answers
515 views

Guidelines for planning custom GUI in Mathematica

This post is here to save your time during GUI development in Mathematica. And one way to do this is to know where limits are and to be aware of features that are awaiting. Intro Usually I don't ...
19
votes
2answers
992 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 ...
13
votes
1answer
392 views

Combining BarChart and Grid - IPCC style

I would like to combine a plot with a table. Something like this famous plot/table from IPCC: So after reading Combining graphics & lists / tables I tried an approach using ...
10
votes
5answers
903 views

The mysterious gap inside Grid

There's this gap inside Grid which I cannot seem to remove. Perhaps someone knows how. ...
5
votes
2answers
401 views

Grid ItemSize is smaller than expected

If I execute MatrixPlot@IdentityMatrix@100, the result is a good size. However, if I evaluate ...
5
votes
1answer
150 views

How do I force columns in a Grid to be equally spaced?

Suppose that I have this table tab, which I display using Grid. Is it possible to force the columns to be equally spaced? All ...
12
votes
2answers
810 views

How to set row height in Grid?

I always thought that Grid (and the underlying GridBox) and the general handling of tabular objects is a bit weird in ...
8
votes
3answers
279 views

How to scale the size of Pane to make it fit a Grid element?

I am wanting to make a Pane scale to fit (if Spacings are zero) a Grid element. ...
6
votes
1answer
433 views

Using “Raw MathLink Connections” to create a “Kernel Object”

Mathematica 8.0.0: I am stuck trying to get a Mathematica Mathlink connection from my Windows computer working that should connects to Linux over network (or vice versa) and then launches a Kernel on ...
4
votes
3answers
330 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
1answer
148 views

How to speed up mouse events?

Grids of dynamic objects responding to mouseovers seem to be quite slow in general, for instance: ...
14
votes
1answer
223 views

Grid cuts my images

Bug introduced in V9.0 or earlier and persisting through V10.4.0 pic2 = ImageResize[ ImageCrop@Rasterize@Graphics@Disk[], {Automatic, 40}] ...
2
votes
2answers
604 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 ...
0
votes
1answer
348 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 ...
13
votes
1answer
151 views

Possible to draw an Item in a Grid with only 3 sides of a Frame?

I'm trying to draw a Grid of characters where some of the characters have Frame lines on 3 sides. For example: ...
5
votes
2answers
650 views

Labeling a grid

I have m = {{0, -1, -2, -3, -4}, {1, 0, -1, -2, -3}, {2, 1, 0, -1, -2}, {3, 2, 1, 0, -1}, {4, 3, 2, 1, 0}}; And a grid ...
3
votes
2answers
224 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
172 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: ...
2
votes
1answer
162 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
2answers
110 views

depicting specific element of a table (knowing its position) in different color

there is some 20 Time 20 tables, in each step we choose one element randomly. how can show this random selected element with different color?
1
vote
2answers
105 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 ...
5
votes
1answer
96 views

Spacing and dimension of plots in Grid/GraphicsGrid

There is a way to align axis/picture in this kind of plot? ...
3
votes
1answer
494 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
153 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 ...
2
votes
0answers
61 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 ...
2
votes
1answer
159 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, ...
1
vote
0answers
56 views

How to align/grid several plots(mXn) in one figure? [duplicate]

I run Mathematica 10.0.2 on my Win7. I'm trying to make a PDF for publication similar to figure below´╝Ü This is a figure containing a 4X3 image. The feature in image is irrelevant, my point is to ...
0
votes
1answer
81 views

Creating a three dimensional grid

I want to create a three dimensional grid (x,y,z) in mathematica and plot a function f(x,y,z) on it. I am not worried about the plotting part now; for that I will probably use ListContourPlot3D or ...
0
votes
0answers
39 views

Creating plots of second order polynomials [duplicate]

I am supposed to write a notebook meant for teaching graphs of second order polynomials, a x^2 + b x + c : There should be a 2x2 grid of four significant plots ...