Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

Re: No ListPlot points shown

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4160] Re: [mg4041] No ListPlot points shown
  • From: Allan Hayes <hay at haystack.demon.co.uk>
  • Date: Sat, 8 Jun 1996 13:24:34 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

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[]