Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12330
| From | Szymon Roziewski <szymon.roziewski@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Export a graphical plot to pdf file |
| Date | 2012-11-13 05:15 +0000 |
| Message-ID | <k7sl0k$kut$1@smc.vnet.net> (permalink) |
| References | <k7ct90$dqe$1@smc.vnet.net> <20121110070832.BFD456962@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Thank you all for your help.
This solution works almost well
antialias[g_] :=
ImageResize[
Rasterize[g, "Image", ImageResolution -> 600, Background -> White],
Scaled[2]]
g = ContourPlot[x^2 + y^2, {x, -1, 1}, {y, -1, 1}];
img = antialias[Show[g, Axes -> False, Boxed -> False]];
Export["file.pdf", img, "AllowRasterization" -> False]
I mean the problem is with its background that is light red but it should
be white.
Best wishes,
Szymon Roziewski
On 12 November 2012 12:06, Szymon Roziewski <szymon.roziewski@gmail.com>wrote:
> Thank you all for your help.
>
> This solution works almost well
>
> antialias[g_] :=
> ImageResize[
> Rasterize[g, "Image", ImageResolution -> 600, Background -> White],
> Scaled[2]]
>
> g = ContourPlot[x^2 + y^2, {x, -1, 1}, {y, -1, 1}];
> img = antialias[Show[g, Axes -> False, Boxed -> False]];
> Export["file.pdf", img, "AllowRasterization" -> False]
>
> I mean the problem is with its background that is light red but it should
> be white.
>
> Best wishes,
> Szymon Roziewski
>
--
Z wyrazami szacunku,
Szymon Roziewski
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Export a graphical plot to pdf file Szymon Roziewski <szymon.roziewski@gmail.com> - 2012-11-07 05:57 +0000
Re: Export a graphical plot to pdf file "Nasser M. Abbasi" <nma@12000.org> - 2012-11-09 00:03 +0000
Re: Export a graphical plot to pdf file "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-11-10 07:09 +0000
Re: Export a graphical plot to pdf file RBaillie <bobbaillie@frii.com> - 2012-11-10 07:09 +0000
Re: Export a graphical plot to pdf file Kristjan Kannike <kkannike@ut.ee> - 2012-11-10 08:30 +0000
Re: Export a graphical plot to pdf file Szymon Roziewski <szymon.roziewski@gmail.com> - 2012-11-13 05:15 +0000
csiph-web