I made my code on a windows computer, mathematica 11.0.1. For the plots I used self defined ticks. Here all the ticks are shown. However, I did simulations on a linux computer (also mathemativa v11.0.1), and will have to generate the plots there. On linux the ticks are different. There is a little more spacing, the font is slightly bigger and now the first tick disappears (see images). I have been through all kind of settings, and can not find what causes this. Any suggestions?

Example code to generate plots:

labels = {"\!\(\*SuperscriptBox[\(2\), \(n/3\)]\)", 
  "\!\(\*SuperscriptBox[\(2\), \(\(\\\ \)\(2n/3\)\)]\)", 
  "\!\(\*SuperscriptBox[\(2\), \(\(\\\ \)\(n\)\)]\)", 
  "\!\(\*SuperscriptBox[\(2\), \(\(\\\ \)\(7n/6\)\)]\)", 
  "\!\(\*SuperscriptBox[\(2\), \(\(\\\ \)\(4n/3\)\)]\)", 
  "\!\(\*SuperscriptBox[\(2\), \(5\\\n/3\)]\)", 
  "\!\(\*SuperscriptBox[\(2\), \(2n\)]\)"}

Qlist = {6, 26, 128, 288, 646, 3251, 16384}

labels2 = Table[{Qlist[[i]], labels[[i]]}, {i, 1, 7}]
pltstylv = "DefaultPlotStyle" /. (Method /. Charting`ResolvePlotTheme["Monochrome", ListLinePlot]);
pmrkrs = PlotMarkers /. Charting`ResolvePlotTheme["OpenMarkersThick", ListLinePlot];
fakeData = Table[{Qlist[[i]], i^2}, {i, 1, 7}];

ListPlot[{fakeData}, PlotRange -> {Full, Full}, ImageSize -> 700, 
 Joined -> True, PlotStyle -> pltstylv, 
 PlotMarkers -> pmrkrs, ScalingFunctions -> {"Log", "Log"}, 
 Ticks -> {labels2, Automatic}] 

Different results: linux Linux windows windows

Thanks in advance!

  • $\begingroup$ Please provide a minimum working example. $\endgroup$ – Feyre Jan 30 '17 at 10:25
  • $\begingroup$ I could get rid of the legend to make it smaller, but the plotstyle, the logscale the image size etc. all influence the outcome, so it is quite minimal allready. How do I edit my post? $\endgroup$ – MdV Jan 30 '17 at 10:37
  • $\begingroup$ I edited the code example to make it smaller $\endgroup$ – MdV Jan 30 '17 at 11:07
  • $\begingroup$ Font rendering is different on each operating system. Try exporting to PDF instead of taking a screenshot. Do this using Export and not using right click, save graphics as... Is there still a difference? $\endgroup$ – Szabolcs Jan 30 '17 at 11:10
  • $\begingroup$ Also if you are not satisfied with the quality of math typesetting, give MaTeX a try. $\endgroup$ – Szabolcs Jan 30 '17 at 11:13

Your Answer


Browse other questions tagged or ask your own question.