From: G. O. N. <g_n...@ho...> - 2007-12-18 22:42:55
|
Hello, I just started looking into python and matplotlib a few days ago and I am a= mazed that this software can do more or less the same as MATLAB. I just hav= e a couple of questions regarding some stuff that I spent a lot of time wit= hout figuring out. 1. Is there a way to change the font type and font size of the numbers on t= he axes in a figure? Not the labels (xlabel and ylabel - they are easy to c= hange), but the actual numbers. If for example x goes from 0 to 6 in step o= f 2, the numbers showing below the x axis would be 0, 2, 4, and 6 for examp= le. It is the fontsize and font of these numbers that I want to change. It = must be some axis property but I cannot figure it out. 2. I will be using the figures plotted in matplotlib mainly to import them = in LATEX documents. Since Latex uses Computer modern font by default, is th= ere a way to change the default font in matplotlib to match it? What would = be the actual command? 3. The data that I would like to plot is in an ASCII format, where the firs= t row and column is text and the rest is numbers. What would be the best wa= y to import that into maplotlib and then assign a variable name to each col= umn (without the first entry, which would be the variable name). Thanks a lot in advance. _________________________________________________________________ =C1=D4=DE=D1=D8=D9 =E1=D5 =E1=EA=E1 =E1=DB=D5=D4=D2=D0=E9=D0=E2=D0 =D3=D5= =DD=D5=E0=D0=E6=D8=EF Windows Live =E3=E1=DB=E3=D3=D8 =E1=D5=D3=D0! http://get.live.com= |