95 views

Getting axes range from plot (of the plot) [duplicate]

Related to this question in a way. After making a plot, I'd like to get the plot range (not the range of the function, but the range chosen for plotting which usually leaves some buffer room). I've ...
85 views

Possible bug in PlotRange output [duplicate]

I see strange behaviour of PlotRange in the latest Mathematica: PlotRange/.AbsoluteOptions[Plot[Sin[x] x, {x, 0, \[Pi]}, PlotRange -> All]] gives ...
65 views

Why does AbsoluteOptions give the wrong answer for ListPlot? [duplicate]

I'm trying to get the PlotRange from a ListPlot graphic: ...
4k views

How to get rid of the perspective effect in a 3D graphics

I have plotted a figure of MoS2 crytal structure. But the actual output looks like the spheres are not in the correct position due to the perspective effect. I obtained the correct position figure ...
2k views

Retrieving the ImagePadding in absolute units

Consider the following graphic: g = Graphics[Circle[], Frame -> True, FrameLabel -> {"one", "two"}] Retrieving the ...
2k views

Isometric perspective for Graphics3D

Is it possible to render Graphics3D in an isometric projection? I know that the ViewPoint option can be used for orthogonal ...
847 views

How to align coordinate systems of Inset and enclosing Graphics?

Suppose we have some plot with AspectRatio not being Automatic: ...
2k views

Get Axes Range of Plot?

Say I have some plot plot = Plot[Sin[x], {x,0,10}] (*as an example*) Is there a way I can get the x and y axes min/max values from the "plot" variable? If I ...
1k views

Plotting triple data points while xy data are not regular

I plotted recently some figures in Matlab and their quality was not that satisfactory, so I come to Mathematica as my supervisor suggested. This is how such figure looks like in Matlab: . In Matlab, ...
828 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 ...
545 views

Find bounding box of arbitrary 3d graphics?

What's the best workaround for this limitation: RegionBounds[ BoundaryDiscretizeGraphics[Graphics3D[{Cone[], Cuboid[]}]]]
946 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 ...
939 views

How to use PlotRange -> All with ListLogLinearPlot?

Bug introduced in 8.0 and fixed in 10.0.0 I would like to generate a ListLogLinearPlot that automatically shows all the data points. However the option ...