1
$\begingroup$

This question already has an answer here:

I'm plotting a collection of data points {X,Y} with the following:

   N0tenthPlt = 
   ListPlot[N0tenth, Frame -> True, GridLines -> Automatic, 
   PlotRange -> {{0, 100}, {0, 1.0}}, ImageSize -> {800, 509.3}, 
   Joined -> True, 
   PlotStyle -> {RGBColor[0, 0, 1], AbsolutePointSize[10]}, 
   AspectRatio -> 2/\[Pi], 
   FrameLabel -> {Style["TIME (months)", Bold, Blue], 
     Style["HEIGHT (cms)", Bold, Blue]}, 
   LabelStyle -> Directive[Blue, Large]];

My points disappeared after I added the Joined->True option to the code. All I see is a series of straight lines connected end to end. What do I do? Advice? Suggestions?

$\endgroup$

marked as duplicate by Jens plotting Jul 22 '17 at 2:22

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$ Add Mesh -> All in your code $\endgroup$ – OkkesDulgerci Jul 22 '17 at 2:09
  • $\begingroup$ Or use PlotMarkers -> Automatic. $\endgroup$ – Jens Jul 22 '17 at 2:18
2
$\begingroup$

SeedRandom[123]; pts = RandomInteger[{0, 10}, 10];

 Grid[{{ListPlot[pts, Frame -> True, GridLines -> Automatic, 
Joined -> True], ListPlot[pts, Frame -> True, GridLines -> Automatic, Mesh -> All,  Joined -> True]}}]

enter image description here

$\endgroup$

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