Questions about producing vertically and horizontally aligned output.

learn more… | top users | synonyms (1)

3
votes
1answer
75 views

Easiest way to add labeled axes to a grid?

I have a grid of images and I' d like to add axes with labels for the \ two dimensions. Here's my data: g = Grid@Table[RandomImage[1, {50, 50}], {i, 5}, {j, 10}]; ...
5
votes
2answers
89 views

Creating a grid with numbered spaces and other markings

I am writing a graph theory paper about forbidden induced subgraphs. My coauthors and I have a list of 167 graphs that we would like to include in a diagram in the paper. I have generated all of these ...
6
votes
3answers
149 views

What function superseded SpaceForm?

In older versions of Mathematica you could use SpaceForm to leave a certain amount of spaces when writing to a file. For example, if we have the following data: <...
3
votes
1answer
86 views

Automatic cascading placement of graphics

Is it possible to automatically cascade graphics or images in MMA? It seems to me that most of the built-in graphic functions have a gridded style, e.g., ...
22
votes
2answers
1k 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 ...
0
votes
2answers
63 views

Grid: How to assign a common legend to multiple plots?

I made four plots, named Fig1~Fig4. Then I used Grid to put them together in one figure. Now I wish to add a legend in the bottom of the last figure. ...
3
votes
2answers
110 views

Switch Orientation of Rows/Columns in Grid, Column layout constructs

Column layout construct has the BaselinePosition option where you can specify the origin placement for the "bars", e.g. Bottom (Vertical orientation). Here is some data to play with: ...
1
vote
2answers
36 views

Grid - change entire row background color based on values on one column?

Given a matrix defined through Grid, how can I specify the background color of entire rows based of the values of the cell in a specific column? For example, I have ...
5
votes
1answer
86 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 ...
2
votes
3answers
68 views

Multiline output with CloudDeploy FormFunction

I wish to display multiple lines of text as output from CloudDeploy FormFunction. I have tried using a string containing ...
1
vote
0answers
44 views

Grid of plots - alignment [duplicate]

I'm trying to plot several plots and graphics into Grid, but I have no success with proper alignment. Here is my code: ...
7
votes
1answer
102 views

How to create dataset with ordered and hierarchically-grouped rows?

The (toy-example) dataset plots consists of 12 rows, the first two of which are shown below: I want to arrange the plots shown in the ...
2
votes
2answers
71 views

Selective background coloring

Consider this simple code: Grid[RandomInteger[{0, 1}, {10, 10}], Background -> LightBlue] Is it possible to modify the code so that the background only ...
0
votes
1answer
85 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 ...
6
votes
1answer
46 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 ...
3
votes
1answer
55 views

Undocumented “Output” alignment argument to “Column?”

In this SE question, Inheriting Stylesheets when using CreateDocument, I noticed the literal string argument "Output" to Column. ...
0
votes
0answers
54 views

How to export 3 plots in a row in eps extension? [duplicate]

I'm trying to save three plots with a legend at the end using the methodology described in another StackExchange post: How can I save both the plot and the legend together? I'm using Row[] to ...
6
votes
3answers
433 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 ...
3
votes
2answers
201 views

Replacing Excel with Mathematica Using 2D Tables [closed]

Is there a methodology that would work well for replacing Excel with Mathematica? Typically I use Excel to make various lists of values with formulae that relate those values. Below is a very typical ...
0
votes
0answers
27 views

Different edge Weights for edge Graph

I have a weighted Grid Graph with Diagonal Edges (nXm). I want to add different cost to the parallel edges. All Horizontal(0°-->) will have edgeweight of 1.8 All Horizontal(180°<--) will have ...
3
votes
0answers
50 views

Overlay Inside a Grid/Column/Row Not Working

Here is a microscopy image of some cells I want to make measurements on with Mathematica: In order to make some measurements of cells in a microscopy image I have written a simple dynamic overlay ...
1
vote
2answers
74 views

Change Font in Grid Header

How can I style headers in a grid to be in Arial, 20pt? g = Plot[x^2, {x, 0, 2}]; headers={"A", "B", "C"}; Grid[Prepend[{{g, g, g}}, headers]] (I decided to ...
20
votes
2answers
1k 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 ...
14
votes
1answer
234 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}] ...
1
vote
1answer
61 views

Constructing a grid date diagram

How can I create a date diagram like that? Let's say that the counting is done each couple of days, and the right bar represents the counting totals.
0
votes
1answer
50 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 ...
6
votes
2answers
126 views

Small World network on a square grid

My aim is to generate a 2D Small World network on a square grid. i.e. 20x20. With a probability of 5%, one node rewires from an adjacent node to a random node of the grid, allowing some long distance ...
1
vote
1answer
196 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, ...
1
vote
0answers
57 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 ...
5
votes
3answers
261 views

preventing TraditionalForm from getting “squished”

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

Scaling in “GraphicsGrid” command

I want to plot four ellipses on the same graphics, along with some vectors and disks. I am using the Graphics command to create the arrows, ellipses and disks, and ...
0
votes
0answers
20 views

Is it possible to use DefaultElement for structured Dynamic cell content?

I have an interactive grid for which I would like to be able to define a structured Dynamic DefaultElement. ...
1
vote
2answers
87 views

Element-wise join multiple lists [closed]

The following question is related to: Elementwise join I have the following code: ...
1
vote
2answers
112 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?
11
votes
2answers
225 views
9
votes
3answers
100 views

Grid changes FrameTicksStyle font size

I have a contour plot that I'm trying to organize into a grid using Grid. But Grid changes the ...
5
votes
1answer
100 views

Spacing and dimension of plots in Grid/GraphicsGrid

There is a way to align axis/picture in this kind of plot? ...
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 (<...
1
vote
1answer
53 views

Column (and Grid) Alignment Changes with OpenerView

Column does not maintain Alignment settings when OpenerView opens and closes. ...
3
votes
0answers
69 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 ...
0
votes
1answer
85 views

Controlling field hints and field size by column in a grid of input fields

I want to have field hints in a 3 x 2 grid input fields, such that there is one hint specific to the input fields in the 1st column and another one for the 2nd column. I also want to adjust the ...
-2
votes
1answer
97 views

How to make a ProgressIndicator span inside a grid?

Setting ImageSize -> Full in the ProgressIndicator makes the indicator extend to fill up the width of the notebook. But I have one inside a grid, so how can I ...
2
votes
1answer
153 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
1answer
66 views

How do I center an item in a Grid?

I was trying to use Grid to align different plots, two on the first row, and only one in the second row, so I have something like this (where a,b and c are plots): ...
3
votes
0answers
60 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 ...
5
votes
1answer
110 views

Control line wrapping within a Grid cell

I'm trying to display a number tables of data in my document which have column headings that are longer than the cell width for those columns so they need to wrap within the grid cell. I have no ...
8
votes
3answers
371 views

Part of an Image cut/lost when exported to EPS file

When making .EPS image files for publication, I tried to assemble several Graphics by Grid. For example, suppose I have: ...