All Questions
Tagged with grid-layouts plotting
63 questions
3
votes
1
answer
69
views
When I arrange two 3d-plots using Grid, position of axes-y changes
I want to arrange two 3d-plots, for example
Plot3D[{x^2 + y^2, -x^2 - y^2}, {x, -2, 2}, {y, -2, 2},
ColorFunction -> "RustTones"]
which gives
where ...
4
votes
2
answers
103
views
Plotting different plot in a single grid frame without combining them
We can show the plot together, but how do we show different plots in the same grid frame without combining them? I have tried the GraphicsColumn and it shows the ...
1
vote
1
answer
94
views
Representing 2D Plot and 3D Plot next to each other, sharing $z$-axis
I have the following code
...
0
votes
0
answers
41
views
how to use DiscretePlot to graph multiple partial sum functions?
I am supposed to "Make a table that shows {k,s1[k],s2[k],s3[k],s4[k],s5[k]}, for k from 1 to 50, and display as a Grid." but I have literally no idea how to do this (I'm not good with ...
6
votes
1
answer
225
views
Ticks showing only partially or not at all
I have the following code:
...
3
votes
1
answer
385
views
How to make plots on a Grid the same size?
I have the following Grid:
...
2
votes
2
answers
510
views
Reducing the space between plots in GraphicsGrid?
I am using GraphicsGrid to produce the following figure:
...
9
votes
3
answers
306
views
How can I add a vertical spacing in a `CheckboxBar`?
I have an example here from the solution of @krasten 7. In this I would like some vertical spacing between the checkboxes. Any ideas?
...
5
votes
1
answer
106
views
Plot3D: Inconsistent distance to PlotLabel when using Grid/Row
While trying to arrange a grid of 3d-plots using Plot3D and GraphicsGrid (or simply Grid) I ...
13
votes
2
answers
556
views
How to properly use FrameLabel with the new PlotLayout feature?
Behold! MMA 13 brought us closer to getting publication-ready plots. I wonder if we can solve this one once and for all with a nifty & modern wolfram syntax.
I'd like to have 4 plots with each y-...
1
vote
2
answers
158
views
Drawing Axes on top of a Grid of plots
I have a grid of density plots, for example like this toy example
...
-1
votes
1
answer
327
views
how to plot multiple plots sharing a common X-axis and Y-axis
With the following Code, I generate various ListLinePlots but I like to create the example ...
3
votes
1
answer
664
views
Make a nice panel figure, with a 3D plot
There are some solutions on how to make nice panel figures, for example, or the SciDraw package. By nice, I mean reasonably presentable - without miles of space in between figures, and plots within ...
2
votes
2
answers
221
views
Remove extra space from Grid
I am trying to make a figure with four plots using Grid[]. I added some padding to accommodate the FrameLabels but I would like to remove only the right padding and yet keep the four Plots with the ...
6
votes
4
answers
2k
views
Stacking multiple graphs together in separate plots
I have been working on a problem where I wanted to stack multiple graphs on top of each other in the following format
I tried to look for solutions to do the same but I could not. The closest I could ...
5
votes
3
answers
404
views
Create a list of plots of sin(xt), where x goes from 0 to 10 and t goes from 1 to 6
I would like to create a table like the one shown below in mathematica:
Here is the code i wrote:
I was wondering if there is more efficient way to writing the code where i don't have to type out ...
3
votes
2
answers
110
views
How can I use ImageCrop on a results from Grid?
I have this figure produced using Plot and Grid
...
6
votes
4
answers
245
views
Display Table output as a grid of points
I want to create a Grid or Plot (or equivalent) from the following Table:
...
3
votes
2
answers
6k
views
Easiest way to display two plots side by side [duplicate]
Sometimes I like to display two plots right next to each other, so I can see all the important information at once.
For example, I have a plot with 5 lines, and I want to have a plot of only 2 of ...
3
votes
1
answer
399
views
How can I fix the alignment of complex combinations of GraphicsGrid / GraphicsRow plots?
I am having problems joining multiple plots using GraphicsRow and GraphicsGrid.
The issue is that Mathematica (v12.1) rescales arbitrarily my plots when I try to combine them. The issue arises when I ...
3
votes
1
answer
66
views
How can I format these data sets nicely in a table?
I have three data sets, each generated by Table in the following manner:
...
1
vote
0
answers
116
views
Conditional Formatting of Labels of Functions in a Grid of Plots
I have a panel of graphs where each graph shows the same functions but at different values.
I want to label them with Labeled, however, as the label is quite ...
3
votes
1
answer
52
views
Creating a grid of plots in the shown arrangement [closed]
How can I use Grid to create the shown arrangement of plots:
1
vote
1
answer
203
views
3
votes
2
answers
333
views
Pie chart grid with a common legend
I want to construct a grid of pie charts but I want the legend (which is common to all charts) to appear at the bottom of the grid.I include the code and a picture of the output.
Code updated with ...
1
vote
0
answers
195
views
Plotting a "Competitive Landscape" Business Grid in Mathematica? [closed]
Question: Is there a way to create a graph similar to the one below?
Some ideas:
Each business is a point on the plane $[0,1] \times [0,1]$.
Each point on the plane can be represented as an ...
1
vote
1
answer
207
views
Coloring Points in a DensityPlot/ListDensityPlot
I have a PDE system, whose functions are $a=a(t, x, y)$, $b=b(t,x,y)$, and $c=c(t,x,y)$,
with Dirichlet null boundary conditions and initial conditions in the form of circle.
The respective code ...
-1
votes
1
answer
364
views
How do I change the style of a ListPlot? [closed]
I'm working with a plot like this one:
I'd like to change the style of a ListPlot to achieve a style like:
What options can I use for:
Put the X-label and Y-...
5
votes
1
answer
1k
views
Is that possible to adjust the bar legend size in GraphicsGrid or DensityPlot automatically?
I'm using Mathematica 11.1. Consider the following code:
...
3
votes
1
answer
293
views
Multiple plots sharing a single vertical axis
I am trying to align a series of plots horizontally. They all share a vertical axis, but I only want to show the axis once on the leftmost plot. However, adding the vertical axis on one of the plots ...
2
votes
2
answers
148
views
Label plots in a grid
I have this grid representing a function of three variables. On the grid from left to right, phi goes from 0 to Pi, while theta goes from 0 to Pi/2 from top to bottom. The third variable is just a ...
0
votes
0
answers
546
views
How can one plot a grid within a for loop?
I'm implementing a Kohonen self-organising map, which consists of a $3 \times 3$ grid with a $4$-neighbour topology.
I've created a for loop that sets the values of the learning coefficients (which ...
0
votes
1
answer
254
views
How solve a PDE system with Specific Initial Condition?
I'm trying to solve a PDE system reaction-diffusion type (2D spatial + 1 temporal) coupled as described below. Another question of this same system was solved here: System of nonlinear PDE 2D (...
3
votes
1
answer
837
views
System of nonlinear PDE 2D (Reaction-Diffusion type) with periodic boundary condition
I want to solve a system of Pde (2D) reaction diffusion type using NDSolve
whose boundary conditions are
and the initial conditions are
or
I thought of the following code
...
2
votes
1
answer
366
views
Convert DiscretePlot3D to 2D plot with a Color Function
Observe the following wolfram Mathematica code:
...
12
votes
4
answers
1k
views
Combining histograms with a scatter plot
I'm trying to combine graphics using Grid such that I have a ListPlot[] in the middle and a histogram on the top and right axes. ...
1
vote
0
answers
134
views
How to Grid two or more figures in Mathematica?
I am trying to combine the following two plots using Grid option. The problem in that in the combined figure, the Legends appear larger and spoil the look of the entire figure.
...
1
vote
2
answers
731
views
GraphicsGrid with empty elements
Here is a nice figure
Now let's create a grid
...
3
votes
3
answers
278
views
Right aligned GraphicsColumn of plots with nonstandard aspect ratios exhibits empty space
I have several plots with different y-axis ranges. This is the main reason I want the content being aligned Right in a ...
11
votes
2
answers
640
views
How to create a multi-graphics plot (i.e. the decomposition of phase plane portrait) with well-organized structure?
Background
I am trying to create a three-graphics plot using the command GraphicsGrid[] to show the decomposition of the phase plane portrait; unfortunately, the ...
3
votes
0
answers
419
views
Plots in a Grid: negative spacing and transparency
I am trying to produce a grid of color plots, where only the outer frame borders have labels, labeled ticks, and color bars. So the outer dimensions of all plots in the grid are different, because ...
2
votes
0
answers
78
views
How to put images on a map so that they disapear when another image passes over them
We are working to create a pacman type of game and we cannot figure out for to get colored dots on the maze to represent the food the pacman eats. Here is our code so far:
...
4
votes
1
answer
896
views
Add grid table to plot [closed]
How can I place a grid at a certain position in a plot?
Example:
plot = Plot[Sin[x], {x, 0, 2 Pi}]
...
3
votes
1
answer
333
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}];
...
3
votes
2
answers
3k
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.
...
1
vote
0
answers
340
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:
...
6
votes
1
answer
379
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 of ...
1
vote
0
answers
97
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
3
answers
2k
views
Keeping the same scale but a different range of horizontal axes of two plots in a grid
We have two plots.
...
2
votes
1
answer
800
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):
...