matplotlib-users
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [Matplotlib-users] equivalent of PlotFilling->Axis Eric Firing Wed Jun 24 11:00:38 2009
Art wrote:
> Is there a way to create a line plot similar to Mathematica's
> PlotFilling->Axis option for ListPlot?
>
Like this?
http://matplotlib.sourceforge.net/examples/pylab_examples/fill_between_demo.html
Eric
> It is a plot of a vector as a line plot, but for each point, there is a
> vertical line dropped down to the axis. It is demonstrated on the
> following link:
>
> http://reference.wolfram.com/mathematica/ref/Filling.html
>
> With the example given:
>
> ListPlot[Table[{k,
> PDF[BinomialDistribution[50, p], k]}, {p, {0.3, 0.5, 0.8}}, {k, 0,
> 50}], Filling -> Axis]
>
> Thanks!
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users