[Matplotlib-users] Changing font throught matplotlibrc file

2011-02-20 Thread Curiouslearn
Hello, I am trying to change the default font by adding the following lines to the matplotlibrc file: ## FONT font.family : serif font.serif : Palatino However, I get the following error. /Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/matplotlib/font_manager.py:12

[Matplotlib-users] specifying marker cycle in matplotlibrc

2011-02-19 Thread Curiouslearn
Hi, If I want to specify the color_cycle for plot lines, I can use the following line in a matplotlibrc file: axes.color_cycle : b, g, r, c Is there a similar specification that can be used for cycling through markers? Something like: lines.marker_cycle : s, o, x, + Thank you. ---

Re: [Matplotlib-users] Setting the ticks on an axis

2011-02-19 Thread Curiouslearn
Thomas and Goyo, Thanks for the answers. I am fine with them being coverted to ints. In fact, my ax.set_ylim(bottom=0, top=6000) contains ints and I don't understand why they are converted to floats. I was thinking that there is perhaps another (more correct) way to set tick values. I will either

[Matplotlib-users] Setting the ticks on an axis

2011-02-19 Thread Curiouslearn
Hello, I was trying to change the tick values that show up on the y-axis. I wanted a more finer range than the default. So I added: ax.set_yticks(range(ax.get_ylim()[0], ax.get_ylim()[1], 400)) to my plot. And before this line, I have ax.set_ylim(bottom=0, top=6000) I get the r

[Matplotlib-users] There is no plot in the PNG file. The PDF file is fine.

2011-02-09 Thread Curiouslearn
Can you please see the code below and let me know why the png figure comes out empty (it only contains the x-axis, does not contain the scatterplot). The pdf file has no such problems. I have tried saving another usual line plot in .png format and I had no problems. Does this have to do with scatt

Re: [Matplotlib-users] properties of patch of an axes instance.

2011-02-08 Thread Curiouslearn
Thanks again, Paul! Now I understand. I tried your example and I can see the effect of those commands. On Tue, Feb 8, 2011 at 7:29 PM, Paul Ivanov wrote: > Curiouslearn, on 2011-02-08 19:04,  wrote: >> I wonder then what edgecolor, linewidth etc. change in case of axes.patch. > &g

Re: [Matplotlib-users] properties of patch of an axes instance.

2011-02-08 Thread Curiouslearn
Thanks very much Paul. This worked great. I wonder then what edgecolor, linewidth etc. change in case of axes.patch. Thanks again. On Tue, Feb 8, 2011 at 6:22 PM, Paul Ivanov wrote: > Curiouslearn, on 2011-02-08 15:32,  wrote: >> Sorry if the subject line does not use correct termino

[Matplotlib-users] properties of patch of an axes instance.

2011-02-08 Thread Curiouslearn
Sorry if the subject line does not use correct terminology. But the following explains the question I have: Suppose I have the following code: import matplotlib.pyplot as plt fig1 = plt.figure() ax1 = fig1.add_subplot(1,1,1) ax1.scatter(xvalues, yvalues) ax1.axvline(1.3, color='DarkGreen') rect

[Matplotlib-users] Histogram - dots/circle markers

2011-02-08 Thread Curiouslearn
Hello, Matplotlib is so cool. I wish I had spent time learning it earlier. Better late than never. Thanks so much to all who have worked on developing it. I had a question on histograms. Instead of the bars in case of histograms, is there a way to get circle markers, where each marker represents