|
From: Jeremy C. <jer...@gm...> - 2007-10-17 21:04:21
|
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 |
|
From: Charles S. <cs...@st...> - 2007-10-17 23:13:19
|
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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Jeremy C. <jer...@gm...> - 2007-10-17 23:57:49
|
On 10/17/07, Charles Seaton <cs...@st...> 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 Thanks again, Jeremy |
|
From: Eric F. <ef...@ha...> - 2007-10-18 07:06:53
|
Jeremy Conlin wrote: > On 10/17/07, Charles Seaton <cs...@st...> 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 |
|
From: Jeremy C. <jer...@gm...> - 2007-10-18 17:05:14
|
On 10/18/07, Eric Firing <ef...@ha...> wrote: > Jeremy Conlin wrote: > > On 10/17/07, Charles Seaton <cs...@st...> 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 |
|
From: Eric F. <ef...@ha...> - 2007-10-18 17:45:13
|
Jeremy Conlin wrote: > On 10/18/07, Eric Firing <ef...@ha...> wrote: >> Jeremy Conlin wrote: >>> On 10/17/07, Charles Seaton <cs...@st...> 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 >> > > I 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 Even easier: pylab.plot? And for more detail (but mostly useful for matplotlib modules and functions rather than for their pylab wrappers), use two question marks to view the source code. To see available functions or attributes, use tab completion. Eric > > 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 |
|
From: Jeremy C. <jer...@gm...> - 2007-10-18 17:55:46
|
On 10/18/07, Eric Firing <ef...@ha...> wrote: > Jeremy Conlin wrote: > > On 10/18/07, Eric Firing <ef...@ha...> wrote: > >> Jeremy Conlin wrote: > >>> On 10/17/07, Charles Seaton <cs...@st...> 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 > >> > > > > I 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 > > Even easier: > > pylab.plot? > > And for more detail (but mostly useful for matplotlib modules and > functions rather than for their pylab wrappers), use two question marks > to view the source code. > > To see available functions or attributes, use tab completion. > > Eric > > > > > > 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 > > Ooh, very nice. I'll try to incorporate those commands into my daily repertoire. Jeremy |