0
$\begingroup$

I have a list of date points and I want to show each point with a single verticle line that connects the point with the x-axis.

I imagine that the solution should be the same as for a ListPlot.

$\endgroup$
  • $\begingroup$ use the option Filling -> Axis or Filling -> Bottom? $\endgroup$ – kglr May 15 at 15:26
  • $\begingroup$ Ok, thanks! Any idea how to set the width of the line? $\endgroup$ – Miguel May 15 at 15:35
  • 1
    $\begingroup$ FillingStyle -> AbsoluteThickness[x] where x is the width (I think 1 is the default width). $\endgroup$ – MassDefect May 15 at 16:37

Your Answer

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

Browse other questions tagged or ask your own question.