I need to make a dates (on x) vs. durations of time (on y) plots and
need to have smart formatting for the y axis. My y data is in the
database in the format: '0:00:02.994000', (that is, 2.9 seconds) and
I'd like the y axis to be expressed in ticks of, e.g., "2 hrs", or "10
minutes", or "25 seconds
The pre-defined hsv colour map has this property - can you use that?
Otherwise, yes, it is possible to define any map you like.
Gary R
On Fri, Jul 8, 2011 at 12:55 PM, Ben Elliston wrote:
> Hi.
>
> I have a set of data with a range of (say) 0 to 100. Is it possible
> to get matplotlib to use th
On Mon, Jun 20, 2011 at 8:13 PM, kafooster wrote:
>
> Hello,
>
> I am trying to display an array with imshow(), however I want to 'turn off'
> display of axes, numbers, and all that extra stuff which comes with it. I
> want only my array(grayscale image) to be shown
>
> ##
Thanks Ian...
The tricontourf worked perfectly. I was able to manipulate it further for
my needs, but your sample code saved me...
Best regards,
Nader Abedrabbo
Try tricontourf; I've attached an example. Most of the example code is
manipulating your input data and calculating the connect
Sebastian Berg, on 2011-07-11 18:16, wrote:
> On Mon, 2011-07-11 at 07:13 -0700, SiggiN wrote:
> > is ther a way to not let the colorbar cut space from the 2nd subplot. I
> > would like to have them both the same size.
yes, you can pass the cax parameter to colorbar which will put
it inside that
On Mon, Jul 11, 2011 at 11:16 AM, Sebastian Berg wrote:
> Hi,
>
>
> On Mon, 2011-07-11 at 07:13 -0700, SiggiN wrote:
> > Hi all!
> >
> > following code shows the problem I have with placing a colorbar for
> several
> > subplots.
> >
> > #-code
> > import ma
Hi,
On Mon, 2011-07-11 at 07:13 -0700, SiggiN wrote:
> Hi all!
>
> following code shows the problem I have with placing a colorbar for several
> subplots.
>
> #-code
> import matplotlib
> import numpy as np
> import matplotlib.cm as cm
> import matplotlib
There is an open bug filed on this issue, #608932. Specifically, the issue is
that multiple plots in the gallery examples work when run from a Python
prompt, yet the html page that gets generated for the documentation shows
the exception message.
For what it is worth, I submitted the radar chart
Hi all!
following code shows the problem I have with placing a colorbar for several
subplots.
#-code
import matplotlib
import numpy as np
import matplotlib.cm as cm
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
matplotlib.rcParams['xtick.
Hi.
I have a set of data with a range of (say) 0 to 100. Is it possible
to get matplotlib to use the same colour for 0 and 100, so that the
colours "meet" at the ends of the color bar?
One workaround is to just manipulate the data (eg. using abs (x-50)),
but I would rather not, if possible.
Tha
10 matches
Mail list logo