Re: Double-data-graph

3 views
Skip to first unread message
Message has been deleted

Lorenzo Gil Sanchez

unread,
Jul 25, 2009, 8:32:33 AM7/25/09
to py...@googlegroups.com
Yes it is, just put more data in the dataset argument. Each element in
that sequence is actually a data series.

Best regards,

Lorenzo

2009/7/24 gjhames <gjh...@gmail.com>:
>
> It's possible to create a graphic like this using pycha?
> http://matplotlib.sourceforge.net/users/screenshots.html#bar-charts
>
> Two data in one graph?
> >
>
Message has been deleted

Lorenzo Gil Sanchez

unread,
Aug 1, 2009, 4:22:48 AM8/1/09
to py...@googlegroups.com
Hi Gewton,

you may need something like this:

dataSet = (('cm', ((0, 1000), (1, 3000), (2, 0)),
('xx', ((0, 1500), (1, 2000), (3, 100)),
('yy', ((0, 500), (1, 1500), (3, 300)))

and so on...

I hope you get the idea now :-)

Best regards,

Lorenzo

2009/7/27 Gewton Jhames <gjh...@gmail.com>:
> Let's see: This is my dataset, how I modify it to become like the graph I've
> show?
> dataSet = (('cm',
>   ((0, 1000),
>    (1, 3000),
>    (2, 0),
>    (3, 0),
>    (4, 0),
>    (5, 0),
>    (6, 0),
>    (7, 0),
>    (8, 0),
>    (9, 0),
>    (10, 0),
>    (11, 0),
>    (12, 0),
>    (13, 0),
>    (14, 0),
>    (15, 0),
>    (16, 0),
>    (17, 0),
>    (18, 0),
>    (19, 0),
>    (20, 0),
>    (21, 2033.2177734375),
>    (22, 4078.58203125),
>    (23, 4087.853515625))),)
Reply all
Reply to author
Forward
Message has been deleted
0 new messages