Questions about producing vertically and horizontally aligned output.

learn more… | top users | synonyms (1)

5
votes
3answers
100 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: ...
40
votes
0answers
506 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 ...
5
votes
1answer
75 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 ...
0
votes
0answers
29 views

Making a grid of short elements? [on hold]

I have a list of very large elements (A below). I would like to make a grid of these results, showing only the Short version. However, when I apply Grid[] on the shortened elements, it does not seem ...
2
votes
3answers
51 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
42 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
88 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
61 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
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 ...
6
votes
1answer
42 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
53 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
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 ...
5
votes
3answers
415 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
189 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
21 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
45 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
64 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
959 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
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}] ...
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
47 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
112 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
189 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
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 ...
5
votes
3answers
258 views

preventing TraditionalForm from getting “squished”

TraditionalForm[] does a great job generally speaking, with complex equations like the following, ...
2
votes
1answer
54 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
19 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
83 views

Element-wise join multiple lists [closed]

The following question is related to: Elementwise join I have the following code: ...
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?
11
votes
2answers
222 views
9
votes
3answers
94 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
95 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
50 views

Column (and Grid) Alignment Changes with OpenerView

Column does not maintain Alignment settings when OpenerView opens and closes. ...
3
votes
0answers
67 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
75 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
147 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
62 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
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 ...
5
votes
1answer
100 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
331 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: ...
5
votes
4answers
425 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
49 views
4
votes
0answers
85 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 ...
0
votes
1answer
87 views

Grid in manipulate [closed]

I am trying to plot two functions using Manipulate which use the same sliders. When I use Grid to to this the text, "Grid[]" also appears in my output. Using List also causes a similar problem Is ...
4
votes
1answer
69 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: ...