[Matplotlib-users] adding custom legends to multicolored line

2011-08-16 Thread Ravi Kanth Vanapalli
Hi , I wish to add a custom legend to a multicolored line drawn using matplotlib as shown in the figure below http://www.scipy.org/Cookbook/Matplotlib/MulticoloredLine I tried exploring the legend but somehow couldn't figure out its usage and how to adapt it to multicolored line as in the above li

Re: [Matplotlib-users] trouble redrawing the canvas when embedding the matplotlib figure in wxpython , also tooltip not being enabled when matplotlib figure placed in wxpython

2011-07-13 Thread Ravi Kanth Vanapalli
Reposting it as the content of my query in my previous post on the website. Hi all, > > I am having trouble redrawing the canvas when embedding the simple > matplotlib graph into wxpython. > I tried creating the required GUI using the XRCed. > My aim is to display two check boxes, one with Sin an

[Matplotlib-users] trouble redrawing the canvas when embedding the matplotlib figure in wxpython , also tooltip not being enabled when matplotlib figure placed in wxpython

2011-07-13 Thread Ravi Kanth Vanapalli
Hi all, I am having trouble redrawing the canvas when embedding the simple matplotlib graph into wxpython. I tried creating the required GUI using the XRCed. My aim is to display two check boxes, one with Sin and one with Cos signal. And then a show button. By default both the checkboxes are clic

[Matplotlib-users] boundaryNorm functionality for mapping based on values range and also occurance of external factors like flag

2011-06-17 Thread Ravi Kanth Vanapalli
Hi all, Just wanted to know how to go about when I have to do my color mapping not only with respect to range of values on y-axis but also based on some other conditions as well. i.e, say ( && && ) where condition1 could be occurance of some event say, a flag1 is set true and condition2 may be

[Matplotlib-users] creating a multi colored graph with respect to the values in y-axis

2011-06-17 Thread Ravi Kanth Vanapalli
Hi all, I am a beginner in python and matplotlib. I need to implement a graph with multiple colors in it. In a way, I have a function which varies with respect to time and amplitude. I have time on x-axis and amplitude on y-axis. Lets say the amplitude of the graph is divided into 4 ranges, say 1-3