Re: [Matplotlib-users] Problem with importing LaTeX package amsmath and $\text{}$

2013-03-31 Thread Pawel Chojnacki
Thank you very much - hovewer, your solution isn't enough. Adding your lines generate: ['\\usepackage{amsmath}', '\\usepackage[T1]{fontenc}'] Exception in Tkinter callback Traceback (most recent call last): File /usr/lib/python2.7/lib-tk/Tkinter.py, line 1437, in __call__ return

Re: [Matplotlib-users] Problem with importing LaTeX package amsmath and $\text{}$

2013-03-31 Thread Juergen Hasch
Am 31.03.2013 08:50, schrieb Pawel Chojnacki: Thank you very much - hovewer, your solution isn't enough. Adding your lines generate: The problem is this: RuntimeError: LaTeX was not able to process the following string: u'' Here is the full report generated by LaTeX: Latex doesn't like

[Matplotlib-users] Working with background image in plot

2013-03-31 Thread Florian Lindner
Hello! I try to use a background image in my plot: import matplotlib.pyplot as plt im = plt.imread(WTunnel.png) plt.xlim([-3,4]) plt.ylim([-0.01,0.05]) plt.plot(some stuff) plt.imshow(im, aspect=auto, extent=(-5, 4, -0.01, 0.05)) This works more or less. As far as I understand the extent

Re: [Matplotlib-users] Plotting from datafile

2013-03-31 Thread Sayan Chatterjee
Thank you very much I have been able to plot from the data files, but facing a slight glitch. The data points are being super imposed in consecutive plots.That means if the 1st data file contains 50 points and the second 30. The second plot will contain 80 points! How to go about this problem?

Re: [Matplotlib-users] Plotting from datafile

2013-03-31 Thread Benjamin Root
On Sun, Mar 31, 2013 at 11:51 AM, Sayan Chatterjee sayanchatter...@gmail.com wrote: Thank you very much I have been able to plot from the data files, but facing a slight glitch. The data points are being super imposed in consecutive plots.That means if the 1st data file contains 50 points and