1
$\begingroup$

This question already has an answer here:

Some features with V10.0.1.0 plotting under x86_64 Linux (xubuntu 12.04 & 14.04). I use ListPlot, but I also see this using other Plot functions.

Generate some data: tdata = RandomReal[{-1, 1}, {32, 2}];. Plot the first series: ListPlot[tdata[[All, 1]], Joined -> True] to get enter image description here

Plot both series (ListPlot[{tdata[[All, 1]], tdata[[All, 2]]}, Joined -> True]) to get enter image description here

Here's where the features start. Specify styles using ListPlot[{tdata[[All, 1]], tdata[[All, 2]]}, Joined -> True, PlotStyle -> {Red, Blue}] and see enter image description here

Second series dashed (ListPlot[{tdata[[All, 1]], tdata[[All, 2]]}, Joined -> True, PlotStyle -> {Red, Directive[Blue, Dashed]}]) gives enter image description here

Note the dashed Frame.

Can anybody else reproduce these effects?

$\endgroup$

marked as duplicate by m_goldberg, Karsten 7., Teake Nutma, Yves Klett, Öskå Oct 2 '14 at 10:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ I don't see it on Win7x64. However, the default for this type of plot (as far as I know) is with axes, not a frame. How did you change this default (or is this just the default, somehow, on your system but not mine)? $\endgroup$ – Kellen Myers Oct 2 '14 at 1:55
  • $\begingroup$ On OS X I do not get a frame unless I explicitly ask for one using Frame -> True. Have you modified the default settings? $\endgroup$ – Szabolcs Oct 2 '14 at 2:44
  • $\begingroup$ Indeed! Set Frame->True, Axes->False before commencing $\endgroup$ – dwa Oct 2 '14 at 2:50

Browse other questions tagged or ask your own question.