Re: ErrorListPlot point size control?
- To: mathgroup at smc.vnet.net
- Subject: [mg22002] Re: ErrorListPlot point size control?
- From: "Dale Horton" <daleh at wolfram.com>
- Date: Thu, 10 Feb 2000 02:25:44 -0500 (EST)
- Organization: Wolfram Research, Inc.
- References: <87avdn$nvr@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Tania Nordli <jfuite at ualberta.ca> wrote in message news:87avdn$nvr at smc.vnet.net... > Dear Advanced Mathematica Users, > > I wish to change the point size of a graph that I am making that > uses the function ErrorListPlot, from the package Graphics`Graphics. My > problem is this: I cannot find a method to control the size of the data > points displayed. > > Unlike for ListPlot, as shown by Options[ErrorListPlot], the > option PlotStyle is unavailable. Moreover, when I try using > Prolog->{PointSize[0.007]} or Prolog->{AbsolutePointSize[4]} the graph > remains unaffected (though if I use Prolog->{PointSize[0.007], > RGBColor[1,0,0]} the points and error bars turn red as expected). As > shown by InputForm, the graphics output of ErrorListPlot always has the > directive of PointSize[0.015], which I cannot seem to affect. > > Therefore, my question is, how can I have a scatter plot with > error bars and elegantly small data points? > > Sincerely, > James J. Fuite. > > > Probably the fastest fix is to use a replacemnet rule to change the PointSize already in the graph. In[1]:= pl = ErrorListPlot[...]; In[2]:= Show[pl /. PointSize[.015] :> PointSize[.01]] (where PointSize[.01] is whatever PointSize you want).