SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S




1
(8)
2
3
4
5
(2)
6
7
8
(13)
9
(5)
10
(1)
11
(7)
12
(9)
13
(2)
14
(1)
15
(8)
16
(10)
17
(2)
18
(5)
19
20
(4)
21
(2)
22
(3)
23
24
25
26
(6)
27
(1)
28
(1)
29
(2)
30
(13)

Showing 2 results of 2

From: Marcel O. <m.o...@ja...> - 2012年11月13日 12:06:14
Attachments: timing.png timing.py
[...]
 > > On Mon, Sep 24, 2012 at 3:33 PM, Todd <toddrjen@...> wrote:
[...]
 > >> I tentatively am calling the plot type an "EventRaster" plot
 > >> (name suggestions, along with any other suggestions, are
 > >> welcome). The plot is made up if horizontal rows of identical
 > >> vertical lines and/or markers. Each line or marker represents a
 > >> discrete event, and each row represents a single sequence of
 > >> events (such as a trial). The x-axis position of the line or
 > >> marker identifies the location of the event by some measure. An
 > >> example of what such a plot often looks like is below.
 > >>
 > >> http://hebb.mit.edu/courses/9.29/2003/athena/dylanh/quad-rast.gif
 > >>
 > >> This sort of plot is used ubiquitously in neuroscience. It is
 > >> used to show the time of discrete neural (brain cell) events
 > >> (called "spikes") over time in repeated trials, and is generally
 > >> called a spike raster, raster plot, or raster graph. However,
 > >> it can be used in any situation where you are only concerned
 > >> with the position of events but not their amplitude, especially
 > >> if you want to look for patterns in those events or look for
 > >> differences between multiple sequences of events.
[...]
 > Assuming we go with the name, here is my proposed call signature:
 > 
 > EventRaster(x, offset=0, height=1, **kargs)
 > 
 > x is a 1D or 2D array. If a 1D array, it create a single row of
 > lines. If it is a 2D array, it creates one row of lines for each row
 > in the array.
Dear Todd,
I saw your posts on this idea with interest. I recently had similar,
but more intricate plotting needs and came up with a brute-force
solution calling "barh" for each of the vertical bars. It is
attached. It is not "nice" code because it mixes program logic,
visual tweaks, and plotting, but maybe you can take it as an example
of what can already be done and should probably be wrapped in a clean
API. This is already a simplified stand-along version, there is a
more involved production code behind.
It is a timing graph (that's what I think of, maybe "timing" could be
an appropriate name as I too agree that "raster" is a bit confusing)
of events with the following requirements:
- An event has a start and a finish (or, equivalently, a start and a
 duration), so the vertical bars must be drawn with varying widths.
- The bars may be colored differently (in the concrete application,
 the color scheme was green/yellow/red with green for tasks which are
 processed in their allocated time slice, yellow for the overrun into
 the next slice, and red (not show in example below) if allowable
 delay tolerances are violated; it is easy to imagine very different
 applications and coloring schemes).
- The bars may have different vertical heights (in the application
 representing channel capacities; in the attached example they are
 all the same, but in general they might be different); it is easy to
 imagine applications (maybe like the "rug plots" mentioned in the
 thread) where the vertical height of individual bars needs to be
 specified.
- There are discrete clock ticks which are indicated by vertical grid
 lines.
I am not sure if this gets too general, but maybe it makes sense to
fold some or all of the above into the API of what you are working
on.
With best regards,
Marcel
PS.: I initially sent a post like this one from a wrong email address,
so it got stuck in moderation. It appears that sadly John Hunter is
still moderating the list, so it will probably never get approved. If
someone else has access to moderation, please just cancel that post,
it's the same in different words. I blew my one chance to cancel it
and now am stuck with an invalid confirmation URL for the list server.
---------------------------------------------------------------------
Marcel Oliver Phone: +49-421-200-3212 
School of Engineering and Science Fax: +49-421-200-3103
Jacobs University m.o...@ja...
Campus Ring 1 ol...@me... 
28759 Bremen, Germany http://math.jacobs-university.de/oliver
---------------------------------------------------------------------
On 12 November 2012 20:52, Benjamin Root <ben...@ou...> wrote:
> There are other git workflows, which are all perfectly valid. If you can
> convince us to use another, feel free to propose one. However, we have
> done a couple of releases with gitwash, and it has worked quite well for us
> given how small our maintenance overhead is. Just have to remember to
> regularly merge the maintenance branch to master. That's all.
For what it's worth, what Paul describes is essentially the process we use
in IPython. All pull requests target master, and critical fixes are
backported if we decide we're going to do another maintenance release. This
is easier for contributors, because all pull requests work the same way,
but I think it does take some time for someone to go through the issues
tagged for backporting and cherry-pick the commits. Min tackled that for
our recent maintenance releases.
We use pull request testing to keep master reasonably stable, although we
don't make any promises about it.
Best wishes,
Thomas

Showing 2 results of 2

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /