I just started looking into python and matplotlib a few days ago and I am amazed that this software can do more or less the same as MATLAB. I just have a couple of questions regarding some stuff that I spent a lot of time without figuring out.
1. Is there a way to change the font type and font size of the numbers on the axes in a figure? Not the labels (xlabel and ylabel - they are easy to change), but the actual numbers. If for example x goes from 0 to 6 in step of 2, the numbers showing below the x axis would be 0, 2, 4, and 6 for example. 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 there 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 first row and column is text and the rest is numbers. What would be the best way to import that into maplotlib and then assign a variable name to each column (without the first entry, which would be the variable name).
Thanks a lot in advance.
Сдобий се със следващата генерация Windows Live услуги сега!