Hi, Darren,
many thanks for your answer. Now all works.
Regards,
Alexander Bruy
-- реклама ---
http://FREEhost.com.ua - еще больше места и возможностей.
При заказе хостинга - домен бесплатно.
--
> I am trying to plot a fig with three subplots. However when I run my
>> script the subplots are all shifted way too high
>> (http://img.skitch.com/20090720-fp462u8ww4bq38j29u9bjtr2cx.png) and
>> the top subplot is cut off.
>>
>> I tried doing something l
too high
> (http://img.skitch.com/20090720-fp462u8ww4bq38j29u9bjtr2cx.png) and
> the top subplot is cut off.
>
> I tried doing something like this from reading another poster's thread
> but this did absolutely nothing:
> mpl.figure.SubplotParams(left= (48 / 7
Hello y'all:
I am trying to plot a fig with three subplots. However when I run my
script the subplots are all shifted way too high
(http://img.skitch.com/20090720-fp462u8ww4bq38j29u9bjtr2cx.png) and
the top subplot is cut off.
I tried doing something like this from reading another pos
On Mon, Jul 20, 2009 at 4:48 PM, John [H2O] wrote:
>
>
>
> Jae-Joon Lee wrote:
>>
>> get_xmajorticklabels() returns a list of matplotlib's "Text" objects,
>> not python strings.
>>
>
> This is what I've now come to understand, but it seems very odd. Why
> wouldn't it return the list of strings, or
Jae-Joon Lee wrote:
>
> get_xmajorticklabels() returns a list of matplotlib's "Text" objects,
> not python strings.
>
This is what I've now come to understand, but it seems very odd. Why
wouldn't it return the list of strings, or alternatively, how can you get
the list of strings? I guess you
Hm.. I added a resize() after the show():
class Plot_tab(QTabWidget, tab):
def __init__(self):
super(Plot_tab, self).__init__()
self.setupUi(self)
self.show()
self.resize(self.size().width()+1, self.size().height()+1)
self.resize(self.size().width()-1,
get_xmajorticklabels() returns a list of matplotlib's "Text" objects,
not python strings.
http://matplotlib.sourceforge.net/api/axes_api.html?highlight=get_xmajorticklabels#matplotlib.axes.Axes.get_xmajorticklabels
On the other hand, set_xticklabels() takes a list of python strings.
http://matpl
and if you look at the cookbook .. you can see all the available colormaps..
http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps
have fun
On Mon, Jul 20, 2009 at 8:25 PM, Eric Firing wrote:
> Ritayan Mitra wrote:
> > Hello
> >I am trying to use imshow as below
> >
> > im = imshow(Z, in
Ritayan Mitra wrote:
> Hello
>I am trying to use imshow as below
>
> im = imshow(Z, interpolation='spline16', origin='lower', cmap=cm.hot,
> extent=(-1.,1.,-1.,1.))
>
> Trouble is I want to reverse the color gradient or use some colorscheme
> which has lighter color at the bottom and darker h
(almost?) all the colormaps exist in reversed forms, eg, cm.hot_r
On Jul 20, 2009, at 10:47 AM, Ritayan Mitra wrote:
> Hello
> I am trying to use imshow as below
>
> im = imshow(Z, interpolation='spline16', origin='lower', cmap=cm.hot,
> extent=(-1.,1.,-1.,1.))
>
> Trouble is I want to reverse
Hello
I am trying to use imshow as below
im = imshow(Z, interpolation='spline16', origin='lower', cmap=cm.hot,
extent=(-1.,1.,-1.,1.))
Trouble is I want to reverse the color gradient or use some colorscheme
which has lighter color at the bottom and darker higher up. What is the
easiest soluti
Hi Ala,
On Mon, Jul 20, 2009 at 11:44 AM, Ala Al-Shaibani wrote:
> Hello everyone.
> A users on the networkx mailing list posted this example which is a
> modification of the matplotlib-pyqt4 implementation which plots a networkx
> graph.
> The problem I am facing with it is that two plot windows
hey everyone,
I have an interactive python application that I am using pylab with. I am
having a problem where I can only create a graph ONE time. all other calls
to plot() and show() cause nothing to happen.
I have used ipython -pylab as well, but the problem I am having with
ipython is tha
Hello all,
I've been trying to use the volume_overlay functions from matplotlib.finance
without luck.
Is anyone using it?
Below is a simple test program. When I run it, all the volume bars have the
same height.
Thanks,
Christophe
#!/usr/bin/env python
from pylab import *
f
Hello everyone.
A users on the networkx mailing list posted this example which is a
modification of the matplotlib-pyqt4 implementation which plots a networkx
graph.
The problem I am facing with it is that two plot windows open instead of one,
one is empty and the other contains the graph.
I
Hi Alexander,
2009/7/20 Alexander Bruy :
> Sorry, some troubles with my email service. With attachment now
>
>
> 2009/17/07 Darren Dale wrote:
>>
>> Please post a short, complete, self-contained script demonstrating the
>> problem.
>>
>
> I create a small example, see attachment. There is a simpl
Hello everybody,
this is my first post in this list.
I'm plotting a spectrogram with
Pxx, freqs, bins, im = specgram(y, nfft=256, f_sampling=12000)
and i want to add a colorbar with
colorbar()
The problem is that the color scale seems to be wrong with respect to
the data in Pxx, i.e. Pxx is
Hi Marco,
you can set the yrange for the axes after the historgram was plotted, e.g. :
hist(arange(30)%3)
ylim(0, 15)
best regards Matthias
On Monday 20 July 2009 11:26:27 marcog wrote:
> Hi
>
> Is it possible to set the yrange of a histogram plot? I have a number of
> histograms on separate p
I am trying simply to shrink the font size and rotate xaxis labels:
fig1 = plt.figure()
ax1 = fig1.add_subplot(211)
ax2 = fig1.add_subplot(212)
ax1.plot_date(x,y,'r')
ax1.set_xticklabels(plt.gca().get_xmajorticklabels(),
size=6,rotation=30)
Hello everybody,
this is my first post in this list.
I'm plotting a spectrogram with
Pxx, freqs, bins, im = specgram(y, nfft=256, f_sampling=12000)
and i want to add a colorbar with
colorbar()
The problem is that the color scale seems to be wrong with respect to
the data in Pxx, i.e. Pxx is
We are pleased to announce the release of APLpy 0.9.3, which includes
bug fixes, improvements, and new features.
APLpy is a python module that makes it easy to interactively produce
publication-quality plots of astronomical images in FITS format. More
details are available at http://aplpy.sourcefo
Hi
Is it possible to set the yrange of a histogram plot? I have a number of
histograms on separate plots that I would like to have the same yrange to
make them easier to compare.
Thanks
Marco
--
View this message in context:
http://www.nabble.com/Set-Histogram-yrange-tp24566489p24566489.html
S
23 matches
Mail list logo