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: ...
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 ...
11
votes
3answers
428 views

Overlapping graphic primitives

I am trying to make a figure in Mathematica using some graphic primitives: ...
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 ...
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 ...
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$ ...
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 ...
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 ...
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
1answer
318 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 (...

15 30 50 per page