Linked Questions
18 questions linked to/from How to align coordinate systems of Inset and enclosing Graphics?
28
votes
4answers
15k views
Is there an option to change the space/distance between tick labels and axes labels for plots?
In an attempt to squeeze more plots and controls into the limited space for a demo UI, I am trying to remove any extra white spaces I see.
I am not sure what options to use to reduce the amount of ...
27
votes
5answers
2k views
How to get the real PlotRange using AbsoluteOptions?
Bug persisting through version 12.2.0.0
The problem in general involves the unreliable behaviour of AbsoluteOptions when option values are implicitly specified (e....
29
votes
4answers
1k views
Place a small gap between axes and plot?
See for example this picture produced with R:
You can see there is a small white space between the x-axis and the y-axis, so that the axes do not cross. How can I do this with Mathematica, for a <...
19
votes
4answers
2k views
Retrieving the ImagePadding in absolute units
Consider the following graphic:
g = Graphics[Circle[], Frame -> True, FrameLabel -> {"one", "two"}]
Retrieving the ...
14
votes
4answers
719 views
Find inset bounding box in plot coordinates
Consider the following plot:
The line to the top right corner of the inset is only approximate (found by trial and error). How can I determine the location of that corner? More generally, how can I ...
11
votes
3answers
2k views
How to superimpose plots and graphics in the same coordinate system?
NB: I am aware that "plots" are graphics too, so the title would be more precisely worded if "graphics" were replaced by "non-plot graphics".
EDIT: I have edited my original example to make the ...
13
votes
2answers
904 views
Disconnected Frame/Axes in Plots
Is it possible to have "Tufte" style figure axes? That is so that the axes do not need to connect or span the entire data range?
For an example of what I mean from the R's default histogram style:
I ...
16
votes
2answers
849 views
Plotting an additional axis with ticks
When preparing non-standard graphs, it is common that one needs an "extra" axis, parallel but displaced from a traditional axis. This might happen in many cases:
When you want to plot two curves ...
11
votes
3answers
1k views
Distorted graphics when using custom ticks and AspectRatio -> Full
Bug introduced in 7.0.1 or earlier and persists through 12.0
I am having a problem using custom tick specifications along with AspectRatio -> Full.
The problem ...
8
votes
2answers
4k views
How to set the ratio between the vertical and horizontal scales of plots?
The documentation says that when AspectRatio->Automatic is specified, Mathematica
determines the ratio of height to width from the actual coordinate values in ...
13
votes
1answer
2k views
Remove the extra white-space padding introduced by implicit use of Inset in GraphicsColumn
Simple Context
This is a question about understanding how Inset really works and how GraphicsColumn and the like automatically ...
8
votes
2answers
2k views
How to make Inset graphics maintain relative sizes when combined
I am learning a little about Inset, but after trying all options, I can't get this to work. I need to inset separately made Graphics2D objects, into one main ...
3
votes
2answers
343 views
How do I (selectively) prevent clipping of symbols at plot edges when using Show?
I have already been looking for a solution to my problem but maybe I was focusing on the wrong topics. What I want to do is to overlay two plots (in this case a ...
4
votes
2answers
546 views
How to scale multiple graphics to preserve relative sizes?
I'm looking for a simple way to make the displays of different Graphics expressions accurately reflect their relative sizes.
(By "simple" I mean that it does not ...
1
vote
1answer
786 views
How to scale inset such that it takes up the specific region of a plot
Consider two plots, one of which will contain the other as an inset.
...