Eric Firing wrote:
Short of laboriously putting an image in each bar, no.
That's a shame :-(
So, no gradient filled patches in MPL?
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
Pierre GM wrote:
Could you send me an example of the kind of data you're using ?
It's basically performance and volume data for a high-volume website.
Unfortunately, the data is gappy in places due to data collection errors
in the past...
(it's important the gaps are shown, rather than trying
Eric Firing wrote:
In general, I don't think mpl is threadsafe at all; it uses global
variables, such as all the rc parameters, that could easily be
modified by one thread while being used by another. I think that
great care would be needed if one wanted to have multiple threads
making
I have confirmed that it is a bug in (at least the windows version) of mpl
0.91.2.
When saving eps files, and using mathtext, the cm fonts don't get saved, and
the
greek symbols (and others I presume) don't show up in the eps file.
This works in mpl 0.90.1, where the eps file does store the
Unfortunately, I'm still unable to reproduce the problem myself. Have
you tried installing the CM fonts (copying them to C:\Windows\Fonts)?
Maybe GS is trying to re-embed them and can't find them.
Cheers,
Mike
Mark Bakker wrote:
I have confirmed that it is a bug in (at least the windows
On Wed, Mar 19, 2008 at 7:43 AM, Mark Bakker [EMAIL PROTECTED] wrote:
I have confirmed that it is a bug in (at least the windows version) of mpl
0.91.2.
When saving eps files, and using mathtext, the cm fonts don't get saved, and
the
greek symbols (and others I presume) don't show up in the
Sorry, John, but here is my output, and it still doesn't work.
from pylab import *
rcParams['mathtext.fontset']
'cm'
rcParams['mathtext.fallback_to_cm']
True
rcParams['ps.useafm']
False
rcParams['ps.fonttype']
3
plot([1,2,3])
[matplotlib.lines.Line2D instance at 0x029F0120]
I don't see the character in the plot you sent. So at least that's
consistent. ;)
However, I still can't get things to break locally (on Linux, at least),
with all permutations of ps.fonttype, ps.useafm, ps.distiller, and
mathtext.fontset.
Can you send your entire matplotlibrc file?
All,
Alright I've made some progress here improving upon the example.
(Codes at the bottom). So it looks like I've started a writing a
wrapper class around the plot command that continuously updates it's
data by itself without having to write extra code. To me, using the
subplot
import numpy as np
a = ['','','',1.1,2.2]
mask_a = [i == '' for i in a]
b = np.ma.MaskedArray(a, mask=mask_a)
Chris Withers wrote:
Eric Firing wrote:
Chris,
Use masked arrays. See masked_demo.py in the mpl examples subdirectory.
Hi Eric,
I took a look at that, but it uses:
Chris,
Both with respect to documentation and functionality, what you are
encountering is the historical aspect of masked arrays as a tacked-on
part of python numeric packages, and of matplotlib. Support and
integration are improving, but still far from perfect. A largely new,
and
Here is the relevant code fragment:
for i in range(1, compList[0][16]):
pylab.hold(True)
if compList[0][4] == 'Decay S-Curve':
testFunctions.zCurve(compList[0][10],compList[0][9])
elif compList[0][4] == 'Bell Curve':
I need to efficiently plot a set of x,y points where each point has a
different color. I tried multiple calls to plot() with a single point each
but that is way too slow. I switched to using scatter() and passing in a
list of colors which works great. However, I'd really like to have the
marker
13 matches
Mail list logo