[Matplotlib-users] parameters values in the title

2009-12-29 Thread kamaleon
Hey all, I have a program that contains two parameters ... beta=0.2 delta=0.4 . . in the title of my plot i want the value of the ratio beta/delta=0.5 to executed automatically when i run the program. i need:confused: title('...\beta/delta=0.5') how can i do that in matplolib? c

[Matplotlib-users] how to insert a part of a plot in the same figure

2010-03-04 Thread kamaleon
Hey All, I have a fig, see attach image. I am plotting the number of infected nodes versus time. Time is running from 0 to 100. I need to insert a subplot in that figure that shows me the number of infected nodes for time running from 0 to 20 for example. If there is an example that can do the s

Re: [Matplotlib-users] how to insert a part of a plot in the same figure

2010-03-04 Thread kamaleon
Thanks Matthias, this seems help me. But how to remove the xlabel, ylable and the tilte in the subplot? Cheers Matthias Michler wrote: > > On Thursday 04 March 2010 13:35:12 kamaleon wrote: >> Hey All, >> >> I have a fig, see attach image. I am plotting the number of inf

Re: [Matplotlib-users] how to insert a part of a plot in the same figure

2010-03-04 Thread kamaleon
Thanks you put it right, I wanted to know how to remove them inside the subplot. It is done. Cheers Matthias Michler wrote: > > On Thursday 04 March 2010 17:11:54 kamaleon wrote: >> Thanks Matthias, this seems help me. >> But how to remove the xlabel, ylable and the ti