Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Problem with LabelPosition and ImageResolution' topicStudent Support Forum > General > Archives > "Problem with LabelPosition and ImageResolution"

Next Comment >Help | Reply To Topic
Author Comment/Response
Matthias
09/01/12 08:29am

Hey There,
Its the first time I post in this forum, so i hope to get an helpfull answer.

I try to export a normal Plot as an ".PNG", with a frame and some framelabels. Nothing special.

But when I use the option: ImageResolution -> 300, on Export[], then the exported Image looks not very satisfying, wich means that the framelabels are to far away from the frame of the plot.

Why does this happen?

Here is an example, you can try it and you'll see what i mean:

SetDirectory[NotebookDirectory[]];
Show[
Plot[Sin[x], {x, 0, 2 \[Pi]}],
ImageSize -> 600,
PlotLabel -> "Problem with FrameLabel & ImageResolution",
PlotRangePadding -> Scaled[0.1],
Frame -> True,
FrameLabel -> {"horizontal Label", "vertical Label"},
LabelStyle -> Large
]
Export["FrameLabelProblem.PNG", %, ImageResolution -> 300]
Import["FrameLabelProblem.PNG", ImageSize -> 600]

Thank you in advance!

Matthias

Attachment: ImageResolutionProblem.nb, URL: ,

Subject (listing for 'Problem with LabelPosition and ImageResolution')
Author Date Posted
Problem with LabelPosition and ImageResolution Matthias 09/01/12 08:29am
Re: Problem with LabelPosition and ImageResolut... Forum Modera... 09/03/12 9:28pm
Re: Problem with LabelPosition and ImageResolut... Matthias 09/04/12 03:41am
Next Comment >Help | Reply To Topic