Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Everytime I draw a plot (I tried in many different ways and the result is always the same) using the kernel I get it twice. The one I want and a copy.

I tried, for example, with this code:

f[t_,lam1_,lam2_] := lam1/(lam2-lam1) * 103 * (Exp[-lam1 t] - Exp[-lam2 t]);


but even a simple Plot[Sin[x],{x,0,10}] yields the same result.

I get two identical plots instead of one. I cannot pinpoint when it started to act this way because I haven't used it in a while and now that I need it I get this weird behaviour.

I'm working on Mathematica 9 on Ubuntu Linux 12.04, Xfce graphic environment, and my configuration file (~/.Mathematica/Kernel/init.m) only contains the line <<JavaGraphics`;

share|improve this question

closed as off-topic by Kuba, m_goldberg, rm -rf Mar 13 at 21:08

  • The question does not concern the technical computing software Mathematica by Wolfram Research. Please see the help center to find out about the topics that can be asked here.
If this question can be reworded to fit the rules in the help center, please edit the question.

Can you check what the value of $DisplayFunction is? –  J. M. Jun 12 '13 at 15:22
Along the same lines, do you have something defined in $Pre, $PreRead, $PrePrint, $Post, etc. –  rm -rf Jun 12 '13 at 15:29
Print[$DisplayFunction] yields SystemPrivate`JavaDisplay` None of those other variables is set –  blue Jun 12 '13 at 18:24
Can you comment out <<JavaGraphics` line from you init.m file and see if that changes things? –  rcollyer Jun 12 '13 at 20:21
This question appears to be off-topic because it can't be reproduced. –  Kuba Mar 13 at 18:32

Browse other questions tagged or ask your own question.