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 the
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 smit...@fusion.gat.com wrote:
How about prepending
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
: 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 the values of your
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
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,
Alan
On 1 June 2010 19:05, Howard Sun h...@nvidia.com 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:
Howard Sun h...@nvidia.com
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
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
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 the
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 malte@web.de wrote:
Howard Sun h...@nvidia.com
Sorry for the newbie question, how
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 draw
12 matches
Mail list logo