eps, the
> greek symbols don't show up. Confirmed on several windows machines. Python
> 2.4. mpl 0.91.2. (but it worked fine under 0.90.1). Does anybody else have
> this problem?
>
> It is starting to look like a bug. Thanks, Mark
>
>
> On Fri, Mar 14, 2008 at 5:06 PM, Bernh
the set_visible method of the axis object should do the trick:
ax1.get_xaxis().set_visible(False)
same for ax2.
bernhard
On Thu, Mar 13, 2008 at 5:01 PM, Marcus Hauser <
[EMAIL PROTECTED]> wrote:
> Dear all,
>
> is it possible to use a shared xaxis for several plots and switch off
> the xtic
what are the values of pdf and ps fonttype in your rc file?
try using this:
ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType)
this includes the missing symbols into the ps/pdf file, if you choos
> How do I get rid of the redundant ticks on the top and right edges?
pylab.gca().get_xaxis().set_ticks_postion('bottom')
same for yaxis
> Is there any way to stop some of my text labels from overlapping?
don't know
> Why is there such a big gap between the plot itself and the axes ticks?
rs(),
linecl.get_linewidth())
Thanks! Bernhard
>
> Eric
>
> Bernhard Voigt wrote:
> > Dear all!
> >
> > I'm folowing the line_collection2.py example to create a LineCollection
> > plot with a colorbar.
> > How can I force the colorbar to show distin
Dear all!
I'm folowing the line_collection2.py example to create a LineCollection plot
with a colorbar.
How can I force the colorbar to show distinct lines like it does in contour
plots for a LineCollection plot?
Thanks! Bernhard
---
Hi!
You could also use the bar method and do the histogram with numpy:
import numpy as n
import pylab as p
foo = n.random.normal(size=100)
p.hist(foo, 20)
p.twinx()
counts, bins = n.histogram(foo, 20)
counts = counts.astype(float)/len(foo)
width = (bins[1]-bins[0]) * .9
p.bar(bins ,counts, width
Hi!
Using the STIX fonts, the baseline of mathtext glyphs is corrupt using
screen backands like GTK or TK. The problem does not appear using the ps or
pdf backend.
Attached is png and eps file of a semilogy plot with a mathtext xlabel. The
ytick labes and the xlabel are skrewed in the png.
Best w
etty
> certain this is due to the size of the font file. For that reason,
> Type3 is just a better option anyway, so I don't consider it a high
> priority -- but if you have a use case where it really matters,
> certainly let me know.
>
> Cheers,
> Mike
>
>
> Be
I've been trying to use the STIXGeneral font that comes with
matplotlib (my version is 0.91.1). It's rendered ok on the screen,
however, when saving the fig as an eps file my postscript processor
(ghostscript) can't read the font information included in the eps file
(ps.fonttype 42 in config file).
Hi,
I was using something like this:
f = pylab.figure()
f.text(.4, .95, 'My Title') # coordinates are window coordinates from 0 to 1
pylab.subplot(421)
...
This could be made more robust by checking the extend and location of
the subplots and length of the title...
Cheers! Bernhard
On 1/24/08
A simple solution would be:
numbers, text = yticks()
mytext = ['%.2f' % n for n in numbers]
yticks(numbers, mytext)
If you need fancier formatting look at Ticker and Formatter API
http://matplotlib.sourceforge.net/matplotlib.ticker.html
For sure there's something about this in the examples as wel
Here's a legend function which allows you to specify loc='outer right'. The
part for 'outer left' doesn't work. It basically wrappes the
pylab.legendmethod, it rescales the plot and sets the location of the
legend to
coordinates outside of the current axes.
def legend(*args, **kwargs):
"""
Is there any documentation or example presenting similar graphs ?
Take a look at two_scales.py from the examples (
http://matplotlib.sourceforge.net/matplotlib_examples_0.90.0.zip)
Bernhard
-
This SF.net email is sponsore
Dear all,
is it possible to insert newlines in mathtex text?
neither \newline, nor \\ seem to be understood:
In [20]: text(.5,.5, r'$This is the first line \\ this is the second line$')
Results in a single line.
By the way, when there is an error in the tex string, the caching behind the
scen
15 matches
Mail list logo