# Questions tagged [overlay]

This tag addresses overlaying two or more graphics.

55 questions
Filter by
Sorted by
Tagged with
194 views

### How to show two plots with different axes?

What is the easiest way to plot something like where either x-y axes pair is independent of the other. I tried combining BarChart and ...
• 4,863
56 views

### Is it possible to ask Mathematica to crop a specified area in the given plot? or, is it possible to manually erase redundant part of a plot?

I am using this code ...
• 349
114 views

### Overlay adding space at top and bottom

I want to use Overlay to combine two plots. I noticed, that Overlay adds space at top and bottom, which I do not want to have. Example: ...
89 views

### How to correctly stack the two figures in this problem ？

I am trying to get double x axis by Overlay. But with the following code: ...
• 31
1 vote
92 views

### Aligning origins in Mathematica 10

I am trying to plot curves with the same x-range but different y-axis scales. Here's my attempt: ...
• 81
76 views

### How to Combine 3d Plots

I am trying to analyze data from a high-altitude balloon (HAB) launched in Ohio, and I would like to use Mathematica to do this. Currently, I have used Mathematica to generate a plot of the topography ...
275 views

### Computing maximal FontSize to fill a rectangle?

I'd like to compute the proper FontSize for a given piece of text to fill a given Rectangle. ...
• 3,655
73 views

### Overlay line plot of function onto a grid of numbers

I have a simple table, laid out using Grid: Module[{n = 25}, Grid[ Table[RandomInteger[{1, 5}], {i, n}, {j, n}] ] The ...
• 2,231
103 views

### Can a ListPointPlot3D be overlayed with map

I am trying to make a graph of earthquakes (position and depth) shown on map of the country. The map is drawn with Graphics3D option with the code: ...
157 views

### Adding a legend to Overlay

Does anybody know how to add plot legend to an Overlay in Mathematica? I had to make a plot with 2 different y-axis, so I produced two plots and joined them by Overlay, but now have no idea how to add ...
• 1
87 views

### Drawing on screen outside notebooks

Is there a way to display (animated) graphics outside of Mathematica notebooks, i.e., in a specified rectangle on the screen? I can imagine that one way to achieve that is by creating a notebook ...
• 487
322 views

### Placing text over a rectangle using graphics

I need to add some text to rectangles that I am using as a scale bar. I want the text right above the rectangle and centered. Here's my code: ...
• 1,534
281 views

### Overlaying 2d plots of regions with different colors and labels

I'm using the command Show to overlay the following three regions: ...
• 93
122 views

### Overlay for two axes plot

I have these two plots that I want to merge in order to create a plot with two axes. I just want to translate the second plot in order for them precisely coincide. However, it seems that the Translate ...
• 67
206 views

### How to overlap 2 different Y axis plot using OverLay

I want to plot the following image using ListPlot [taking the points from get data graph] and I used the command OverLay along with ImagePadding ip = {{85, 65}, {125, 0.16}} and ImageSize-> 500 ...
527 views

### How to overlay text with a graphics and specify the relative position?

I have some random graphics with specified ImageSize and AspectRatio, e.g., this line g1 = Graphics[Line[{{1, 0}, {2, 1}, {3,...
• 1,307
173 views

### Overlay a ListDensityPlot with ListContourPlot

I have a ListCountourPlot and a ListDensityPlot, generated by the code lines below. Now, I would like to superimpose them somehow, so that I can see the two plots on top of each other, much like I ...
1 vote
164 views

### Combine Plot and Graphics 3D for open box

I've been trying to code up an infinite waveguide. To do so, I need to build an open box and overlay several trigonometric functions onto the same set of axes. As someone fairly new to Mathematica, I ...
180 views

### Can I add a RegionPlot to a 2d slider?

I would like to demonstrate a bifurcation plot in parameter space for the Selkov equations. I am using a 2d slider to select the value of the parameters $a$ and $b$ that determine the stability of the ...
1 vote
326 views

### Shifting a curve upward

I am using Overlay to plot two curves in one graph while one of the curves is on a second vertical axis. How can I shift one of the curves (the dashed one here) ...
• 281
590 views

### Resizing Overlay (two y axes)

As suggested here, the way to be able to make a plot with two y axes is with Overlay. However, Overlay does not produce a ...
• 3,960
385 views

### Combine TimelinePlot and DateListPlot

I want to combine a TimeLinePlot and a DataListPlot. For both I use the same periode. The problem is that both X-axis differ ...
• 2,855
81 views

### Overlay two groups of controls

How can we combine two UI elements with controls such that they all work? Overlay forces you to choose which layer receives the input. Can we do both at the same ...
• 4,225
188 views

### How to add the second z-axis in Graphics3D

In 2D plot, to add the second y-axis, the Overlay function is useful. But I want to see the second z-axis in the Graphics3D. Here is my code. ...
• 441
71 views

...
• 157
177 views

### Optional Grid in Overlay

i have this code: ...
• 157
2k views

### Overlaying two images

I was to superimpose two atom cloud images in Mathematica, with one cloud image centered on the other one. I have tried looking at other threads on this topic but haven't been able to get their ...
378 views

### graphics - Overlaping Image in red and green scale, mixing pure colors

How can I overlap/merge two density plot (in attach) using Mathematica. One image is in red scale and the other is in green scale. In theses two images the lowest value is white (background) and the ...
1 vote
247 views

### How to add the picture to graph without overlapping?

I want to add some pictures to my plot and point them to especial part of the graph with the arrow (or maybe something fancier) but I got problem the canvas of my pictures are too big and its cover ...
• 403
3k views

### Placing a legend to partially overlap with the plot

I find myself extremely confused about how Placed works with plot legends. I want my legend to partially hang over one edge of the plot. But ...
• 1,856
728 views

### Overlay Plots in Mathematica 11 [duplicate]

I'm trying to do an overlay plot in the vein of the solutiosn given in (Frame labels for Overlay of two plots to look like plot with two y-axes), but with the new mathematica 11 version it seems that ...
464 views

### How can I convert an Overlay into a figure?

Now I'm trying to use Show[plota, Epilog->Inset[inset, Scaled->[{0.2, 0.7}]]] operation to insert an inset of a figure, where plota is an Overlay of two ...
• 273
430 views

### How to align GeoGraphics "GeoImage" with GeoPositions?

I have latitude and longitude locations that I need density (or contour) plot to overlay on a map. For example: ...
• 42.4k
302 views

### Complete and utter nonsense with Overlay and Graphics

I'm trying to simply overlay some text and a scalebar onto an image. I'm getting (what I perceive to be) completely ridiculous results while trying to do this. Here's the code: ...
• 1,082
367 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 ...
• 907
53 views

### EventHandler click event in Graphics[ ] object does not work properly after using Deploy [duplicate]

There is a problem clicking layered Graphics objects after using Deploy. For example, the code below works as intended with the Disk 'on top of' the Line. Click either object anywhere and EventHandler ...
• 435
1k views

### Aligning Overlay and GraphicsGrid plots

I need to make several plots displaying a ListPlot overlaid with a Histogram and close to it (ideally even sharing X axis) a ...
• 445
129 views

### How to combine several plots with this special alignment? [duplicate]

How can combine different plots just as shown in the image? Just give codes about one example plot,and tell me how to create plots as the form as gaven. Follows are codes: n = 2; z = 200; [Alpha] = 11/...
600 views

### Combine Stereographic "Entity" Plot of Arctic Sea with Contour Plot

In the announcement of Mathematica 10 there were some very cool features for every geo-related researcher. Like this one what i'm trying to do is to overlay an ContourPlot onto this beautiful arctic ...
3k views

### Exporting an overlay of two plots

I have a ListLinePlot and I'm trying to place a close-up of a specific range in the ListLinePlot. Using overlay I solved this problem with: ...
• 173
880 views

### Combining ArrayPlot and Plot

I have two plots. plot1 is a colour graph generated using ArrayPlot. plot2 is a function plotted using Plot. I want to do two things. Scale the axes of plot1 to be the same as plot2 (instead of ...
• 3,416
345 views

### Labeling a plot frame

I am trying to label the frame of an overlay plot I have made. However, it is not working at all. Here is my code: ...
• 81
3k views

### How do I overlay multiple graphics on one plot? [duplicate]

I am plotting n spectrum using: ...
• 407
1k views

### Overlaying a Plot within a Manipulate Control Panel

Is there a way to overlay a plot into a blank area of a Manipulate control panel, that will still update according to the controls in the Manipulate function? This is an image of what I have: You ...
• 131
517 views

### ListPlot - plotting values with different range

I have three tables: L, S and U. In first table I have values from range (0,1), in second ...
• 827
858 views

### How to annotate a Grid?

I have the following grid, which is a partial table for the linear function f[x]: ...
• 2,219
233 views

### Overlaying location pointer on to a png file

So I have started off with importing a png image of size $512\times 1024$ px. I have then created two locators as demonstrated on the Wolfram tutorials: ...
• 43
670 views

### How to align two overlayed plots, one being rotated?

I have two plots which I want to present on a single figure. The bottom left corner is a point of origin of the first plot. The top right corner is a point of origin of the second plot. Also, the ...
• 185
690 views

### Drawing tool with Overlay

I combined two plots using Overlay. In the output plot I want to add few modifications. Usually I right click on the plot (for ...
• 111