5
$\begingroup$

I have got something like this:

    Magnify[Show[{ListPlot[{parh1, parh2a}, 
    PlotLegends -> 
     Placed[{MaTeX["\\langle q_0^k\\rangle"], 
       MaTeX["\\langle q_2^k\\rangle"]}, {After, Center}], 
    Joined -> True], ListPlot[{parh1a, parh2b}, Joined -> True], 
   ListPlot[{parh1b, parh2c}, Joined -> True]}, 
  PlotRange -> {{0.16, 0.26}, Automatic}, 
  FrameStyle -> {Bold, Bold, Bold, Bold}, Frame -> True, 
  LabelStyle -> Directive[Black], 
  FrameLabel -> {MaTeX["\\textbf{$t^*$}"], 
    MaTeX["\\textbf{$q_0, q_2$}"]}, 
  BaseStyle -> {FontFamily -> "CMU Serif"}, PlotRange -> All, 
  AxesOrigin -> {0, 0}], 2]`

Then I do this:

Export[NotebookDirectory[] <> "A.eps", %, ImageResolution -> 600];

and I get that lines underlay the axes. How to deal with it?

enter image description here

UPDATE:

I am looking for this: enter image description here

$\endgroup$
  • $\begingroup$ I have usually found it better to export as PDF and then convert that to EPS afterwards. For some reason the EPS export is often problematic. $\endgroup$ – Oleksandr R. Jan 30 '16 at 21:09
  • 1
    $\begingroup$ Method -> {"AxesInFront" -> False} ? $\endgroup$ – Algohi Jan 30 '16 at 21:57
2
$\begingroup$

You need this method i think:

P1 = Plot[Sin[x], {x, 0, 6}];
P2 = Plot[Sin[x], {x, 0, 6}, AxesStyle -> Opacity[0]];
Overlay[{P1, P2}]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.