Skip to main content

Questions tagged [overlay]

This tag addresses overlaying two or more graphics.

Filter by
Sorted by
Tagged with
3 votes
2 answers
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 ...
sam wolfe's user avatar
  • 4,863
0 votes
1 answer
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 ...
Martha97's user avatar
  • 349
0 votes
1 answer
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: ...
mathematica_guy's user avatar
2 votes
1 answer
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: ...
Hunter's user avatar
  • 31
1 vote
1 answer
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: ...
Jacob's user avatar
  • 81
0 votes
0 answers
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 ...
Robert Ferro's user avatar
4 votes
2 answers
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. ...
user5601's user avatar
  • 3,655
0 votes
1 answer
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 ...
Richard Burke-Ward's user avatar
2 votes
1 answer
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: ...
ljubco Jovanov's user avatar
0 votes
0 answers
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 ...
Boki's user avatar
  • 1
4 votes
0 answers
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 ...
Math Gaudium's user avatar
2 votes
1 answer
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: ...
Rodrigo's user avatar
  • 1,534
2 votes
2 answers
281 views

Overlaying 2d plots of regions with different colors and labels

I'm using the command Show to overlay the following three regions: ...
ibr_'s user avatar
  • 93
0 votes
1 answer
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 ...
Gabriel's user avatar
  • 67
0 votes
0 answers
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 ...
R. Bhattacharya's user avatar
0 votes
1 answer
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,...
nanjun's user avatar
  • 1,307
0 votes
0 answers
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 ...
Alex Aiv.'s user avatar
1 vote
1 answer
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 ...
Anna Chrysostomou's user avatar
5 votes
1 answer
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 ...
Sort of Damocles's user avatar
1 vote
1 answer
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) ...
Hossein's user avatar
  • 281
5 votes
1 answer
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 ...
atapaka's user avatar
  • 3,960
4 votes
2 answers
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 ...
Michiel van Mens's user avatar
3 votes
0 answers
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 ...
Stitch's user avatar
  • 4,225
3 votes
0 answers
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. ...
Taeshin Kim's user avatar
0 votes
0 answers
71 views

Plotting points with Overlay (No axis! & Optional)

...
Shiro Ignis's user avatar
2 votes
2 answers
177 views

Optional Grid in Overlay

i have this code: ...
Shiro Ignis's user avatar
4 votes
3 answers
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 ...
user2476576's user avatar
2 votes
2 answers
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 ...
G. Candiotto's user avatar
1 vote
1 answer
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 ...
Parviz's user avatar
  • 403
11 votes
2 answers
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 ...
tparker's user avatar
  • 1,856
3 votes
1 answer
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 ...
Jonah Gollub's user avatar
2 votes
2 answers
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 ...
RoderickLee's user avatar
2 votes
1 answer
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: ...
Edmund's user avatar
  • 42.4k
3 votes
1 answer
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: ...
Ben Kalziqi's user avatar
  • 1,082
6 votes
1 answer
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 ...
user13999's user avatar
  • 907
3 votes
0 answers
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 ...
Robert's user avatar
  • 435
5 votes
1 answer
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 ...
user1084363's user avatar
2 votes
0 answers
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/...
Zhang Hongkuan's user avatar
13 votes
2 answers
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 ...
Julian Zimmermann's user avatar
7 votes
2 answers
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: ...
user23127's user avatar
  • 173
4 votes
1 answer
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 ...
Tom's user avatar
  • 3,416
3 votes
2 answers
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: ...
Josh's user avatar
  • 81
2 votes
1 answer
3k views

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

I am plotting n spectrum using: ...
Zhozer's user avatar
  • 407
3 votes
1 answer
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 ...
madacho's user avatar
  • 131
3 votes
1 answer
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 ...
Ziva's user avatar
  • 827
6 votes
2 answers
858 views

How to annotate a Grid?

I have the following grid, which is a partial table for the linear function f[x]: ...
Steve D's user avatar
  • 2,219
4 votes
1 answer
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: ...
Jade's user avatar
  • 43
8 votes
1 answer
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 ...
rythin's user avatar
  • 185
5 votes
2 answers
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 ...
smtg's user avatar
  • 111
6 votes
4 answers
775 views

How do I overlay corresponding values over each frame of an animation?

I recorded a phenomenon using video capturing (phen.avi, imported into Mathematica) and simultaneous measurement of some electrical properties of that phenomenon (a ...
R.S.'s user avatar
  • 127