Linked Questions

103
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
426 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
316 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
396 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'...

15 30 50 per page