Tell me more ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I was using PlotLegend in Mathematica to label different data sets in a plot. But after generating the plot when saved / exported the image in pdf, gif or png format I found nothing but a white image. How to solve this problem? This problem occurs only when I use PlotLegend. I use Mathematica 7.

PlotMu=ListLogLinearPlot[{data1,data2},
               LegendShadow->None,
               AxesLabel->{"GeV","P"},
               PlotLegend->{"A","B"},
               Joined->{True,True},
               LegendPosition->{0.4,-0.4},
               LegendSpacing->-0,
               LegendSize->0.5
       ]

Where is the problem do you think?

share|improve this question
1  
There is the legending tag for similar questions. Look at related questions if some alternatives to PlotLegend can help, e.g. mathematica.stackexchange.com/questions/4444/… – Artes Aug 8 '12 at 12:08
See also here mathematica.stackexchange.com/a/4028/745 – Ajasja Aug 8 '12 at 12:12
I don't get any problems under mma 8. example – Ajasja Aug 8 '12 at 12:38
What Export command did you use? – Sjoerd C. de Vries Aug 8 '12 at 13:08
It works fine under v8 for me. Did you use <<PlotLegends` first? – Sjoerd C. de Vries Aug 8 '12 at 13:16
show 5 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.