From: Paul B. <peb...@gm...> - 2006-06-19 11:35:13
|
On 6/19/06, John Pye <joh...@st...> wrote: > > > Just created a a diagram as the overlay of a pcolor plot with a labelled > contour plot. I had a few issues: > > 1. When exporting the following image, which is a pcolor plot with > alpha=0.15 and contours on top, I get no alpha channel in the > resulting output, regard of whether I export as EPS or SVG. Is exporting > with alpha channel not supported in those formats? > > Alpha blending is not supported in Postscript (i.e. EPS). However, SVG can support it and it does appear to be implemented for the drawing of lines in the SVG backend. Why it does not work, I can't say. > 1. In the titles, which are generated using mathtext strings, I > can't get spaces in the captions. I checked the manual. Here is an example > of what I typed: pylab.xlabel(r"$\it{Mass flowrate, }\rm{\dot{m} > (kg/s)}$") > > You will need to escape the spaces in TeX mode, i.e. '\ ' > 1. A couple of misaligned contour labels (eg '27' in the below) > > >From understanding, this issue has always been problematical. A fair amount of time was spent on trying to get it right. The developer(s) may be able to expand on this. Any suggestions? > > This is with the latest Matplotlib 0.87.3, Python 2.4, ubuntu 6.06. > Nice plot! -- Paul |