Linked Questions

3
votes
2answers
1k views

Cropping a Plot without rasterization [duplicate]

Suppose that I make a plot of $x^2$ vs. $x$: myPlot = Plot[x^2, {x, -1, 1}, Frame -> True] If I click on the plot, I see the orange handles with which I can ...
5
votes
2answers
367 views

Cannot change ImageResolution after applying ImagePad [duplicate]

I want to export high-resolution images of a plot I'm making. The trouble is, the plot has a lot of extra white space around it which I get rid of via ImagePad (I ...
20
votes
8answers
3k views

How can I create a rectangular graphic with curved edges?

I want to make some button shaped graphics that would essentially be a rectangular shape with curved edges. In the example below I have used Polygon rather than <...
18
votes
4answers
2k views

Retrieving the ImagePadding in absolute units

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

How to control the page size when exporting as a PDF?

When I used Mathematica under Windows, I could control the page size of the pdf files created by Export[...,"PDF"] by setting the paper size in the print menu to ...
7
votes
1answer
2k views

Remove the white margins of a Graphics3D figure

If the option Boxed is set to be False in Graphics3D, additional white margins may appear as ...
4
votes
1answer
310 views

Finding cropped region coordinates

Mathematica now includes support for fairly involved interactive manipulation of displayed graphics, which includes cropping (ctrl-drag). Is there some way to get the crop dimensions set by the user, ...
1
vote
1answer
185 views

Issue with ImageCrop and Rasterize

This is related to 1. I use the following code: ...
3
votes
0answers
223 views

Crop a `Graphics` object [duplicate]

How do I crop a Graphics object? I know I can use ImageCrop[graphic, {1800, 400}]; but that results in an ...
2
votes
1answer
170 views

Cropping Vector Graphics without Rasterization

Recently, I encountered the very famous problem of cropping vector graphics without rasterization. I looked over the site and this answer of Jens seems to be the best one to me. However, I noticed ...