Re: [Matplotlib-users] Plotting for insertion into latex

2006-12-03 Thread Oguz Akyuz
Hi Ganesh, I also use matplotlib mainly to create publication quality plots into my latex documents. Here are the steps that I follow to achieve this: 1) Set figure size to 4 by 3 inches using: figure (1, figsize=(4,3)) ax = subplot(111) # note that I will use ax below, that's why I defined

[Matplotlib-users] Plotting for insertion into latex

2006-12-03 Thread Ganesh V
Hi! In some cases, I run matplotlib exclusively to put the generated pics in latex documents, and the crib is that the xlabel and ylabel and xtick and ytick font sizes are not big enough. The requirement is to make the fonts as big as the text size itself. I normally do not play around with dpi

Re: [Matplotlib-users] latex and saving in svg

2006-12-03 Thread John Hunter
> "Oguz" == Oguz Akyuz <[EMAIL PROTECTED]> writes: Oguz> Hi, It seems that saving in SVG is not possible if I use Oguz> default latex fonts in my plot. Do you have any suggestions? Oguz> This is the error that I get: It's not possible currently -- we could make it work via dvipng

Re: [Matplotlib-users] Axis label formatting using FuncFormatter, any example?

2006-12-03 Thread John Hunter
> "Alfredo" == Alfredo Sotelo <[EMAIL PROTECTED]> writes: Alfredo> Hi, Does anyone know how to use FuncFormatter class to Alfredo> translate the tick labels using a user defined function? Alfredo> I have on my xaxis the code of my weather stations and I Alfredo> have defined

Re: [Matplotlib-users] error bars, plot_date, and connected line

2006-12-03 Thread Pierre GM
On Saturday 02 December 2006 17:39, Simson Garfinkel wrote: > Hi. I'm interested in creating a date plot showing bandwidth along a > link. I want to have a dot in the center of each date with the > average bandwidth and use the error bars to show the 25th and 75th > percentiles. I've been trying to

[Matplotlib-users] Axis label formatting using FuncFormatter, any example?

2006-12-03 Thread Alfredo Sotelo
Hi, Does anyone know how to use FuncFormatter class to translate the tick labels using a user defined function? I have on my xaxis the code of my weather stations and I have defined a function to replace them with their station names. The function uses just a dictionary. When I tried to apply

[Matplotlib-users] latex and saving in svg

2006-12-03 Thread Oguz Akyuz
Hi, It seems that saving in SVG is not possible if I use default latex fonts in my plot. Do you have any suggestions? This is the error that I get: /usr/lib/python2.4/site-packages/matplotlib/font_manager.py:989: UserWarning: Could not match Computer Modern Roman, normal, normal. Returning /usr/l