Many thanks! The 'pad=25' property worked great.
I also tried prepending '\n' to the minor labels but it threw an error
-- I'll confess that I did not try very hard since 'pad=25' worked.
On 08/15/2014 05:28 PM, Thomas Caswell wrote:
> Use the `pad` property which sets how far the tick labels ar
Use the `pad` property which sets how far the tick labels are from the axis.
ax1.tick_params(axis='x',which='minor',bottom='off',top='off', pad=25)
iirc, the units on pad are font-points
Tom
On Fri, Aug 15, 2014 at 5:21 PM, Sterling Smith wrote:
> How about prepending '\n' to your minor la
How about prepending '\n' to your minor labels?
On Aug 15, 2014, at 1:38PM, Ted To wrote:
> Hi,
>
> I'm trying to set two lines of xtick_labels But I can't figure out how
> to get them on separate lines. These are for errorbars where I have two
> variables for each of four categories. Using th
Hi,
I'm trying to set two lines of xtick_labels But I can't figure out how
to get them on separate lines. These are for errorbars where I have two
variables for each of four categories. Using the following code, I'm
able to create the attached figure. How does one move the "minor"
xtick_labels
: Tuesday, June 01, 2010 7:07 PM
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] multiple lines
On 06/01/2010 02:47 PM, Benjamin Root wrote:
> Howard,
>
> Are you trying to plot 4 lines with the same y-axis or with two or more
> y-axes? I only ask because t
Malte,
You may want to look into Numpy's genfromtxt() or loadtxt() functions. They
will make your life so much easier for loading data from a text file.
Ben Root
On Tue, Jun 1, 2010 at 6:47 PM, Malte Dik wrote:
> Howard Sun
> > Sorry for the newbie question, how do you plot one x with multip
On 06/01/2010 02:47 PM, Benjamin Root wrote:
> Howard,
>
> Are you trying to plot 4 lines with the same y-axis or with two or more
> y-axes? I only ask because the values of your 5th column are many
> orders of magnitude smaller than the values of the other ys.
>
> If you want multiple y-axes on t
Howard,
Are you trying to plot 4 lines with the same y-axis or with two or more
y-axes? I only ask because the values of your 5th column are many orders of
magnitude smaller than the values of the other ys.
If you want multiple y-axes on the same plot, then you might want to look at
Parasite Axe
Howard Sun
> Sorry for the newbie question, how do you plot one x with multiple ys. In
> below data, x column is followed by 5 y columns: Many thanks!
> Howard
>
> 2 1.e+00 6.6232e-02 9.9392e-03 2.2992e-02 3.8111e-07
> 3 6.3664e-01 1.0269e-01 7.9107e-03 1.8254e-02 1.1391e-07
> 4 2.7590e-01 4.
On 1 June 2010 19:05, Howard Sun wrote:
> Sorry for the newbie question, how do you plot one x with multiple ys. In
> below data, x column is followed by 5 y columns:
> Many thanks!
>
You can make an x vector and a y array, so that the first dimension of y is
the same length as x:
import numpy
On 6/1/2010 7:05 PM, Howard Sun wrote:
> Sorry for the newbie question, how do you plot one x with multiple ys. In
> below data, x column is followed by 5 y columns
>
Matplotlib has excellent documentation:
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.plot
hth,
Ala
Sorry for the newbie question, how do you plot one x with multiple ys. In below
data, x column is followed by 5 y columns:
Many thanks!
Howard
2 1.e+00 6.6232e-02 9.9392e-03 2.2992e-02 3.8111e-07
3 6.3664e-01 1.0269e-01 7.9107e-03 1.8254e-02 1.1391e-07
4 2.7590e-01 4.9783e-02 6.2644e-03 1.0
On Fri, Jun 27, 2008 at 2:56 PM, Angus McMorland <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I sometimes find myself wanting to plot a series of lines using
> axhline or axvline. Is there a mechanism to do this that I'm missing,
> or would it be difficult to support the positional parameter being an
>
2008/6/27 Angus McMorland <[EMAIL PROTECTED]>:
> Hi all,
>
> I sometimes find myself wanting to plot a series of lines using
> axhline or axvline. Is there a mechanism to do this that I'm missing,
> or would it be difficult to support the positional parameter being an
> array of values at which to
Hi all,
I sometimes find myself wanting to plot a series of lines using
axhline or axvline. Is there a mechanism to do this that I'm missing,
or would it be difficult to support the positional parameter being an
array of values at which to draw each line?
Angus.
--
AJC McMorland, PhD candidate
P
if you're building an app i would suggest using the OO interface.
There are good examples in the examples directory. But basically you
get a figure either by constructing it or using pylab.gcf and you can
add_axes to the figure and plot on them. It is much more scalable for
an app than the pylab
It's definitely not the behavior I'm seeing here. In my matploblibrc file,
hold is set to True. Is there another value that might be influencing this?
In any case, I don't want the behavior to be dependent on a config file: I'm
building an application. Do you know how I might specify this behavio
I have several lines of data that I want to plot on the same graph, but
every time I run the pylab.plot() function it redraws the graph from
nothing. I've tried pylab.plot(*, hold=True) and pylab.hold(True), but it
still happens. Can I add data to an existing figure, or do I have to pass
all the d
18 matches
Mail list logo