Re: [Matplotlib-users] tick line formatting

2008-08-27 Thread Mathieu Leplatre
Hi Uri, AFAI, in matplotlibrc you have : ### TICKS # see http://matplotlib.sourceforge.net/matplotlib.axis.html#Ticks #xtick.direction : in # direction: in or out #ytick.direction : in # direction: in or out Hope it helps. Mathieu. On Tue, Aug 26, 2008 at 11:35 PM, Uri Laserso

Re: [Matplotlib-users] set font and color problem

2008-08-27 Thread Mathieu Leplatre
For the colors, I just use : textobj.set_color( #FF ) textobj.set_alpha( 0.5 ) For the fonts, I never noticed there were a limit : textobj.set_fontname( "DejaVu Sans" ) I would be interested in a way to check if the selected font exists on the system or not, because currently no exception i

Re: [Matplotlib-users] axis formatting

2008-08-27 Thread Mathieu Leplatre
Uri, You could look have a look at : gca().xaxis.tick_bottom() gca().yaxis.tick_left() or hide the frame : ax = axes( FrameOne=False ) Hope this helps. On Tue, Aug 26, 2008 at 11:35 PM, Uri Laserson <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to create plots that only have a single x

Re: [Matplotlib-users] set font and color problem

2008-08-27 Thread Michael Droettboom
Mathieu Leplatre wrote: > For the colors, I just use : > > textobj.set_color( #FF ) > textobj.set_alpha( 0.5 ) > Just to point out -- from this you have access to ~16 million colors. > For the fonts, I never noticed there were a limit : > > textobj.set_fontname( "DejaVu Sans" ) > > I would b

[Matplotlib-users] plot_date() - Correct format to plot

2008-08-27 Thread stuartornum
Hi, I would like to be able to plot dates along the X axis' with values up the Y. However Im having problems with the correct format in order to pass to plot_date(). This is what I have so far: (example) List = [ [datetime.datetime(2008, 7, 12, 5, 12)], ['46

Re: [Matplotlib-users] axis formatting

2008-08-27 Thread Jae-Joon Lee
You can suppress the tick marks on the top and right axis as Mathieu suggested. Setting frame_on as False will suppresse both the bounding lines and the white background patch of the axes. You can suppress only the bounding lines by ax = gca() ax.frame.set_visble(False) Note that this will dele

Re: [Matplotlib-users] axis formatting

2008-08-27 Thread Jae-Joon Lee
Hi Uri, What version of matplotlib are you using? I guess the get_frame() method is deprecated (but still available) in the recent version of matplotlib. Instead, frame and patch attributes can be used. I only started looking into the code behind the matplotlib recently so I don't know much abou

Re: [Matplotlib-users] wxmpl incompatibility with matplotlib 0.98.x

2008-08-27 Thread Fernando Perez
Howdy, On Thu, Aug 7, 2008 at 9:55 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I'm not aware of the problem (but I'm not a regular wxmpl user). > > From 0.91 to 0.98, a major refactoring was done to make it easier to > add new kinds of projections. So PolarAxes is no longer a special cas

Re: [Matplotlib-users] wxmpl incompatibility with matplotlib 0.98.x

2008-08-27 Thread Ryan Krauss
I had emailed Ken and he said he intended to fix it. He didn't give me a time line though. Ryan On Wed, Aug 27, 2008 at 9:30 PM, Ryan Krauss <[EMAIL PROTECTED]> wrote: > I had emailed Ken and he said he intended to fix it. He didn't give me a > time line though. > > Ryan > > > On Wed, Aug 27,

[Matplotlib-users] how to make a bar plot with xaxis datatime vals?

2008-08-27 Thread andy yu
i 'm using the way X = load(data1.dat)datalen = X[:, 1]times = X[:, 0] times is UNIX_TIMESTAMP of datetime. data1.dat file like this: 1158224731 18581158225026 19261158225328 19591158225627 20171158225931 20201158226229 21031158226534 2098 the end of the polt like this datal

[Matplotlib-users] (no subject)

2008-08-27 Thread andy yu
Hello, I am trying to construct a plot that is a barchartwith the X-axis being dates. I have used the plot_dates to generated line plots that look great, however, I cannotfigure out a way to do a barchart with dates as theXaxis.Has anyone done one of these ___

[Matplotlib-users] Bar charts with dates as X axis?

2008-08-27 Thread andy yu
Hello, I am trying to construct a plot that is a barchartwith the X-axis being dates. I have used the plot_dates to generated line plots that look great, however, I cannotfigure out a way to do a barchart with dates as theXaxis.Has anyone done one of these ___