# Tagged Questions

Questions about producing vertically and horizontally aligned output.

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: <...
80 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., ...
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 ...
58 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. ...
105 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: ...
31 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 ...
545 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 ...
82 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 ...
58 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 ...
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: ...
94 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 ...
65 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 ...
84 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 ...
56 views

### Three plots in two rows aligned at center [closed]

I wrote this code: ...
44 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 ...
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. ...
53 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 ...
422 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 ...
196 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 ...
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 ...
49 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 ...
72 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 ...
985 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 ...
226 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}] ...
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.
49 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 ...
117 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 ...
191 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, ...
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 ...
260 views

### preventing TraditionalForm from getting “squished”

TraditionalForm[] does a great job generally speaking, with complex equations like the following, ...
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 ...
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. ...
86 views

### Element-wise join multiple lists [closed]

The following question is related to: Elementwise join I have the following code: ...
210 views

### Keeping the same scale but a different range of horizontal axes of two plots in a grid

We have two plots. ...
111 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?
225 views

### How to make a Slash header in Grid?

Here is an example, ...
95 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 ...
99 views

### Spacing and dimension of plots in Grid/GraphicsGrid

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

### Column (and Grid) Alignment Changes with OpenerView

Column does not maintain Alignment settings when OpenerView opens and closes. ...
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 ...
79 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 ...
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 ...
63 views

...
148 views

### Format tabular data with a certain row highlighted

I have tried a method to highlight certain rows in various tableform. An example: ...
63 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): ...
59 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 ...
102 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 ...