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