I have two questions regarding ListLinePlot:

  1. I plot three data on the same frame, I use ListLinePlot, but the lines connecting the points connect them from the right instead of connecting the center of the points

  2. I want to plot thick points with thin lines I use the following code but for some reason "pointsize" doesn't work no matter what the size I write the points look the same

Note that the following is not the data I plot but I added arbitrary data so you can run the ListLinePlot:




  • $\begingroup$ can't run your code, since it is missing d1,d2,d3 $\endgroup$ – Nasser Jun 4 '18 at 12:51
  • $\begingroup$ I add arbitary data so you can run it , thanks $\endgroup$ – maya Jun 4 '18 at 12:58
  • $\begingroup$ Welcome maya. You can simply edit your own question with the little "edit" button beneath it. StackExchange supports a text-markup language called Markdown that lets you easily include code, italics, and many other things. I've dont this for you, but please look here before you post another question. $\endgroup$ – halirutan Jun 4 '18 at 13:07
  • $\begingroup$ @halirutan thanks $\endgroup$ – maya Jun 4 '18 at 13:12
  • 1
    $\begingroup$ "connecting from the center" is probably related to this q/a: Point Renderings Slightly Off in Mathematica $\endgroup$ – kglr Jun 4 '18 at 13:46

I have noticed that myself using the Win7 frontend. The plotmarkers are often placed poorly, the lines are correct. For larger plotmarkers you don't notice it, but look at this:

enter image description here

On the Raspberry Pi it renders better, so it must be a FrontEnd issue.

enter image description here

Use ListPlot[{d1, d2, d3}, Frame -> True, PlotMarkers -> {Graphics[{PointSize[.1], Point[{0, 0}]}]}, Joined -> True] instead!


I don't understand what you mean about connecting from the right instead of the center. On the other hand, to control the size of the PlotMarkers, you can use the setting {Automatic, size}, e.g.:

ListLinePlot[{d1,d2,d3}, PlotMarkers->{Automatic,20}, Frame->True]

enter image description here


Your Answer

