Re: [Matplotlib-users] Patch rotation and placement in normalised coords

2007-05-19 Thread Jouni K Seppanen
"Paul Smith" <[EMAIL PROTECTED]> writes: > I've been looking around for any info how one might go about > rotating patches, such as Rectangles, by a user supplied angle. The > transform module/affine class mention this but I'm struggling with > how to actually use them this way (LazyValues?) and h

Re: [Matplotlib-users] X-axis label tickmarks - number formatting

2006-10-10 Thread Jouni K Seppanen
"Derek Hohls" <[EMAIL PROTECTED]> writes: > ie. 0.2 0.4 0.6... followed by a rather large and ugly-looking > x1e+4 > Is there is a simple way to avoid exponential notation? Try using a FormatStrFormatter with a suitable format string: from matplotlib.ticker import FormatStrFormatter ax=gc

Re: [Matplotlib-users] line styles with hollow circles?

2006-09-28 Thread Jouni K Seppanen
Stefan van der Walt <[EMAIL PROTECTED]> writes: > plot(x,y,'o',markerfacecolor='w') This makes circles filled with white. If you want circles that don't obscure whatever is behind them, use markerfacecolor=None. -- Jouni

Re: [Matplotlib-users] how can I disable ygrid?

2006-09-14 Thread Jouni K Seppanen
Volker Lorrmann <[EMAIL PROTECTED]> writes: > how can i tell matplotlib to only show the xgrid (grid without y -lines setp(gca().get_ygridlines(), visible=False) -- Jouni - Using Tomcat but need to do more? Need to suppo

Re: [Matplotlib-users] Getting started with bar charts

2006-08-21 Thread Jouni K Seppanen
"Derek Hohls" <[EMAIL PROTECTED]> writes: > In [9]: ax.set_xlim()? > I get > Object `ax.set_xlim()` not found. You need to do ax.set_xlim? without the parentheses. > You suggested: > "The list you want is precisely the output of the getp command." > But for the getp? , I get: I meant the o

Re: [Matplotlib-users] Getting started with bar charts

2006-08-21 Thread Jouni K Seppanen
"Derek Hohls" <[EMAIL PROTECTED]> writes: > It appears the manual (which I assume might be able to help me) is not > "downloadable". The link : > http://matplotlib.sourceforge.net/users_guide_0.87.1.pdf For some reason, downloading this file fails quite often. Perhaps it should be distributed u

Re: [Matplotlib-users] Agg backend writing to StringIO?

2006-08-15 Thread Jouni K Seppanen
Nelson Minar <[EMAIL PROTECTED]> writes: > matplotlib is great, particularly the image quality. I'm using > matplotlib to generate images in a webapp and have run into a problem. > How do I get it to give me the rendered image bytes in a string rather > than writing the image to a file? FigureCa

Re: [Matplotlib-users] Font error

2006-08-04 Thread Jouni K Seppanen
João Fonseca <[EMAIL PROTECTED]> writes: > RuntimeError: Could not load facefile /System/Library/Fonts/ > LucidaGrande.dfont; Unknown_File_Format. I don't think there is a > problem with the font file, I checked this with Font Book and > everything is ok. Apparently matplotlib doesn't unders

Re: [Matplotlib-users] bug in saving figure with dashed lines

2006-08-01 Thread Jouni K Seppanen
Eric Emsellem <[EMAIL PROTECTED]> writes: > But when saving it in a postscript the dashed line looks solid on most > of the plot. > This happens if there are too many points in the line: The draw_lines method in the PS backend divides the line into subsequences of at most 50 points, and calls the

Re: [Matplotlib-users] Centering Tick Labels BETWEEN Tick Marks

2006-07-31 Thread Jouni K Seppanen
"Alexander Michael" <[EMAIL PROTECTED]> writes: > I would like to create a plot axis with major tick labels centered > *between* major tick markers instead below tick markers. Take a look at http://thread.gmane.org/gmane.comp.python.matplotlib.general/5271 http://thread.gmane.org/gmane.comp.pyth

Re: [Matplotlib-users] Pixel placement of text

2006-07-29 Thread Jouni K Seppanen
[I'm Cc:ing people since the mailing list forwarder seems to be working really slowly.] Hi Bill, > You can even throw all the magic into one function like this: > > def const_offset(x,y): [...] > > And then just add a transform=const_offset(x,y) parameter wherever > you want one. This will

Re: [Matplotlib-users] Legend, Axis-Title and umlaut and special characters

2006-07-29 Thread Jouni K Seppanen
Till Wagner <[EMAIL PROTECTED]> writes: > The program should be localized to german, frensh, italian and > spanish, so the names can include some umlauts and special > characters (like ä, ü, ö, ß, ß, é and so on). In my program it works > well, but in the matplotlib-graphs are only squares where t

Re: [Matplotlib-users] Centering an image

2006-07-28 Thread Jouni K Seppanen
"Michael Schwager" <[EMAIL PROTECTED]> writes: > In fact, I'd like to control its x and y offset because it's a > really large image and I only have letter or 11x17 size paper, so > I'd like to print it out in panels. Perhaps this is better done by postprocessing the ps file with a suitable utili

Re: [Matplotlib-users] Pixel placement of text

2006-07-28 Thread Jouni K Seppanen
"Bill Baxter" <[EMAIL PROTECTED]> writes: > I want to draw some labels with plot.text() and have them appear a > given number of pixels (or mm, or points) to above and to the right of > the data points they are describing. Is there some way to specify a > screen offset from a point in graph coor

Re: [Matplotlib-users] Weird resizing issue

2006-07-24 Thread Jouni K Seppanen
Tommy Grav <[EMAIL PROTECTED]> writes: > The window resizes horisontally when the pointer is inside the > window, although the window behaves erratically as it resizes. > Moving the pointer to the right will cause the window to grow then > reduce size as you go further right. Is this related to

Re: [Matplotlib-users] tex-text problem

2006-06-27 Thread Jouni K Seppanen
Darren Dale <[EMAIL PROTECTED]> writes: > The problem is that on windows, the TEMP environment variable is > something like 'C:\\Documents and Settings\\Darren\\Local > Settings\\Temp' or 'C:\\DOCUME~1\\Darren\\LOCALS~1\\TEMP', and > \includegraphics is not able to deal with filenames that have sp