From: Greg Colbourn on
Hi,

I'm basically having the same problem as a previous poster from 8th
August 2009, who's post wasn't answered:

"I am having trouble to export a LogLogPlot to which I have added a
legend with ShowLegend.

I'm doing something like:

plot = LogLogPlot[function[t], {t,tmin,tmax}, PlotOptions]

plotWithLeg = ShowLegend[plot, directives, LegendOptions]

Export["plotWithLeg.eps", plotWithLeg]

plotWithLeg is displayed correctly on the screen, however it produces
an empty file when exported, regardless of the output format (eps,
pdf, png, jpg, nothing works). Substituting ShowLegend for a call to
PlotLegend inside LogLogPlot does not work either.

Exporting the plot without legend _does_ work.
Changing LogLogPlot by Plot, adding the legend and exporting does
_also_ work.

I believe this is due to some problem between ShowLegend and
logarithmic plots, a problem that manifests itself when exporting, not
when rendering on the screen. Can anybody think of a workaround to
this? [Adding the legend with a command other than ShowLegend, some
trickery before exporting, etc.]

Thanks in advance,
Lucia"

I'm using Mac OS 10.6.2 and Mathematica 7.0.0. The linear versions of
the same plot work fine, but it's the log ones that I really want. I've
got lots of them and it will be tedious to say the least to Export them
all manually (I can do this by control-click -> Print -> Save as Pdf).

Has anyone else come across this and/or know how to fix it?

Cheers,
Greg Colbourn

From: bsyehuda on
On Windows XP (32 bit) and version 7.0.1 there are no problems.
yehuda


 | 
Pages: 1
Prev: A question about Graphics3D
Next: Execute on Exit?