[Matplotlib-users] Peter S. Shenkin and Leila Tai Shenkin have moved!

2017-07-09 Thread Peter S . Shenkin
New contact information for Peter & Leila Shenkin and Leila Tai Jewelry Design Changed: Address: We have moved from Manhattan to Forest Hills. Home telephone (land line): 347-454-9162 (replaces 212-757-2210) Unchanged: Cell phones: Peter: 646

[Matplotlib-users] Back When Gas Was 30¢ A Gallon

2017-07-09 Thread Peter S . Shenkin
You may have received this story previously. If so, please excuse the duplication. -P Back When Gas Was 30¢ A Gallon Peter S. Shenkin Back when gas was 30¢ a gallon, And love was only 60¢ away Thus sang Tom T. Hall. I can’t say this story is exactly about that, but it took place exactly

Re: [Matplotlib-users] plot isnt plotting anymore, error in code?

2015-07-09 Thread peter
On 07/09/2015 06:40 PM, peter wrote: hi, my code was working fine, but now i cant figure out what went wrong. any ideas? the code is supposed to plot a timeseries which it does and overlay it with another that is partially defined the input file is contructed like this: the first line is

[Matplotlib-users] plot isnt plotting anymore, error in code?

2015-07-09 Thread peter
hi, my code was working fine, but now i cant figure out what went wrong. any ideas? the code is supposed to plot a timeseries which it does and overlay it with another that is partially defined the input file is contructed like this: the first line is just for information purposes. after that:

[Matplotlib-users] Using blit=True in matplotlib.animation

2015-05-30 Thread Peter Rowat
I’m on OS X, trying to write a multi-slider-controlled animation. If I have blit=True in the call to matplotlib.animation, I get this message matplotlib.animation.BackendError: The current backend is 'MacOSX' and may go into an infinite loop with blit turned on. Either turn off blit or use an al

[Matplotlib-users] plotting two graphs, overlay not defined for all x

2015-05-30 Thread peter
hi, ive got a graph which should be overlayed with something, but the overlay graph isnt defined for all x values. for example, overlay goes from x=1 to 1=10, then pauses for 100 and then continues with 10 values. how do you do that? greetings ---

[Matplotlib-users] How to place an image colorbar next to the image when there are several subplots ?

2015-02-19 Thread Peter Rowat
nearest') ax1.set_title("Dummy title") # Add colorbar # cbar = fig.colorbar(cax) # this places the colorbar next to the third subplot plt.colorbar(cax) # so does this ax1.set_ylabel('mV') ax2.plot(emtrate, emrate, '.r') ax3.plot(t

Re: [Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Peter Kerpedjiev
and libraries. It turns out I had been trying to implement the marching cubes algorithm myself for the better part of the last week. Oops! Thanks again to the both of you!! -Peter On 11/1/14, 8:34 PM, Benjamin Root wrote: Jerzy, Actually, my response is still completely valid. You

[Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Peter Kerpedjiev
ng a sphere can be done using spherical coordinates, but that defeats the purpose of this example :) This is just a simplification as the application is actually to draw 3D contours (i.e. shapes, rather than iso-lines) of a three-parameter probability distribution. Tha

Re: [Matplotlib-users] How to undo Zoom to Rectangle?

2014-04-28 Thread Peter Shenkin
Beautiful. Thanks much -P. On Mon, Apr 28, 2014 at 7:21 PM, Paul Ivanov wrote: > Peter Shenkin, on 2014-04-28 19:17, wrote: > > I am using the Zoom button that appears next to the Pan button. > > Click the House/Home button that is all the way to the left of > the

[Matplotlib-users] How to undo Zoom to Rectangle?

2014-04-28 Thread Peter Shenkin
Hi, After using the Zoom to Rectangle control, how do I undo the operation to restore the original view? I am using the Zoom button that appears next to the Pan button. We're using matplotlib-1.2.1-py2.7-macosx-10.5-x86_64. Thanks, -P. ---

[Matplotlib-users] savefig - legend only

2014-01-31 Thread Peter Van Wieren
I would like to ask if there is a way to print only the legend box of a figure.  The motiviation for wanting to do this is a work around to the problem of having the legend box obscuring data without resorting to "outside" placement of the legend.   The idea here is that matplotlib would pr

[Matplotlib-users] Setting default labelpad

2013-10-28 Thread Peter St. John
csetup.py, I added the line (at 578): 'axes.labelpad' :[5.0, validate_float], This lets you put axes.labelpad : 3 for instance, in your matplotlibrc to change the default label padding. Anyways, not sure if this is the right mailing list for this type of thing, but just thought I&

Re: [Matplotlib-users] Graph animation performance

2013-08-26 Thread Peter Zimmer
Hello, I set the x data only once now. It is a little bit faster (about 10%). I'm still looking for a solution which only redraws the line and not the whole widget. Peter Am 25.08.2013 15:00, schrieb Skip Montanaro: >> def updateGraph(self,data): >> dat

[Matplotlib-users] Graph animation performance

2013-08-25 Thread Peter Zimmer
the performance? I embedded the figure in GTK. I looked to animation examples but every example there is a loop. So I don't know how to use this class for my problem. Peter -- Introducing Performance Central, a new

Re: [Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Peter Bloomfield
On 08/23/2013 11:31 AM, Benjamin Root wrote: On Fri, Aug 23, 2013 at 11:21 AM, Peter Bloomfield mailto:peter.bloomfi...@camhpet.ca>> wrote: On 08/23/2013 10:43 AM, Benjamin Root wrote: On Fri, Aug 23, 2013 at 9:57 AM, Peter Bloomfield mailto:peter.bloomfi...@camh

Re: [Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Peter Bloomfield
On 08/23/2013 10:43 AM, Benjamin Root wrote: On Fri, Aug 23, 2013 at 9:57 AM, Peter Bloomfield mailto:peter.bloomfi...@camhpet.ca>> wrote: Good morning, I am running openSuSE 12.2, and this morning I upgraded matplotlib to v1.3, and now I am having a problem with su

[Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Peter Bloomfield
7; text at the bottom of the figure the 'Study# : ' string is at the top. So the problem is in the string construct in the first example. Does anybody know of a way to get around this? Thanks in advance Peter -

[Matplotlib-users] Problems with rasterizing multiple elements

2012-08-21 Thread Peter St. John
to a single layer, so the pdf size would be greatly reduced? Thanks, --Peter -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and h

[Matplotlib-users] FancyBBox set_width

2012-08-18 Thread Peter Combs
Hi all, I'm trying to have a Text object with a fancy box, as in this example: http://matplotlib.sourceforge.net/mpl_examples/pylab_examples/fancybox_demo2.py. However, the key difference is that I want to have the box (in my case, I'm interested in an RArrow) be a specified width (in units of the

Re: [Matplotlib-users] Pgf Backend with Xelatex support

2012-06-27 Thread Peter Würtz
Andreas Hilboll wrote: > >> I wrote a new backend that uses the "pgf" latex package for drawing >> matplotlib figures. It is compatible with pdflatex, xelatex and lualatex. >> The pgf pictures can be included in latex documents or can be directly >> compiled to PDF by the backend, utilizing the

Re: [Matplotlib-users] Pgf Backend with Xelatex support

2012-06-26 Thread Peter Würtz
efiring wrote: > > Not so--the non-interactive backends like svg and pdf do not do anything > upon show(), so it sounds like nothing needs to be added to your pgf > backend on this score. > Hmm right, when explicitly changing to non gui backends like "ps" or "pdf" the show command is ignored

[Matplotlib-users] Pgf Backend with Xelatex support

2012-06-26 Thread Peter Würtz
Hi, When creating figures to be included in Latex documents I encountered a few problems. In the end the text rendering just doesn't blend in well, one way or another. I found that the problems can be fixed by using Xelatex, which provides full unicode support and is able to use the installed fon

Re: [Matplotlib-users] Duplicate Ticks

2012-06-14 Thread Peter Würtz
Benjamin Root-2 wrote: > > On Wed, Jun 13, 2012 at 10:46 AM, Peter Würtz > wrote: > >> import matplotlib >> import pylab as p >> >> p.plot([1,2,3]) >> p.xticks([1],["tick"]) >> ax = p.gca() >> fig = p.gcf() >>

[Matplotlib-users] Duplicate Ticks

2012-06-14 Thread Peter Würtz
Hello, I'm searching for a way to extract all text elements from a matplotlib figure including their positions, styles, alignments etc. I first tried to write a custom backend and to fetch all the texts from the "draw_text()" method of the renderer. In contrast to the documentation "draw_text()" d

Re: [Matplotlib-users] Duplicate Ticks

2012-06-13 Thread Peter Würtz
I'm sorry, there seems to be a mess. Nabble told me that this mail to the list was not accepted for unknown reasons so I deleted it. Here is the example I was talking about in the previous mail: import matplotlib import pylab as p p.plot([1,2,3]) p.xticks([1],["tick"]) ax = p.gca() fig = p.gcf()

[Matplotlib-users] Duplicate Ticks

2012-06-13 Thread Peter Würtz
Hello, I'm searching for a way to extract all text elements from a matplotlib figure including their positions, styles, alignments etc. I first tried to write a custom backend and to fetch all the texts from the "draw_text()" method of the renderer. In contrast to the documentation "draw_text()"

Re: [Matplotlib-users] Matplotlib in Latex documents

2012-04-25 Thread Peter Würtz
On 04/25/2012 04:06 PM, Alejandro Weinstein wrote: > I use the following setup (under Ubuntu, in case that matters): > > params = {'backend': 'Agg', >'ps.usedistiller' : 'xpdf', >'text.usetex' : True, >'font.family': 'serif', >'font.serif' : ['Times']

[Matplotlib-users] Matplotlib in Latex documents

2012-04-25 Thread Peter Würtz
Hi, I'm having trouble when creating plots for use in latex documents. I tried several methods, but the fonts are always inconsistent in size and weight. I thought the "text.usetex" option to provide a result closest to the latex document I want to include the plots in, but this minimal example s

Re: [Matplotlib-users] Google Summer of Code

2012-03-01 Thread Peter Cock
gspot.com/2011/10/thoughts-on-porting-numpy-to-pypy.html I suggest reading the PyPy and NumPy mailing list archives for more about this. Peter -- Virtualization & Cloud Management Using Capacity Planning Cloud computin

Re: [Matplotlib-users] Incorrect latex rendering for \hat{x} and \vec{x}

2011-12-15 Thread Peter Liebetraut
Hi Latex rendering looks OK here. > In [9]: matplotlib.__version__ > Out[9]: '1.0.0' However, synaptic tells me: 1.0.1-rc1-1ubuntu5. System Ubuntu 10.10 with ppa (http://ppa.launchpad.net/bgamari/matplotlib-unofficial/ubuntu) for matplotlib 1.0.1. Best, Peter Am 07.12.201

[Matplotlib-users] Matplotlib freezing in Save menu

2011-08-02 Thread Peter DeVore
clicking in the Explorer. Overall, not a big deal, since I can perform any file operations necessary outside the little popup window, but this is still not correct functionality. Thank you all, -- Peter DeVore

[Matplotlib-users] [basemap] ValueError: 'hammer' is an unsupported projection.

2011-01-30 Thread Peter Smale
Hi, I am using Basemap 1.0 and matplotlib 1.0 on Ubuntu 10.10. I would like to use the Hammer projection from the Basemap toolkit but when I use m = Basemap(resolution='c',projection='hammer',lon_0=180) I get an error (shown below). Does anyone know where the Hammer has

Re: [Matplotlib-users] Limit legend to visible data

2011-01-30 Thread Peter Butterworth
ts.append(line_label) if label_objs: return ax.legend(label_objs, label_texts, **kwargs) elif ax.get_legend(): ax.get_legend().set_visible(False) -- thanks, peter butterworth -- Special Offer-- Down

[Matplotlib-users] (no subject)

2011-01-25 Thread Peter Smale
ll break my lovely matplotlib again. This might be more of a macports question, but I'm interested to hear of others' experiences with matplotlib on mac OS X 10.6 anyway. Cheers, Peter -- Special Offer-- Download Ar

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-11 Thread Peter Butterworth
separate server process and allows accessing the database using a nonstandard variant of the SQL query language. On Sun, Oct 10, 2010 at 12:56 PM, Peter Butterworth wrote: > Hi, > > > To load csv data, I use a modified version of csv2rec for which the > data type of each colu

[Matplotlib-users] Annotation Toolbar

2010-10-11 Thread Peter Butterworth
nce.telenczuk.pl -- thanks, peter butterworth -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code an

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-10 Thread Peter Butterworth
ives a lot of troubles with numbers. Sqlite is fast and data are secure. The power of this system is that you can query your data and plot what you need for example. I can share with you my script to import from csv to sqlite if you want. -- thanks, peter butte

Re: [Matplotlib-users] Permission error after installing MPL 1.0 on Mac

2010-09-22 Thread Peter Hoekje
something like -rw-r--r-- Also, I looked into why I couldn't chmod; apparently our "labadmin" account wasn't given permission to chmod or chown anybody else's files, so I need to talk to our IT guy about that. peter Ben wrote: >This might actually be the closest explanati

Re: [Matplotlib-users] Permission error after installing MPL 1.0 on Mac

2010-09-22 Thread Peter Hoekje
;macadmin", and labadmin isn't able to chmod or chown them. Otherwise, it would have been an easy problem to solve. I just checked the bug tracker and didn't see this error listed. peter >2010/9/15 tom : > >> Jeremy Conlin writes: >>> I recently inst

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread Peter Butterworth
On Thu, Apr 15, 2010 at 5:16 AM, Peter Butterworth wrote: > matlab colors seem to follow html : > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colorspec.html for c, m, y but not for green, where matplotlib does follo

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread Peter Butterworth
etter than the html versions. It makes sense to me for the single-letter > colors to be chosen for good visibility and contrast in actual use, not for > consistency with the html names. In fact, I see no good argument for > consistency in this case. > > Eric > > >> >

[Matplotlib-users] matplotlib colors vs html colors

2010-04-11 Thread Peter Butterworth
sorry if this has been covered before, but I must say I've found the following quite confusing : color="cyan" is not in fact equivalent to color='c' in colors.py : Commands which take color arguments can use several formats to specify the colors. For the basic builtin colors, you can use a sin

[Matplotlib-users] getting legend loc

2010-04-08 Thread Peter Butterworth
Hi, I'm having trouble getting some properties that are easily set : leg=legend(loc=0) is there a way to retrieve the legend location ? In a similar vein : axis('scaled') is there a way to retrieve the "scaled" property ? If no methods/properties are available in the default API is it possible

Re: [Matplotlib-users] toolbar

2010-03-28 Thread Peter Butterworth
ARKERS LINESTYLES are sorted. 'steps' removed from linestyles On Sun, Mar 21, 2010 at 5:22 AM, Peter Butterworth wrote: > Correction: '0.99.3rc1' does not include the qt4_editor code, so you > do need to get

Re: [Matplotlib-users] cxfreeze

2010-03-23 Thread Peter Bloomfield
version = "0.1", description = "Sample matplotlib script", executables = executables) Peter On Friday 19 March 2010, Michael Droettboom wrote: > I have no experience with cx_freeze, but the page on packaging > matplotlib with py2

Re: [Matplotlib-users] toolbar

2010-03-20 Thread Peter Butterworth
Correction: '0.99.3rc1' does not include the qt4_editor code, so you do need to get the source files from svn. The feature is a nice addition to matplotlib.. On Sun, Mar 21, 2010 at 1:53 AM, Gökhan Sever wrote: > > > On Sat, Mar 20, 2010 at 7:43 PM, wrote: >> >> I'm using the recent '0.99.3rc1

[Matplotlib-users] cxfreeze

2010-03-19 Thread Peter Bloomfield
ython setup.py build' In both cases I get an executable, but when executed I get the following error RuntimeError: Could not find the matplotlib data files The version of matplotlib I am running is 0.99.1.1 and Python

[Matplotlib-users] numpy loadtxt and comments

2009-12-03 Thread Peter I. Hansen
Hi All Not really about matplotlib, but since the load() function was removed it seems we have to use numpy.loadtxt in stead. I'm reading some datafiles that have comment line beginning with both '#' and '@'. Is there a way to assign two different values to the 'com

[Matplotlib-users] question about explicit tick labels

2009-11-28 Thread Peter Williams
Hi All, I'm trying to create a set of strip charts so that I can see the relationships between a large number of time series. I'd like to label the y-axis with a name on the left side and a value/percentile on the right hand side. I can get the names on the left axis, and it looks very nice (

Re: [Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread Peter McGregor
>state, etc I see how the states are handled in NavigationToolbar2. But this would require that I rewrite the complete event handler. Or how do I tell the NavigationToolbar2 "You are now in pan state. Wait for the next mouse button press and then start panning the window

[Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread Peter McGregor
except for the UI integration. Please guide us in the right direction Peter -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and depl

Re: [Matplotlib-users] Hiding data via legend

2009-10-04 Thread Peter Butterworth
ker(5) else : line.set_picker(None) I've attached my line + legend picker example, in case it is of any use to anybody. On Mon, Sep 28, 2009 at 3:43 AM, John Hunter wrote: > On Sun, Sep 27, 2009 at 3:45 PM, Peter Butterworth wrote: >> On Sun, Sep 27, 2009 at 9:31 PM,

Re: [Matplotlib-users] Hiding data via legend

2009-09-27 Thread Peter Butterworth
On Sun, Sep 27, 2009 at 9:31 PM, Jae-Joon Lee wrote: >> Some feedback: If plotting a line2D as discrete points rather than a >> continuous line, you must use numpoints=2 for the legend picking to actually >> occur on the points. The alpha blending doesn't work on the legend symbols >> however. >>

[Matplotlib-users] yaxis labels on both sides

2009-08-27 Thread Peter Saffrey
Some of my plots are very wide. I'd like Y axis labels on both sides so that it's clearer to read the bars towards the right hand side. I can change the ticks with yaxis.set_ticks_position("both") but there doesn't seem to be a similar call for labels. A

[Matplotlib-users] Savefig bug with Patches

2009-08-24 Thread Peter-Jan Randewijk
t) ax.add_patch(inner_S_magnet) ax.add_patch(outer_N_magnet) plt.savefig('Bmag-savefig.png') plt.show() Kind regards, Peter-Jan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simp

[Matplotlib-users] imshow: large eps-files

2009-04-17 Thread Peter Pippan
not a factor of about 60. Best regards, Peter -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 200

Re: [Matplotlib-users] encoding 2 variables with hue / intensity

2009-03-03 Thread Peter Skomoroch
onsider it for inclusion in matplotlib. > > Cheers, > Mike > > Peter Skomoroch wrote: > >> Is there any way to encode 2 variables in a matplotlib colormap? The idea >> is to replicate this dataspora R scatterplot in matplotlib: >> >> http://www.dataspora.com/g

[Matplotlib-users] encoding 2 variables with hue / intensity

2009-03-02 Thread Peter Skomoroch
pitch velocity -- while the lightness or darkness of the hue indicates how many pitches were thrown in a given region. " -- Peter N. Skomoroch 617.285.8348 http://www.datawrangling.com http://delicious.com/pskomoroch http://twitter.com/pet

Re: [Matplotlib-users] Running matplotlib

2009-01-27 Thread Peter Bloomfield
b/python2.6/site-packages/matplotlib/transforms.py", line 34, > in ImportError: No module named _path I have resolved it. The problem was the protection on the .so files. They were installed with -rwxrwx--- which I changed to -rwxrwxrwx. I can now plot. Peter

[Matplotlib-users] Running matplotlib

2009-01-27 Thread Peter Bloomfield
b/artist.py", line 5, in File "/usr/local/lib/python2.6/site-packages/matplotlib/transforms.py", line 34, in ImportError: No module named _path Any suggestions will be greatly appreciated, thanks Peter

[Matplotlib-users] Legend over plot lines

2008-09-26 Thread Peter Saffrey
t. Cheers, Peter - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open So

[Matplotlib-users] Multiple sub-plot goes off the top of the page

2008-09-25 Thread Peter Saffrey
], [ 'M', 'N', 'O', 'P', 'Q' ] ] f = figure(1) for i in range(len(groups)): group = groups[i] subplot(len(groups), 1, i) for treatment in group: plot(linspace(0, 1, 32), rand(32)) show() Than

[Matplotlib-users] Interactive animation

2008-09-11 Thread Peter Saffrey
ch an event listener to the plot in anim.py so I can start and stop it with a mouse or key event. Can anybody point me in the right direction? Thanks, Peter - This SF.Net email is sponsored by the Moblin Your Move Develop

Re: [Matplotlib-users] Contour/Contourf Plot Heatmap - Grid - Multiple Items

2008-08-08 Thread peter websdell
try this: list = numpy.array([0.66877509, 0.58785363, 0.32387598, 0.16877509, 0.48785363, 0.22387598, 0.96877509, 0.18785363, 0.52387598]) Pete 2008/8/8 stuartornum <[EMAIL PROTECTED]> > > Thanks again Pete for your help. > > I have numpy imported, and here is what my code looks like: > > #

Re: [Matplotlib-users] Contour/Contourf Plot Heatmap - Grid - Multiple Items

2008-08-08 Thread peter websdell
rand() produces a numpy array, so long as numpy is imported into the namespace. I was simply using the random numbers as example data. In your case you would take your 1x100 vector of heat data and re-shape it to a 10x10 array. data=data.reshape(10,10) Pete 2008/8/8 stuartornum <[EMAIL PROTEC

Re: [Matplotlib-users] Contour/Contourf Plot Heatmap - Grid - Multiple Items

2008-08-07 Thread peter websdell
Someone more knowlegeable than me may corrct me here, but the code for getting your data into a grid could be greatly simplified to: X = array([0,1,2,3,4,5,6,7,8,9,]) Y = array([0,1,2,3,4,5,6,7,8,9,]) Z = ListValues.reshape(10,10) than you could use something like imshow() to show the data withou

Re: [Matplotlib-users] Filled contour transparency issue

2008-08-06 Thread peter websdell
No michael, that is what I was suggesting. Shame it doesn't work. I'm looking at using Enthoughts Chaco to do it. It's takes a bit more to get it doing what I want though, and I don't know if it does alpha transparency at all. Thanks for your help. Pete 2008/8/6 Michael Droettboom <[EMAIL PROTE

[Matplotlib-users] Help with converting from scilab

2008-07-25 Thread Peter Wesbdell
Hello all, my first post here. I am moving from using scilab to Pylab, can anyone tell me why the two following snippets of code produce very different results? BTW. The scilab code produces the expected result. Scilab: Lx=1; Ly=1; n=2; m=2; f=100; w=2*%pi*f; t=1; A=2; Kx=n*%pi/Lx; Ky=m*%pi/Ly;

[Matplotlib-users] Newbie installation question

2008-07-13 Thread Peter Selkin
ich might not be built for Intel Macs... is that right? Is that actually what's causing the build to fail? I'm totally stuck, and would appreciate any advice. -P -- Peter A. Selkin Assistant Professor, Environmental Geophysics IAS/Environmental Science University of

Re: [Matplotlib-users] Posting to Numpy and Scipy

2008-06-17 Thread Peter Wang
moderator approval" message, but since we get so inundated with spam, none of the admins really go through the "pending approval" queue... -Peter - Check out the new SourceForge.net Marketplace. It's

Re: [Matplotlib-users] problems in Inkscape with SVG exported from matplotlib

2008-03-26 Thread Peter I. Hansen
ad in Inkscape just fine. > > However, when I copy one figure and paste it into the other, the pasted > figure's labels and text become garbled. A trick that works for me is to produce eps files with matplotlib, import them in scribus, and then export them to svg. Then they seem to be ni

Re: [Matplotlib-users] LaTeX preamble & Verbose errors in 0.91.1

2007-12-18 Thread Peter-Jan Randewijk
Darren, Thanks for the quick reply... It works like a charm... Somehow I missed the post in the userslist... Kind regards, Peter-Jan Op 2007/12/18 17:25, het Darren Dale die volgende geskryf: > Somebody reported it right after 0.91.1 was released. It has been fixed in > svn. To ho

Re: [Matplotlib-users] LaTeX preamble & Verbose errors in 0.91.1

2007-12-18 Thread Peter-Jan Randewijk
sage w.r.t. to "verbose" which isn't critical but annoying... Kind regards, Peter-Jan Op 2007/05/18 18:05, het Alexander Schmolck die volgende geskryf: Darren Dale <[EMAIL PROTECTED]> writes: Well, if ever there was a compelling use-case for an undocumented/unsupporte

Re: [Matplotlib-users] printing quality

2007-11-30 Thread Peter I. Hansen
On Nov 30, 2007 4:58 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Peter I. Hansen wrote: > > Hi > > > > I'm typestting some graphs including a few axvspan's with eg. a > > facecolor='0.6' . This looks very nice if I output a PNG, bu

[Matplotlib-users] printing quality

2007-11-30 Thread Peter I. Hansen
but the colored fields of axvspan prints as a coarse raster color. Is there a best way of optimizing print quality? -Peter - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to

[Matplotlib-users] Alter PNG bit depth in backend-agg

2007-10-28 Thread Peter Butler
ion-4.1 but there isn't a lot of detail about how to set up palettes, etc. Does anyone have any advice for me on how to get this working? Cheers Peter - This SF.net email is sponsored by: Splunk Inc. Still grepping thr

Re: [Matplotlib-users] Fitting a curve

2007-08-30 Thread Peter I. Hansen
On 8/30/07, Wolfgang Kerzendorf <[EMAIL PROTECTED]> wrote: > I know this is not completely matplotlib related but perhaps you can > help me none the less: > I want to fit a curve to a set of data. It's a very easy curve: y=ax+b. > But I want errors for a and b and not only the rms. Is that possible

[Matplotlib-users] plot autorange

2007-08-16 Thread Peter Würtz
ging the x/y range manually? So far, I did some kind of workaround: (xmin,xmax) = p.xlim() xw = xmax - xmin p.xlim(xmin - xw*0.05, xmax + xw*0.05) Is there a better way than this? Thanks, Peter - This SF.net email is sp

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Peter Würtz
the "pdftops" utility included in "poppler-utils". Well, thanks again! - Peter - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log even

[Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Peter Würtz
re: http://www.staff.uni-mainz.de/wuertz/matplotlib/ There is also a png file with a screenshot from the "ugly" and missing ticks. Plotting a reasonable figure seems to be hard, is there any chance of solving this problem? Thanks in advance, Peter

Re: [Matplotlib-users] plotting a contour of gridded data

2007-07-10 Thread Peter I. Hansen
On 7/11/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Peter I. Hansen wrote: > > Hello > > > > I have gridded data of the shape: > > > > x_1 y_1 z_1 > > x_1 y_2 z_2 > > . . . > > x_1 y_N z_N > > > > x_2 y_1 z_(N+1) >

[Matplotlib-users] plotting a contour of gridded data

2007-07-10 Thread Peter I. Hansen
nge(M numbers) y = arange(N numbers) X,Y = meshgrid(x,y) M = load('zdata.dat') Z = reshape(M, (M,N)) figure() CS = contour(X,Y,Z) But I get errors that x and y are not 1D or 2D... Can someone help me to do this right

[Matplotlib-users] attempting to build matplotlib on cygwin

2007-06-18 Thread Peter Harris
Hello everybody, I am going through a real epic trying to build matplotlib on cygwin. Here is my environment: freetype-2.3.2 matplotlib-0.90.0 numpy-1.0.2 python-2.5-1 rebase 2.4.3-1 gcc-3.4.4-3 cygwin_NT-5.1 Here is what I tried to do: $ python setup.py build running build running build_py run

[Matplotlib-users] subplot overlay problem

2007-03-29 Thread Peter Melchior
://www.ita.uni-heidelberg.de/~pmelchior/subplot_overlay.png If I leave out the line "hold(True)", which could also read "hold(False)", the underlying plot disappears. Is there a way to avoid that? Or: Is there a preferred position for the "hold" command?

Re: [Matplotlib-users] Removing the black border around a plot?

2007-03-17 Thread Peter Buschman
sFrame, set it to the color I wanted, and set the inner frame to be invisible. Results are attached.* --PLB At 17:54 15.3.2007, Peter Buschman wrote: Okay, removing the frame turns out to work like this. ax=gca() setp(ax, frame_on=False) ... but changing the complete color still st

Re: [Matplotlib-users] Removing the black border around a plot?

2007-03-15 Thread Peter Buschman
x27;yellow' frame = ax.get_frame() setp(frame, 'edgecolor', axis_edgecolor) Confused... --PLB At 16:58 15.3.2007, Peter Buschman wrote: This is driving me crazy I've tried setting the axes' frame's edgecolor but nothing I try lets me get rid of or change the

Re: [Matplotlib-users] Setting color of both major and minor gridlines?

2007-03-15 Thread Peter Buschman
tick % major_multiple == 0: xmajorticks.append(tick) elif tick % minor_multiple == 0: xminorticks.append(tick) ax.xaxis.set_major_locator(FixedLocator(xmajorticks)) ax.xaxis.set_minor_locator(FixedLocator(xminorticks)) At 15:14 14.3.2007, Peter Buschman

[Matplotlib-users] No undershoot in hist

2007-03-15 Thread Peter Melchior
,bins) show() The last bin has two counts since it contains the entries 22 and 23 from data, but the first bin has only one count, although it should carry the entries 0,1,2. Is this intended? Best regards, Peter Melchior -

[Matplotlib-users] histograms and masked arrays

2007-03-14 Thread Peter Melchior
re histograms not (yet) suited for handling masked arrays? Best regards, Peter Melchior - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to sha

[Matplotlib-users] Setting color of both major and minor gridlines?

2007-03-14 Thread Peter Buschman
Hello: I am trying to set different colors for both major and minor gridlines. In essence, I want the major gridlines to be slightly darker than the minor ones. However, using the syntax below, I can only seem to set the properties of one of the sets of gridlines at a time. If I comment out

[Matplotlib-users] Setting the axes border color?

2007-03-13 Thread Peter Buschman
ax=gca() frame = ax.get_frame() setp(frame, 'linewidth', 1) setp(frame, 'edgecolor', 'blue') Best regards, Peter Buschman - Take Surveys. Earn Cash. Influence the Future of IT Join So

[Matplotlib-users] problems installing

2007-01-22 Thread Peter J. Bismuti
HI, I'm getting an error message when I try to install. Can anyone give me some help please? Thanks in advance. -bash-3.00$ uname -a Linux skagit 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 17:57:31 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux -bash-3.00$ python Python 2.3.4 (#1, Sep 26 2006, 17:25:54)

[Matplotlib-users] strange numerix default issue

2006-11-17 Thread Peter Bienstman
7; statement, then my old version numeric gets picked up. I assume this is a bug? Peter pgpfU3mBv8SQx.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay p

[Matplotlib-users] (no subject)

2006-10-02 Thread Peter Zhu
Hi, All,   I am doing some plotting and I want to do some format change to my tick. Here is what I want:   Origin ticks: 0.0    1.0    2.0    3.0    4.0    5.0 Ticks I want:  0.0mV   1000mv    2000mV   3000mV   4000mV   5000mV

[Matplotlib-users] numpy1.0rc and matplotlib-0.87.5

2006-09-22 Thread Peter Bienstman
lib/numerix/__init__.py", line 74, in ? Matrix = matrix NameError: name 'matrix' is not defined This is on an AMD64 platform. I tried removing the build directories of both packages, and reinstalling, but that didn't work. Am I missing something? Thanks! Peter -