6
$\begingroup$

I have error bars that are too small, so the marker are too big, i want to shrink the dots. If i do ErrorListPlot[dato,PlotMarkers->{o,1}] my bars do not show, but if i do ErrorListPlot[dato,PlotStyle->Thin] it draw the bars thin but the dot remains too big. What can i do?

$\endgroup$

2 Answers 2

4
$\begingroup$

You can set a point size in PlotStyle:

ErrorListPlot[Table[{i, RandomReal[0.5]}, {i, 5}], PlotStyle -> AbsolutePointSize[4]]

enter image description here

See belisarius's answer for full control using post-processing.

$\endgroup$
2
$\begingroup$

You can change the point style like this:

SeedRandom[42];
ErrorListPlot[Table[{i, RandomReal[0.5]}, {i, 5}]] /. 
   Point[a__] :> {Red, PointSize[#], Point[a]} & /@ {.008, .1} 

Mathematica graphics

$\endgroup$
1
  • 1
    $\begingroup$ You could also make some concoction with ErrorBarFunction[] $\endgroup$ Sep 18, 2014 at 15:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.