You can subscribe to this list here.
2003 
_{Jan}
(1) 
_{Feb}
(2) 
_{Mar}
(6) 
_{Apr}
(11) 
_{May}

_{Jun}
(2) 
_{Jul}

_{Aug}
(1) 
_{Sep}
(15) 
_{Oct}
(12) 
_{Nov}
(11) 
_{Dec}
(18) 

2004 
_{Jan}
(57) 
_{Feb}
(16) 
_{Mar}
(3) 
_{Apr}
(14) 
_{May}
(35) 
_{Jun}
(41) 
_{Jul}
(19) 
_{Aug}
(25) 
_{Sep}
(14) 
_{Oct}
(36) 
_{Nov}
(41) 
_{Dec}
(29) 
2005 
_{Jan}
(44) 
_{Feb}
(21) 
_{Mar}
(17) 
_{Apr}
(45) 
_{May}
(23) 
_{Jun}
(26) 
_{Jul}
(30) 
_{Aug}
(9) 
_{Sep}
(120) 
_{Oct}
(34) 
_{Nov}
(17) 
_{Dec}
(6) 
2006 
_{Jan}
(23) 
_{Feb}
(56) 
_{Mar}
(78) 
_{Apr}
(14) 
_{May}
(87) 
_{Jun}
(52) 
_{Jul}
(69) 
_{Aug}
(41) 
_{Sep}
(53) 
_{Oct}
(37) 
_{Nov}
(8) 
_{Dec}
(17) 
2007 
_{Jan}
(32) 
_{Feb}
(3) 
_{Mar}
(21) 
_{Apr}
(29) 
_{May}
(14) 
_{Jun}
(9) 
_{Jul}
(30) 
_{Aug}
(26) 
_{Sep}
(6) 
_{Oct}
(9) 
_{Nov}
(7) 
_{Dec}
(6) 
2008 
_{Jan}
(9) 
_{Feb}
(19) 
_{Mar}
(46) 
_{Apr}
(44) 
_{May}
(28) 
_{Jun}
(32) 
_{Jul}
(37) 
_{Aug}
(14) 
_{Sep}
(7) 
_{Oct}
(3) 
_{Nov}
(15) 
_{Dec}
(3) 
2009 
_{Jan}

_{Feb}
(6) 
_{Mar}
(7) 
_{Apr}

_{May}
(20) 
_{Jun}
(8) 
_{Jul}
(5) 
_{Aug}
(6) 
_{Sep}

_{Oct}
(45) 
_{Nov}
(8) 
_{Dec}
(20) 
2010 
_{Jan}
(3) 
_{Feb}
(1) 
_{Mar}
(12) 
_{Apr}

_{May}
(3) 
_{Jun}
(12) 
_{Jul}
(1) 
_{Aug}
(2) 
_{Sep}
(3) 
_{Oct}
(11) 
_{Nov}
(5) 
_{Dec}
(6) 
2011 
_{Jan}
(4) 
_{Feb}

_{Mar}

_{Apr}
(13) 
_{May}
(9) 
_{Jun}
(12) 
_{Jul}
(12) 
_{Aug}
(2) 
_{Sep}
(11) 
_{Oct}
(8) 
_{Nov}
(2) 
_{Dec}
(16) 
2012 
_{Jan}
(23) 
_{Feb}

_{Mar}

_{Apr}
(2) 
_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}
(6) 
_{Oct}
(7) 
_{Nov}

_{Dec}
(3) 
2013 
_{Jan}
(1) 
_{Feb}

_{Mar}

_{Apr}
(2) 
_{May}
(7) 
_{Jun}
(6) 
_{Jul}
(2) 
_{Aug}
(12) 
_{Sep}

_{Oct}
(3) 
_{Nov}

_{Dec}
(3) 
2014 
_{Jan}

_{Feb}

_{Mar}

_{Apr}
(2) 
_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}
(3) 
_{Dec}

2015 
_{Jan}

_{Feb}
(5) 
_{Mar}
(5) 
_{Apr}
(1) 
_{May}
(7) 
_{Jun}
(28) 
_{Jul}
(9) 
_{Aug}

_{Sep}

_{Oct}
(2) 
_{Nov}
(3) 
_{Dec}
(10) 
2016 
_{Jan}
(16) 
_{Feb}
(6) 
_{Mar}

_{Apr}

_{May}
(9) 
_{Jun}
(5) 
_{Jul}
(6) 
_{Aug}

_{Sep}
(1) 
_{Oct}

_{Nov}

_{Dec}

2017 
_{Jan}

_{Feb}
(5) 
_{Mar}
(3) 
_{Apr}
(4) 
_{May}
(7) 
_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 


1

2

3

4

5

6

7

8

9

10

11

12

13

14

15
(1) 
16
(1) 
17

18

19

20

21

22

23

24

25

26

27

28

29

30





From: Joerg Lehmann <joergl@us...>  20130416 07:51:58

Hello Nor, I think precisely this use case has been documented in http://pyx.sourceforge.net/examples/graphs/join.html HTH, J On 15.04.13, Néstor Espinoza wrote: > Hello everyone, > > I have a 'small' question regarding the combination of legends. Suppose I > have a model, and the binned version of it in two vectors, say, model, > with the corresponding values for x, x_model and binned_model with the > corresponding values of x, x_binned_model. > What I want to do is to plot this using pyx, but, in the legend, combine > the symbol I use for the binned version of the model with the model > itself, which I plot as a line. So I have something like the following > code: > > ######################################### > from pyx import * > from numpy import np > # Create a model > x = np.array([0,1,2,3,4,5,6]) > model = x**2 > # Bin two values; 0.5, binned between 0 and 1, and 4.5, binned between 4 > and 5: > x_binned_model = np.array([0.5,4.5]) > x_binned_model = np.array([0.33,20.33]) > c = canvas.canvas() > g = c.insert(graph.graphxy(height=5,width=10, > key=graph.key.key(pos='bl'),\ > x = graph.axis.linear(title = 'x axis'),\ > y = graph.axis.linear(title = 'y axis'))) > # Plot 'full version' of the model: > g.plot(graph.data.values(x=x_model,y=model, title = 'The model',\ > styles = [graph.style.line([color.cmyk.CornflowerBlue,\ > style.linestyle.solid,\ > style.linewidth.THIN])]) > # ...binned version of the model: > g.plot(graph.data.values(x=x_binned_model, y=binned_model, title = 'The > model'),\ > styles = > [graph.style.symbol(graph.style.symbol.square,symbolattrs = > [deco.filled([color.cmyk.CornflowerBlue]), > deco.stroked([color.cmyk.CornflowerBlue])],size = 0.1)]) > c.writePDFfile("Figure") > ######################################### > > So when you plot it, you have two legends: one with a line for the model > and one with squares for the bined model: is there a way to combine the > two and just have one legend, with the line and the square overplotted on > it? > Cheers >  > Nor >  > Precog is a nextgeneration analytics platform capable of advanced > analytics on semistructured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > PyXuser mailing list > PyXuser@... > https://lists.sourceforge.net/lists/listinfo/pyxuser 
From: Néstor Espinoza <nestor.espinozap@gm...>  20130415 19:03:21

Hello everyone, I have a 'small' question regarding the combination of legends. Suppose I have a model, and the binned version of it in two vectors, say, model, with the corresponding values for x, x_model and binned_model with the corresponding values of x, x_binned_model. What I want to do is to plot this using pyx, but, in the legend, combine the symbol I use for the binned version of the model with the model itself, which I plot as a line. So I have something like the following code: ######################################### from pyx import * from numpy import np # Create a model x = np.array([0,1,2,3,4,5,6]) model = x**2 # Bin two values; 0.5, binned between 0 and 1, and 4.5, binned between 4 and 5: x_binned_model = np.array([0.5,4.5]) x_binned_model = np.array([0.33,20.33]) c = canvas.canvas() g = c.insert(graph.graphxy(height=5,width=10, key=graph.key.key(pos='bl'),\ x = graph.axis.linear(title = 'x axis'),\ y = graph.axis.linear(title = 'y axis'))) # Plot 'full version' of the model: g.plot(graph.data.values(x=x_model,y=model, title = 'The model',\ styles = [graph.style.line([color.cmyk.CornflowerBlue,\ style.linestyle.solid,\ style.linewidth.THIN])]) # ...binned version of the model: g.plot(graph.data.values(x=x_binned_model, y=binned_model, title = 'The model'),\ styles = [graph.style.symbol(graph.style.symbol.square,symbolattrs = [deco.filled([color.cmyk.CornflowerBlue]), deco.stroked([color.cmyk.CornflowerBlue])],size = 0.1)]) c.writePDFfile("Figure") ######################################### So when you plot it, you have two legends: one with a line for the model and one with squares for the bined model: is there a way to combine the two and just have one legend, with the line and the square overplotted on it? Cheers  Néstor 