try using plot_date() function instead of plot()
On Sun, 2007-06-10 at 09:49 +0200, rolandreichel wrote:
> Hi,
>
> I want to plot some timeseries (eg. stockcharts). I use now
> DateLocator/Formatter, it works fine for me with the exeption, that
> dataless periods on X-Axis (eg. weekends) are
use tick top:
ax = twinx()
ax.xaxis.tick_top()
On Wed, 2007-03-21 at 18:17 +0100, Matthew Czesarski wrote:
> Hi matplotlib-users!
>
> OK, yeah, I'm pretty new to matplotlib/pylab... I played with biggles
> for a short while but, all (more than 3) my python-using associates in
> the astronomical
)
ax.xaxis.set_major_locator(days)
ax.xaxis.set_major_formatter(IndexDateFormatter(x, '%Y-%m-%d %H:%M:%S'))
ax.xaxis.set_minor_locator(hours)
ax.xaxis.set_minor_formatter(IndexDateFormatter(x, 'Y-%m-%d %H:%M:%S'))
Thanks to all who have help me with previous issues. :)
On Wed, 2006-09-27 at 09:58 -04
period during the day i am
concerned with. Is there a way to limit the hours plotted on the xaxis
for each day interval?
On Tue, 2006-09-26 at 16:47 -0400, Richard Albright wrote:
> I am trying to figure out how i can use IndexLocator with DateFormatter.
> Currently i am only using DayL
I am trying to figure out how i can use IndexLocator with DateFormatter.
Currently i am only using DayLocator and HourLocator in my code, but it
is showing ticks for all hours in the plot, when I only care about
plotting the hours for when data is available.
I already applied date2num to my dates
i've gone something similar using separate masked arrays on my data set,
see
http://www.scipy.org/Cookbook/Matplotlib/Plotting_values_with_masked_arrays,
for how to do this.
On Thu, 2006-08-10 at 15:40 -0700, David Grant wrote:
> I have a look like this:
>
> for i,_ in enumerate(myRunObject.
If you are just creating graphic images you could always send the legend
to a different figure, and then print both figures to file. You could
then munge a layout together for whatever document you are creating.
On Fri, 2006-08-04 at 16:03 +0200, Christian Meesters wrote:
> Hi,
>
> As far I under
You want to use matplotlib.numerix and use a masked array
On Fri, 2006-07-21 at 14:24 -0400, Rodrigues, Joseph wrote:
> I have a question (new user here): I have datasets of irregular time
> spaced data and am having a problem with Matplot lib.
>
>
>
> I am plotting two datasets: one is contin
thanks for the subsy tip!, it did exactly what i couldn't do using
NullLocator() and NullFormatter(), regardless if i put it before or
after the semilogy command.
On Fri, 2006-07-14 at 11:52 -0500, John Hunter wrote:
> > "PGM" == PGM <[EMAIL PROTECTED]> writes:
>
> >> There is an easier
How can I turn off the decade ticks in the following simple example?
from pylab import *
x=(1,2,3,4,5)
y=(13, 22,19,26,32)
set_major_locator(NullLocator())
set_major_formatter(NullFormatter())
semilogy(x,y)
show()
I am building stock graphs with the library, but have not been able to
figure out h
10 matches
Mail list logo