Re: [Matplotlib-users] Problem with .png files?

2007-10-08 Thread Bill Dandreta
Michael Droettboom wrote: > Bill Dandreta wrote: >> This info may or may not be useful. If I save a plot with savefig() >> without specifying a figsize, sometimes the figure gets clipped. What >> gets saved is the portion of the image that show() displays. I >> det

Re: [Matplotlib-users] Problem with .png files?

2007-10-08 Thread Bill Dandreta
Wayne E. Harlan wrote: > I would like to follow up on my first response to Bill. It probably > should be a new thread, but I'll start here. When png files are saved > with a DPI=300 argument, and I open them in the Gimp, the dpi is only 72 > (default ?). As I understand it, the dpi setting in

Re: [Matplotlib-users] Problem with .png files?

2007-10-07 Thread Bill Dandreta
Eric Firing wrote: > Bill Dandreta wrote: >> There appears to be a problem with .png files that matplotlib >> creates. Some programs (like GIMP <http://www.gimp.org/> and xv) >> <http://www.trilon.com/xv/> do not identify them as png files and >> cannot displ

Re: [Matplotlib-users] Problem with .png files?

2007-10-07 Thread Bill Dandreta
Wayne E. Harlan wrote: > Bill: > > I do not have that problem using mpl-0.90.1 or svn which I checked out > and installed yesterday. I have gimp-2.2.17 and have no problems > opening them on my linux system or my two XP systems at work. The > issue I do find is that when I specify the DPI in the

[Matplotlib-users] Problem with .png files?

2007-10-07 Thread Bill Dandreta
There appears to be a problem with .png files that matplotlib creates. Some programs (like GIMP and xv) do not identify them as png files and cannot display them. -- Bill [EMAIL PROTECTED] Gentoo Linux X86_64 2.6.20-gentoo-r8 Reclaim Your Inbo

[Matplotlib-users] Bar chart with break?

2007-10-06 Thread Bill Dandreta
I am trying to draw a stacked bar chart where the 1st section is much much larger than the others. Is there a way to have a break in the chart passing through the 1st bar that indicates part of the bar is missing? -- Bill [EMAIL PROTECTED] Gentoo Linux X86_64 2.6.20-gentoo-r8 Reclaim Your Inb

Re: [Matplotlib-users] basic understanding of plotting dates

2007-09-04 Thread Bill Dandreta
>>C M wrote: > 1. What exactly must I import (which modules) and how do I import them > (in the sense of "import x" vs. "from x import y")? > 2. What arguments does the plot_date() command take and what is format > of the arguments? > 3. Do I have to make the conversion from the date format above t

Re: [Matplotlib-users] plots into multi-page pdf

2007-03-10 Thread Bill Dandreta
ghostscript can do it gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=123.pdf 1.pdf 2.pdf 3.pdf Bill [EMAIL PROTECTED] wrote: > Hi list, > > I am using matplotlib to create single page plots and the whole process works > fine. However, when I am done, I end up with lots of single page

[Matplotlib-users] Upgraded mayplotlib won't plot

2006-10-10 Thread Bill Dandreta
I upgraded matplotlib (from 0.84 to 0.87.4 and then 0.87.5) and my scripts that previously worked no longer plot. No error message just won't plot. I tried down grading to 0.84, that no longer plots either. I used the simple_plot.py example for testing. Bill -

[Matplotlib-users] Question about finance.py example.

2006-09-30 Thread Bill Dandreta
In the finance .py example, the plots that use collections have integers plotted on the x-axis. How do you get dates for x-axis labels? Bill - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Tech

Re: [Matplotlib-users] large postscript files

2006-09-06 Thread Bill Dandreta
I cannot help you with making matplotlib create smaller files but sam2p is an image conversion program that creates small files. You might be able to convert your file to make it smaller. Bill [EMAIL PROTECTED] wrote: Hi, The following plot from numarray import

Re: [Matplotlib-users] iregular data set

2006-07-21 Thread Bill Dandreta
Rodrigues, Joseph wrote: > > I have a question (new user here): I have datasets of irregular time > spaced data and am having a problem with Matplot lib. > > I am plotting two datasets: one is continuous time series data (simple > line chart) and the other irregular time series data. > > The proble

Re: [Matplotlib-users] First impression from a new user

2006-06-01 Thread Bill Dandreta
Here's a code snippet I found somewhere that demonstrates the use: def make_datetime(s, fmt='%Y-%m-%d %H:%M'): '''convert string to datetime''' ts = time.mktime(time.strptime(s, fmt)) return datetime.fromtimestamp(ts) Warning, this is very slow, if you need to do a lot of conversions