http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar
use
ax.set_xticks(ind+width*.5)
instead of
ax.set_xticks(ind+width)
-JJ
On Thu, Mar 5, 2009 at 1:40 PM, Timmie wrote:
> Hello,
> I tried to modify the bar chart demo for my case.
> I want to plot only bar charts
Hello,
I found an issue in working with subplots and using figlegend: it
doesn't display markers. This code illustrates the problem:
x=r_[0.:11.:1.]
y=x**1.5
figure()
subplot(211)
line=plot(x,y,'sb-.')
figlegend( (line,),('y',),'right' )
Supplying the "numpoints" keyword to figlegend doesn't se
Hello,
I am generating a figure with 4 subplots, then using the "figlegend"
command to generate a legend on the right side of the four plots.
This is part of a script designed to handle varrying numbers of lines
to be plotted, so sometimes the legend has many entries and sometimes
it has a few. I
Your code works fine for me with mpl 0.98.5.2.
What version of mpl are you using?
print matplotlib.__version__
-JJ
On Thu, Mar 5, 2009 at 12:03 PM, Erik Granstedt wrote:
> Hello,
>
> I found an issue in working with subplots and using figlegend: it
> doesn't display markers. This code illust
thank you very much for this (i include your code below).
one question about this: how can i remove the top x-axis and the right yaxis
from each of the marginal histograms? in other words, keep only the left
y-axis and the bottom x-axis of each of the histograms.
thank you.
mport numpy as np
imp
Pablo Romero wrote:
Jeff,
Here's a link to the website that's creating the basemap plots with
the "H"'s and "L"'s:
http://magicseaweed.com/msw-surf-charts2.php?chart=64&res=750&type=pressure&starttime=
As you can see, this website's "pressure chart" interface is based on
creating individ
hi all,
i am trying to make scatter plots with marginal histograms shown in the same
plot, using the recently checked in example 'scatter_hist.py'. i want the
scatter plot to have an equal aspect ratio, but when i do this, the scales
of the marginal histograms get out of sync. for example, the cod
Christopher Brown wrote:
> Hi,
>
> If I have a figure:
>
> h = pp.figure(num=14)
>
> What is the best way to check to see if Figure 14 exists? I'm writing a
> function that adds plots to a figure window. I want the function to
> check if the figure exists, and if so, turn off autoscaling (usin