MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: No ListPlot points shown


Franz A. Delahan
in [mg4041] No ListPlot points shown

wants to get both lines and points from ListPlot.

Franz:
The basic problem is that with ListJoined -> True, ListPlot does  
not make any points.
The following will show the code generated -- there are no points.

   lst={{1,1},{2,3},{3,2}};
   ListPlot[lst, PlotJoined->True]//InputForm

Here are two ways round this.

(*1*) ListPlot[lst,
	  Epilog->{{PointSize[.02],Point/@lista}}, PlotJoined->True
      ]

(*2*) Show[
	Block[{$DisplayFunction = Identity},
	   {ListPlot[lst, PlotJoined->True],
	    ListPlot[lst,PlotStyle-> {PointSize[.02]}]
	   }
	]
      ]

Allan Hayes
hay at haystack.demon.co.uk

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Please Help
  • Next by Date: (correction) Re: Please Help
  • Previous by thread: Re: No ListPlot points shown
  • Next by thread: Re: Numerical Evaluation of Sqrt[]