[Matplotlib-users] How to remove white space

2010-04-01 Thread yogesh karpate
Dear All, I have one .png image of 940X780 and i am plotting waveforms on it. When I save this plot as .png , matp[lotlib gives image in 800X600 that too with white space. I dont want to keep the white space and i want the same resolution as original image.How should I go ahead?

[Matplotlib-users] How to save file in to image in desired resolution in matplotlib?

2010-03-31 Thread yogesh karpate
Dear All, I am using one image of 235X130 and plotting the curve on it, now when i save it it goes in the resoltuion of 800X600, I want to keep the resolution intact.What can be done for that to keep the resolution same? I am using

[Matplotlib-users] problem with minorticks

2010-03-29 Thread yogesh karpate
Dear All, I want to make minor ticks working in following program. Here only major ticks are dis[played in grpah though i have declared the minor ticks minorticks_on() doesnt work in my code. How to fix that.Please help me out.Thanks in advance ' Regards Yogesh from

[Matplotlib-users] How to draw following gridlines

2010-03-24 Thread yogesh karpate
Kindly find the image attached with this mail. I want to make the graph with grid lines(shown in background) as plotted in attached mail(Dont consider the curve in foreground).How can we do it in matplotlib? I tried grid(color='#f52887', linestyle='-', linewidth=1). But I couldnt figure out how

[Matplotlib-users] the problem in pylab_examples example code: image_demo2.py

2010-03-23 Thread yogesh karpate
The 1st code snippet of image_demo2.py is as follows #!/usr/bin/env python from pylab import * w, h = 512, 512 s = file('../data/ct.raw', 'rb').read() A = fromstring(s, uint16).astype(float) A *= 1.0/max(A) A.shape = w, h I replaced s = file('../data/ct.raw', 'rb').read() with s =

[Matplotlib-users] how to plot data on image.

2010-02-18 Thread yogesh karpate
Dear All, I am facing one peculiar problem. I have ecg data of 2000 points . I can plot it,but i want to plot the data on image . Kindly find the attched image with this mail to get my problem.How should I go ahead. Thanx in advance. Regards Yogesh attachment:

[Matplotlib-users] how to plot data on image.

2010-02-18 Thread yogesh karpate
Dear All, I am facing one peculiar problem. I have ecg data of 2000 points . I can plot it,but i want to plot the data on image . Kindly find the attched image with this mail to get my problem.How should I go ahead. Thanx in advance. Regards Yogesh attachment: