Hi everyone
I've been going around matplotlib objects trying to find a way to
pre-calculate positions depending on input.
I'm trying to create a function that draws two barplots facing opposite
directions.
This is what I managed so far:
###
import numpy as np
import matplotlib.pyplot as plt
fr
per freem wrote:
> hi all,
>
> two quick questions about labels. first, is there a way to make
> subscripts/superscripts *without* using TeX in labels? For example, I
> use helvetica in all my labels and I want to plot something like:
> plt.xlabel("log10") where "10" is a subscript of "log", but w
On Sun, Jan 31, 2010 at 4:21 PM, per freem wrote:
> hi all,
>
> two quick questions about labels. first, is there a way to make
> subscripts/superscripts *without* using TeX in labels? For example, I
> use helvetica in all my labels and I want to plot something like:
> plt.xlabel("log10") where "
hi all,
two quick questions about labels. first, is there a way to make
subscripts/superscripts *without* using TeX in labels? For example, I
use helvetica in all my labels and I want to plot something like:
plt.xlabel("log10") where "10" is a subscript of "log", but without
doing: plt.xlabel(r"$\
Hello,
I have matplotlib widget set up in a PyQt 4 program. The axis is set for
auto scaling. I'm using the following command to determine the upper y
boundary:
self.plotWidget.canvas.ax.axis()[3]
where plotWidget is the name of the widget in my program. I get a number
from this command just
b9o2jnbm tsd71eam wrote:
> Hi!
>
> I want to create a histogram with the step scale and I am finding
> an inconstancy when using a log scale. I have a very simple example
> without a log scale which works just as expected creating alternating
> bins with value one and value zero.
>
> from pyla
Hi!
I want to create a histogram with the step scale and I am finding
an inconstancy when using a log scale. I have a very simple example without
a log scale which works just as expected creating alternating bins with
value one and value zero.
from pylab import *
hist([0.5,2.5,4.5],bins=[0,1,2,3,
Hi,
I would like to add some text relative to the legend,
let's say below it, and I don't know how to get the legend
coordinates so I can pass them to the text() method.
Does anyone know how to do it?
Alternatively, if there was a way to add text inside the
legend itself, it would also do the tr
BTW: I tried to use set_position to change the position of the axes label as
suggested by previous posting. No effect.
- Original Message
> > Hello,
> >
> > I am creating a plot with multiple y-axis (up to 6) and twinx
> works pretty well. The problem is that there are too much wast