Linked Questions

104
votes
6answers
25k views

Exporting graphics to PDF - huge file

I want to draw some basic surfaces, export them to PDF and include them in a LaTeX file. I create a simple 3D graphics object, for instance with ...
93
votes
4answers
7k views

Functions with Options

Suppose you want to create a function which has optional arguments. Maeder's book Programming in Mathematica covers the topic extensively up to version 3, but some things have changed/evolved since ...
39
votes
3answers
5k views

Avoiding white lines inside filled area in RegionPlot exported as PDF or PS

When doing a RegionPlotand then exporting (or saving from the front end) as PDF or EPS, there are small white lines in the filling of the region. Here's an example ...
37
votes
1answer
2k views

How can all those tiny polygons generated by RegionPlot be joined into a single FilledCurve?

RegionPlot will usually generate a large number of tiny polygons for filling the region: ...
11
votes
3answers
427 views

Overlapping graphic primitives

I am trying to make a figure in Mathematica using some graphic primitives: ...
15
votes
2answers
2k views

Simple algorithm to find cycles in edge list

I have the edge list of an undirected graph which consists of disjoint "cycles" only. Example: {{1, 2}, {2, 3}, {3, 4}, {4, 1}, {5, 6}, {6, 7}, {7, 5}} Each ...
5
votes
2answers
5k views

Creating Optimal “Smoothed” Contour-Type Plots (X,Y,Z) Using Mathematica 8.04 [closed]

Update: data here Here is a contour plot produced in the SAS program: In this plot, variable 23405 forms the X axis, variable 20201 forms the Y axis, and outcome variable 50502 forms a pseudo Z ...
11
votes
1answer
1k 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 ...
6
votes
3answers
206 views

Can one reorder a list for parameterization?

I'm using ContourPlot to extract data points from a rather non-trivial curve in the $(x,y)$-plane. However, the points are spit out in the order of increasing $x$ ...
10
votes
1answer
1k views

Efficient export of complex graphics to PDF

So I have 2D plot, made with DensityListPlot. Mathematica just cannot export them properly to PDF, so what I want to do is 1) export the plot itself, without axes, labels, etc, as a jpg image, and 2) ...
7
votes
2answers
1k views

Rasterized density plot with vector axes

I'm wondering if there is an easy way to get the plot below exported in a small PDF file? The plot below is made in the following steps: Create a StreamPlot ...
4
votes
1answer
1k views

How to get better quality EPS graphics

Yesterday, I was doing any Tables of 15 graphs similar to the next example, to save .eps and use in latex. In the generation of the graphs Mathematica spends many time. Is possible to reduce this ...
2
votes
1answer
590 views

Getting Mathematica 9 to export text and axes of a plot as vector graphics in SVG

Minimal working example: ...
2
votes
1answer
317 views

Remove artifact of PDF images

I have a PDF figure created with Export[] in Mathematica 11.0.1.0 on Mac OSX The figure has these improper white-lines when I zoom-out and make the image smaller (...
3
votes
1answer
398 views

ContourPlot has extra mesh

There is an odd white mesh that appears on top of any contour plot I make. ContourPlot[x + 2 y, {x, 80, 300}, {y, 50, 100}] Any ideas on how I get rid of this? I'...
3
votes
2answers
187 views

Overlay vector logarithmic plot and rasterized logarithmic ListPlot

I would like to produce a output PDF file of a log-linear plot obtain by composing the plot of an analytical function and a scatter plot of some random data. Since the random points are of the order ...
2
votes
0answers
387 views

Export to PDF: DensityPlot & AllowRasterization->False

How to get production-quality vector graphic exported from Mathematica that looks like what is plotted in Mathematica. Example code: ...
0
votes
1answer
163 views

How can I save a density plot as a EPS file, but not a large file?

How can I have a small size (.EPS) DensityPlot? In fact, I want to bring a lot of density plots in my paper and the teX file will be very heavy. What can I do?
1
vote
0answers
336 views

ContourPlot has extra mesh in PDF

When I create a contour plot it looks fine. When I copy as PDF, and paste into another document (e.g. Apple Mail, Keynote, etc.) it has an extra unwanted white mesh. This occurs even when the option ...
2
votes
1answer
128 views

ContourPlot with BarLegend: vector format export problem

I have a couture plot which I want to export in vector format (e.g.PDF) and use in my latex. The example code from here: ...
0
votes
0answers
157 views

Raster ListDensityPlot with vector axes and labels

Is there an easy way to export a raster DensityPlot or ListDensityPlot but with vector axes, lines and label? I didn't find an easy answer in other questions.
1
vote
0answers
123 views

Making Mathematica graphics exported as PDF “usable” performance wise [duplicate]

Possible Duplicate: Exporting graphics to PDF - huge file Saner alternative to ContourPlot fill How can all those tiny polygons generated by RegionPlot be joined into a single FilledCurve? ...
1
vote
0answers
51 views

Can Listplot output data to an image whilst leaving axes and labels as vectors? [duplicate]

Question: Can Listplot be set to render the data as an image whilst leaving axes and labels as vectors when saved as a PDF? Context: I have around 100,000 points in my listplot which when saved to a ...
2
votes
0answers
25 views

Exporting Texture to pdf with vectorized frame axes

If you export Graphics with frame like below ...