Re: ErrorListPlot point size control?
- To: mathgroup at smc.vnet.net
- Subject: [mg21928] Re: [mg21872] ErrorListPlot point size control?
- From: Bojan Bistrovic <bojanb at physics.odu.edu>
- Date: Fri, 4 Feb 2000 02:54:54 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
> 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.
>
>
This should work:
In[1]:= data={...}
In[2]:= plt=ErrorListPlot[data];
In[3]:= plt2=plt /. PointSize[_]-> PointSize[0.007] //Show
Bye, Bojan
--
-------------------------------------------------------------
Bojan Bistrovic, bojanb at physics.odu.edu
Old Dominion University, Physics Department, Norfolk, VA
-------------------------------------------------------------