Equivalent to Gnuplot histeps style

I am a recent switcher to matplotlib from gnuplot so please forgive me
if I post often.

I am currently looking to see if there is a similar matplotlib
plotting style like gnuplots "histeps". An example is:

http://gnuplot.sourceforge.net/demo_4.2/random.4.png

As I searched through the email list archives, it seemed like John was
looking at adding "steps" as a linestyle to matplotlib. The email is
a few years old

http://sourceforge.net/mailarchive/message.php?msg_id=4158CE19.3060601%40gemini.edu

I was wondering if anything came from this or if I need to figure out
something on my own.

Thanks in advance.

Jeremy

Jeremy,

I ran across the answer to this last week while searching the list for info on datestr2num (both subjects happened to come up in the same exchange).

http://www.nabble.com/First-impression-from-a-new-user-tf1716894.html#a4662446

plot(x, y, linestyle='*steps*')

Charles Seaton

Jeremy Conlin wrote:

···

I am a recent switcher to matplotlib from gnuplot so please forgive me
if I post often.

I am currently looking to see if there is a similar matplotlib
plotting style like gnuplots "histeps". An example is:

http://gnuplot.sourceforge.net/demo_4.2/random.4.png

As I searched through the email list archives, it seemed like John was
looking at adding "steps" as a linestyle to matplotlib. The email is
a few years old

http://sourceforge.net/mailarchive/message.php?msg_id=4158CE19.3060601%40gemini.edu

I was wondering if anything came from this or if I need to figure out
something on my own.

Thanks in advance.

Jeremy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Well that's great! (I should have at least tried making such a plot
before posting. Sorry.) How come I couldn't find it in the
documentation? I can't find anything about available linestyles. Am
I looking the wrong location? I am looking at users_guide_0.9.0.pdf

Thanks again,
Jeremy

···

On 10/17/07, Charles Seaton <cseaton@...1743...> wrote:

Jeremy,

I ran across the answer to this last week while searching the list for
info on datestr2num (both subjects happened to come up in the same
exchange).

http://www.nabble.com/First-impression-from-a-new-user-tf1716894.html#a4662446

plot(x, y, linestyle='*steps*')

Charles Seaton

Jeremy Conlin wrote:

···

On 10/17/07, Charles Seaton <cseaton@...1743...> wrote:

Jeremy,

I ran across the answer to this last week while searching the list for
info on datestr2num (both subjects happened to come up in the same
exchange).

http://www.nabble.com/First-impression-from-a-new-user-tf1716894.html#a4662446

plot(x, y, linestyle='*steps*')

Charles Seaton

Well that's great! (I should have at least tried making such a plot
before posting. Sorry.) How come I couldn't find it in the
documentation? I can't find anything about available linestyles. Am
I looking the wrong location? I am looking at users_guide_0.9.0.pdf

The user's guide tends to lag. To find the latest features, look at the CHANGELOG, the examples, and the docstrings. Ipython is a big help for looking at docstrings and trying things out. Are you familiar with it?

Eric

am familiar with IPython and use it all the time as a replacement
for the standard Python interpreter. I don't always use the extra
features it offers. I just did

help pylab.plot

and there it was, what the available linestyles. Again lesson
learned, read the (available) documentation before asking the
questions. It is sometimes confusing where to go for the
documentation.

Thanks,
Jeremy

···

On 10/18/07, Eric Firing <efiring@...202...> wrote:

Jeremy Conlin wrote:
> On 10/17/07, Charles Seaton <cseaton@...1743...> wrote:
>> Jeremy,
>>
>> I ran across the answer to this last week while searching the list for
>> info on datestr2num (both subjects happened to come up in the same
>> exchange).
>>
>> http://www.nabble.com/First-impression-from-a-new-user-tf1716894.html#a4662446
>>
>> plot(x, y, linestyle='*steps*')
>>
>> Charles Seaton
>
>
> Well that's great! (I should have at least tried making such a plot
> before posting. Sorry.) How come I couldn't find it in the
> documentation? I can't find anything about available linestyles. Am
> I looking the wrong location? I am looking at users_guide_0.9.0.pdf

The user's guide tends to lag. To find the latest features, look at the
CHANGELOG, the examples, and the docstrings. Ipython is a big help for
looking at docstrings and trying things out. Are you familiar with it?

Eric