Hi Jouni,
Thanks for your explaination.
On Wednesday 02 December 2009 17:20:37 Jouni K. Seppänen wrote:
> Matthias Michler writes:
> > ./root/article.cls.tex: Permission denied
> > ./root/article.cls: Permission denied
> > ./lost+found/article.cls.tex: Permission de
the very near future.
>
> Regards,
> Reinier
>
> On Wed, Dec 2, 2009 at 4:22 PM, Matthias Michler
>
> wrote:
> > Hi Andrew,
> >
> > do you have any idea if the patch (or a part of it) may get a part of
> > matplotlib-svn some day?
> >
> >
Hi Brian,
does
ax.fill_between(np.linspace(0.0, 2*np.pi,100), np.ones(100))
do what you are after?
Kind regards
Matthias
On Wednesday 02 December 2009 16:42:16 Brian Larsen wrote:
> Hello,
>
> this seems like it should be easy but I am beating my head on the wall
> here.
>
> I am trying to fill
Hi Andrew,
do you have any idea if the patch (or a part of it) may get a part of
matplotlib-svn some day?
Kind regards,
Matthias
On Friday 09 October 2009 23:25:28 Andrew Straw wrote:
> Matthias Michler wrote:
> > Hello list,
> >
> > I'm not an expert in axes3d, but
16, 2009 at 9:45 AM, Matthias Michler
>
> wrote:
> > Hello list,
> >
> > I encounter some strange error output including several "Permission
> > denied" when using usetex=True and saveing eps-pictures. My example is
> > quite easy and the output is attach
Hello list,
may be the last message got lost among the lots of mpl-mails. So I'd like to
ask you once more for comments. Can anyone confirm this behaviour or should
it be due to some wrong configuration on my computer?
Kind regards,
Matthias
On Monday 16 November 2009 15:45:08 Mat
Hi John, Hello list,
I added the patch to the tracker (ID 2907509).
Kind regards
Matthias
On Wednesday 02 December 2009 13:40:29 John Hunter wrote:
> On Wed, Dec 2, 2009 at 4:02 AM, Matthias Michler
>
> wrote:
> > Hi Jason, Hi list,
> >
> > First of all let me say
to
specify 'places' before calling 'plt.show'. Therefore I introduced "places
=None" to use "%g %s".
I attached the new ticker.py and a diff against current svn (I'm sorry I
couldn't resist to add some white spaces).
Any comments are welcome.
Hi Wayne,
you are right all these function use the sample-data and not the pdf /
frequency of occurence-histogram, because typically the data is available and
not the pdf. Maybe the scipy mailing list could give you a solution to your
problem.
In case that your freqency of occurence are intege
Hi,
I reattached your example in a slightly modified way. For me with current svn
it does its job. The key points are that I introduced a twin-axes and used
subplots_adjust(wspace=0.6) to extend the horizontal space between the
subplots.
Does this help you?
Kind regards
Matthias
On Sunday
Hi Zunbeltz,
you could include some fake-lines outside the visible regionm which get your
favorite label like
plot([0], [0], label='my favorite label for squares', marker='s',
color='black', mfc='white', mec='black')
and don't use labels for the original data.
Kind regards
Matthias
On Saturd
Hello list,
I encounter some strange error output including several "Permission denied"
when using usetex=True and saveing eps-pictures. My example is quite easy and
the output is attached. (Please notice the resulting figure looks as
expected.)
import matplotlib
matplotlib.rc('text', usetex=T
Hi,
you may want to use numpy's histogram:
import numpy as np
np.histogram(Z)
Kind regards
Matthias
On Monday 16 November 2009 14:32:03 Tsviki Hirsh wrote:
> Dear list,
> How can I use hist without plotting?
> e.g.
> h=hist(Z)
>
> and then to only use the output of "h" without wasting time on p
Hi Pål,
you can turn off matplotlibs autoscaling by e.g.
import matplotlib.pyplot as plt
ax = plt.subplot(111, autoscale_on=False, xlim=(..., ...), ylim=(..., ...))
or
ax.set_autoscale_on(False)
Kind regards
Matthias
On Tuesday 10 November 2009 01:50:47 Paul Northug wrote:
> Greetings,
>
Hi ankita,
On Wednesday 04 November 2009 06:04:55 ankita dutta wrote:
> hi all,
>
> I am working on some graph stuffs and stuck at a point.
>
> I am trying to plot a histogram using simple :
>
> *import matplotlib.pyplot as plt
> .
> .
> plt.hist(x,bins=10,histtype='bar')
plt.show()
> *
> but i wa
Hi Jim,
I attached an example that does the job circumventing Matplotlibs scientific
formatting instead of solving the problem with number of digits in scientific
formatting. It uses a FuncFormatter from matplotlib.ticker, which allows you
to define your own tick-formatting.
Kind regards
Matt
On Wednesday 07 October 2009 16:15:03 mariama...@aquaterraenerg wrote:
> Hi, I am quite new to python and matplotlib!!
>
> When plotting a simple graph using python and matplotlib my plot appears
> however the area (background) where my x.label and y.label and axes limits
> lie is grey, does anyone
Hi Ann,
I'm not sure I understood correctly, but maybe it is useful to change the
xlimits slightly, e.g. datetime(1998,4,20,0) instead of (the default value in
this case) datetime(1998,4,20,1):
ax.set_xlim( date2num(datetime(1998,4,20,0)), ax.get_xlim()[1] )
> Also the minor tick marks do not
On Friday 02 October 2009 14:24:17 German Ocampo wrote:
> Hello everybody
>
> How can I control the size of the Z axis in a 3D plot using Axes3D in
> matplotlib?
I think for an axes like "ax = Axes3D(fig)"
you can use "ax.set_zlim3d( ... )"
Kind regards,
Matthias
Hello,
I cannot reproduce your problem with current svn and
backends "GTKAgg", "TkAgg" and "WXAgg".
What version of matplotlib you are using? What backend?
Could you provide a stand-alone example which illustrates your problem?
I attached the example file I used to try to find your reported st
for one second
ax.cla() # clear the axes
On Monday 28 September 2009 21:15:05 Eric Firing wrote:
> Matthias Michler wrote:
> > Hi Ralph,
> >
> > I don't think there exists a function like the line-'set_data'-method for
> > co
Hi Ralph,
I don't think there exists a function like the line-'set_data'-method for
collections, which are generated by 'contour'. This particular method of
lines only changes the data but leave anything else unchanged.
I attached an easy approach of updating a contour plot (simply deleting old
On Wednesday 09 September 2009 17:10:43 Jorge Scandaliaris wrote:
> Hi,
> I think I found a bug, but I am not sure if it's in the doc or in a method
> name. In the doc, there is reference to a method *suptitle* in class
> mpl.figure.Figure. The name sounds strange, but the method exists and
> works
Hi Giuseppe,
As far as I understand you are looking for numpy.meshgrid, e.g.
# grid in x- direction
x = np.linspace(0, 1, 10)
# grid in y-direction
y = np.arange(5)
# generate 2D-vectors out of x and y
x, y = np.meshgrid(x, y)
print np.shape(x)
print np.shape(y)
Furthermore you have to reshape
Hi Vicent,
On Thursday 03 September 2009 18:14:37 Vicent Mas wrote:
> Hi Matthias,
>
> 2009/9/3 Matthias Michler :
> > Hi Vicent,
> >
> > I think the following example may help you, althogh their might be a
> > better way:
>
> thanks for your answer. It rea
Hi Vicent,
I think the following example may help you, althogh their might be a better
way:
##
import matplotlib.pyplot as plt
def callback(ax):
""" prints mode of toolbar after limits changed
e.g.
mode : >zoom rect<
mode : >pan/z
Hi,
I think fill_between is what you are looking for:
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.fill_between
or
http://matplotlib.sourceforge.net/examples/pylab_examples/fill_between_demo.html
best regards Matthias
On Wednesday 26 August 2009 17:03:20 ms wrote:
>
Hi Eli,
I'm not sure I understood correctly, but maybe the attached example from the
docsting of the RectangleSelector helps you.
A kind of a choice-box is 'RadioButtons', whose usage is explained in the
slider_demo.py
kind regards,
Matthias
On Thursday 13 August 2009 04:05:09 Eli Brosh wrote
Hi Gaël,
there might be a better way of doing it, but the attached example seems to do
the job.
best regards Matthias
On Thursday 06 August 2009 10:46:44 Gael Varoquaux wrote:
> Given an axes instance ax1, I would like to create another axes instance
> ax2, embedded in the first one with a give
On Monday 03 August 2009 20:48:52 Thomas Robitaille wrote:
> Hi,
>
> What is the easiest way to plot a histogram with a logarithmic x-axis? The
> Axes.hist() method takes a log=True/False argument, but this applies only
> to the y axis.
>
> Is the only solution to plot a histogram of np.log10(array
Hi,
as nobody answered up to now I may make my (tiny) contribution.
On Friday 24 July 2009 22:58:10 per freem wrote:
> Hi all,
>
> i have a simple scatter plot, where the x axis and y axis are on different
> scales starting from 0. the x axis here ranges from 0 to 300 and the y axis
> from 0 to
Hi Blaine,
let me first of all give you the reference to some documentation about the
usage of show:
http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show
Furthermore I may recommend you to replace your call of show in 'p' by a call
of draw, which will yield the expected behaviour in ip
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
Hi Robin,
On Wednesday 08 July 2009 18:48:04 Robin wrote:
> On Wed, Jul 8, 2009 at 4:00 PM, Matthias Michler
wrote:
> > What version of matplotlib do you use?
>
> I think I am up to date.
>
> > For me the following works:
> >
> > ax.set_position(ax.get_positi
Hi Robin,
What version of matplotlib do you use?
For me the following works:
ax.set_position(ax.get_position())
The object returned by get_position is "A mutable bounding box.", which is
also supported in set_position. Nevertheless set_position supports lists
with '[left, bottom, width, heigh
Hi Jerome,
although your problem seems to solved, I would like to state a small remark
about the different number of bins. Some time ago numpy changed the default
of using left bin edges to using all bin edges. Newer versions of matplotlib
handle this difference pretty well, but maybe your old
Hi Ondrej,
I'm not sure where to find a good explanation of that, but let me give you
some hints. It is intended to use show only once per program. Namely 'show'
should be the last line in your script. If you want interactive plotting you
may consider interactive mode (pyplot.ion-ioff) like in
On Tuesday 16 June 2009 21:29:29 Nathaniel Echols wrote:
> I'm attempting to plot the distribution of bond angles in protein
> structures (the best-known example:
> http://en.wikipedia.org/wiki/Ramachandran_plot). I have the raw data as a
> collection of x,y,z data, where x and y are integers betw
Hi M. ,
I think the function imshow with kwarg interpolation='nearest' is what you are
after.
See for instance:
http://matplotlib.sourceforge.net/examples/pylab_examples/image_interp.html
bet regards Matthias
On Saturday 13 June 2009 17:42:54 ms wrote:
> Hi,
>
> I want to plot the evolution of
have only one call "from
matplotlib.mlab import" instead of 3.
kind regards Matthias
On Friday 12 June 2009 14:41:28 Sebastian Haase wrote:
> On Fri, Jun 12, 2009 at 2:01 PM, John Hunter wrote:
> > On Fri, Jun 12, 2009 at 6:10 AM, Sebastian Haase
wrote:
> >> On Fri, J
Hi Sebastian,
You are right. A large number of numpy functions is part of pylab, but I think
this problem was solved by introducing matplotlib.pyplot, which holds all
plotting functions of matplotlib. The module pylab imports these plotting
functions and all the numpy-stuff in order to offer pl
quite strange:
ydata += 50
# setting the line invalid in order to force a redraw during draw
myline._invalid = True
draw()
Maybe someone else has an idea about that.
regards Matthias
On Wednesday 10 June 2009 13:22:46 Ole Streicher wrote:
> Hi Mathias,
>
> Matthias Michler writes:
>
Hi Ole,
you can reset the ydata using:
ydata = myline.get_ydata()
ydata += 50
myline.set_ydata(ydata) # pass new data to line object
or just in-place
myline.set_ydata( myline.get_ydata() + 50)
after that you need a draw to redraw the figure or a show to show up the
result.
Does this work for y
Hi Markus,
I'm not sure I understand correctly, but if you delete all the axes / subplots
of your figure you cannot expect a graph showing up.
Maybe what you want to do is just changing the geometry of an existing axes
with something like:
self.subplot1.change_geometry(2, 2, 3)
and delete onl
On Tuesday 19 May 2009 14:07:27 Bala subramanian wrote:
> Friends,
>
> Someone please suggest me how to make scatter plot with a matrix data such
> as the one attached. Is is possible to feed a matrix to scatter function
> directly and plot the value in each row of the matrix.
>
> Thanks,
> Bala
H
;ps", usedistiller="ghostscript") # this would be the default
>
> or
>
> rc("ps", usedistiller="xpdf")
>
> -JJ
>
>
>
> On Wed, May 13, 2009 at 3:22 AM, Matthias Michler
>
> wrote:
> > Hi Jae-Joon,
> >
> &
Hi Bala,
I'm not sure I understand, what you want, but maybe the following goes towards
your direction
# initialise two matrices with data
matrix1 = ones((4,4))
matrix2 = 2*ones((4,4))
# and one empty matrix
matrix3 = zeros((4, 4))
for i in xrange(len(matrix3[:, 0])): # all rows
for j in x
Hello Stefanie,
I think the problem is that you try to initialise a subplot with
subplot(112)
which is not possible, because the first to numbers in 112 define the subplot
structure / geometry (here 1 by 1) and the last number give the index of the
subplot.
In general you could use N x M (N rows
Hi Bala,
On Wednesday 13 May 2009 13:16:17 Bala subramanian wrote:
> Friends,
>
> I have two matrices of same size. I used contourf to create the countour
> plots for the two matrices separately.
>
> i) I am interested in making one countour plot marking the areas which are
> different in both th
Hi Jae-Joon,
I updated to svn-revision 7099 and the problem (hidden part of b) still
exists. Do you have any idea what I'm doing wrong?
Thanks in advance for any hints.
best regards Matthias
On Tuesday 12 May 2009 20:46:06 Jae-Joon Lee wrote:
> On Tue, May 12, 2009 at 5:04 AM,
Hello list,
I'm not sure that following problem also occurs for Sebastian, but if I use
PS-backend in the below script I get the attached output, where the upper
part of the b is somehow hidden (matplotlib-version 0.98.6svn).
Is this a problem of matplotlib or did I miss something in the tex-han
Hello,
could you please provide a stand-alone example of what is failing and what
version/ backend you are using?
for me the following works (with mpl-0.98.6svn and backend 'GTKAgg'):
text(0.25, 0.75, r"$M_\theta$")
regards Matthias
PS: You can access the used backend and the matplotlib versi
Hello Erik,
I can reproduce your problem (mpl 0.98.6svn) with the following little
example:
import matplotlib.pyplot as plt
ax = plt.axes()
ax.set_xlim((0.0, .))
print ax.xaxis.get_majorticklocs()
plt.show()
where the last tick is out of the xlimits. Could this be the case for your
example
Hello Eric, Hello list,
a year ago I also encountered the problem of "one file - one figure" of the
plotfile function. I would like to propose an addional functionality of using
one figure and several files in plotfile, because sometimes I don't want to
read data myself. I added a patch includi
Hi Jon,
the dashed associated with each tick are actually line instances and therefore
hold information about the used marker, markersize, color, ...
For example you could do the following:
import matplotlib.pyplot as plt
ax = plt.gca() # get the current axes
for l in ax.get_xticklines() + ax
or like
> you said from an expert on masked arrays :)
>
> Have a good Tuesday to all.
>
> Gökhan
>
>
> On Tue, Apr 21, 2009 at 3:21 AM, Matthias Michler
>
> wrote:
> > Hi Gökhan,
> > Hi list,
> > Hi experts on masked arrays,
> >
> > I run t
Hi Enrico,
I'm afraid that this functionality is missing in matplotlib, but I'm not an
expert so there is still hope that this can be easily achieved.
A work around, that comes to my mind is resetting the label values using an
idea from another mail on this list
( thetagrids( range(0,360,45), (
ttle manually work using a for-loop. So
something like
mask = zeros(len(a), dtype=bool)
for index in xrange(len(a)):# run through array a
if a[index] in b:
mask[index] = True
print mask # gives array([False, False, True, True, False], dtype=bool)
Furthermore I'm not
27;
> toggle_selector.RS.set_active(False)
> if event.key in ['A', 'a'] and not toggle_selector.RS.active:
> print ' RectangleSelector activated.'
> toggle_selector.RS.set_active(True)
>
> x = arange(100)/(99.0)
> y = si
Hi Gökhan,
I recommend you to use matplotlib.widgets.RectangleSelector instead of the
zoom functionality to select the data (An example can be found at
http://matplotlib.sourceforge.net/examples/widgets/rectangle_selector.html ).
This will return you the x and y-coordinate of button press and bu
Hi Andrew,
if I understand correctly "set_clip_path" is what you want.
The usage was discussed in the following threads, where John Hunter also
proposed the example code added below.
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg10155.html
http://www.mail-archive.com/mat
Hello Eric,
Hello list,
On Tuesday 14 April 2009 20:39:06 Eric Firing wrote:
> Matthias Michler wrote:
[...]
> > Second question: Could it be useful to add two kwargs 'over_color'
> > and 'under_color' to contourf in order to allow specification of a
> >
Hi Pau,
On Friday 10 April 2009 17:03:20 Pau wrote:
> http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg03134
>.html
>
> I'd like to understand the syntax, though...
On the linked page I find:
""ax = axes([0.1, 0.3, 0.8, 0.6])""
and
""The position rectangles are [left, bottom,
different colors at the interval of
> 0.3, i need bit higher range like < 1 , 1 to 1.5, 1.5-2.0, 2-2.5, > 2.5.
> Also i need to set this range dynamically. Kindly write me how i can do
> this.
>
> Thanks in advance,
> Bala
>
> On Thu, Apr 9, 2009 at 9:08 AM, Matthias
Hi Bala,
I added a small example showing up your matrix in order to have a running
example, where you can specify your needs.
In the program contourf could be replaced by contour or imshow - see help /
docu / examples on the web
The colormap can be specified with the kwarg "cmap" : e.g. pypl
Hi Bala,
On Tuesday 31 March 2009 17:00:59 Bala subramanian wrote:
> Friends,
>
> 1) I want to make a plot of multiple lines. I want to make something like
>
> ./multiplot.py 1.dat 2.dat 3.dat .. n.dat
>
> All files contain two columns and are of same length. plotfile() and load()
> do not tak
.6svn'
__revision__ : '$Revision: 6887 $'
best regards Matthias
On Tuesday 03 March 2009 17:35:49 Matthias Michler wrote:
> Hello list,
>
> in the small example below with xscale and yscale logarithmic I'm not able
> to set the xlabel inside the axes initialisation. The e
Hello Johann,
is the problem you are reporting the one I observe in the attached picture?
Namely some vertical and horizontal lines are missing when using
yscale="log". More precisely everything below y=1 seems to be missing.
The picture was generated with the code below and
matplotlib.__versio
Hello ,
i'm not sure if your problem was resolved in the mean time. If this is not the
case the following may help:
plt.axes(axisbg=white, frameon = True)
-> plt.axes([0,0,1,1], axisbg=white, frameon = True)
where the first list descibes
[left, bottom, width, height] in normalized (0, 1) coord
Hello,
I'm not familiar with the draw_artist functionality, but for me there seems
to to be the following replacement needed (due to a typo):
self.ax.draw_artist(plt.contourf) -> self.ax.draw_artist(self.contour)
because otherwise you are trying to draw a matplotlib function, which seems to
b
Hi ,
The example below seems to do what you want, but I'm not sure if this is the
favourite way to do it.
Please notice: the if-statement might not be correct in any case of
application.
regards Matthias
>---
Hello list,
in the small example below with xscale and yscale logarithmic I'm not able to
set the xlabel inside the axes initialisation. The error output is attached.
It doesn't happen if I use the pylab command 'xlabel' or set one of the
scalings to linear.
Is this a bug or do I miss anything
Hi Blake,
the following addition should do what you want:
self.ax = self.fig.add_subplot(1,1,1, autoscale_on=False, xlim=(0, 100),
ylim=(0, 100))
or by hand after creation of the axes
self.ax.set_autoscale_on(False)
xlim(...)# or self.ax.set_xlim(...)
ylim(...)
That is you
Hi Jon,
I can reproduce you observation using the following program
> -
from pylab import plot, arange, ion
##ion()
plot(arange(10), arange(10))
> --
uncommenting the second line resolves the problem a
On Thursday 26 February 2009 20:52:17 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
Hello Paul Anton,
On Tuesday 24 February 2009 09:44:38 Paul Anton Letnes wrote:
> Is it possible to completely eliminate the
> windows popping up? Though not very important, it is still annoying
You may want to choose another backend. That is e.g. "agg" backend, that
doesn't use a X-window.
On Monday 22 December 2008 14:24:06 Franta wrote:
> Hi,
>
> when I have a Text instance, how can I get the dimensions of it?
Hello,
I think with dimensions you mean the width height and/or the corresponding
corners of the box surrounding the text (its bounding box). I attached an
example, which
Hello John and others,
my favorite solution is:
> * axes param: specific for a given axes in figure; interface would
> be something like
>
>ax.auto_toolbar_keys(False)
Which would be really helpful in case an axes belongs to a button
(slider, ...), where logarithmic scaling or a grid are not
Hello list,
I observe a small bug in slider_demo.py, which lives in the svn
folder /examples/widgets and can be accessed via
http://matplotlib.sourceforge.net/_static/plot_directive/mpl_examples/widgets/slider_demo.py
.
The hovercolor for grey needs to be a string instead of a float. I attached
Hello list,
rehashing an old script I recognized I essential difference between mpl 0.91.4
and mpl-svn 0.98.3 $Revision: 6203 $.
In 0.91.4 ax.get_xlim() return a tuple with the current xlimits.
In 0.98.3 ax.get_xlim() return a numpy array with the current xlimits, which
is a reference to the ax
Hi,
I'm not an expert, but I got the attached script to do what you need ( at
least as I understand it). It isn't quite nice, because I need interactive
mode turned on for proper value in the xtick labels in order to modify them.
Maybe it is a kind of beginning for a good solution or maybe a pr
Hello Hussein,
maybe the following example helps you. It uses the module 'time' to wait for
some seconds.
regards Matthias
--- "test.dat": --
#time x_coordinatey_coordinate
0.1 1 1
0.2
Hi lubos,
you can avoid (auto-)rescaling in matplotlib:
---
import pylab
ax = pylab.subplot(111, autoscale_on=False)
# or for an already existing axes instance 'ax' : ax.set_autoscale_on(False)
Hello John,
I'm not sure there is a better way, but the following works for me:
--
from pylab import *
fig = figure()
# adding some subplots / axes instances
subplot(121)
x = linspace(-0.5, 1.5, 10)
plot(x, 0.5*x
Hello list,
I know it is not recommended to use matplotlib for 3d plotting, but for a
while simple plots worked fine for me. This is not the case with actual svn
version and therefore my question is: Would it break at lost or cost much
effort to make the 3d-plot-examples of the Cookbook work?
Hi Margherita,
On Wednesday 04 June 2008 18:01:47 Margherita Vittone wiersma wrote:
> Hi all,
> i have a plot on which the x axix has timestamps info; i would like to
> control the size of the edge or border (not sure whta is the proper word)
> so the there is enough space between the real plot an
Hi Matthieu,
I'm not sure if somebody else already answered to your question and I don't
know the best way to achieve what you need, but I suggest the following
work-around:
scatter(x, x**2.4, marker='s', color='r', s=25, label="_")
# with no label
plot([0], [0], ls='', marker='s', color='r',
Hello,
On Wednesday 21 May 2008 17:57:28 PaterMaximus wrote:
> I want to make one scatter plot and use the same scales on another. I think
> I seen getting the Axes from the first scatter plot using v=axis() and then
> setting them on second with axis(v) but I can not get to work. Any help
> appre
On Wednesday 21 May 2008 13:59:31 Johan Mazel wrote:
> Hi
> I'm displaying 4 graphs in one figure.
> But the 4 graphs are really to much near each other and the center of the
> figure.
> Is there anyway to change this, and move them nearer to the edges of the
> figure ?
> Thanks
> Johan Mazel
Hi J
t; s2=signals[signal][1]
>
> ax2=fig.add_axes([0.1,0.5,0.8,0.2],**axprops)
> ax2.plot(t,s2)
> ax2.axis([0,10000,-0.1,1.1])
> ax2.set_ylabel(signal,**yprops)
>
>
> for ax in ax1,ax2:
>setp(ax.get_xticklabels(),visible=False)
>
> #show()
> savefig('testplot.pn
Hi Jon,
On Thursday 15 May 2008 03:17:29 Jon Choy wrote:
> I maybe asking a dumb question, forgive me I'm a novice. I try to add
> a ylabel and the left portion of the signal name is cut off when it is
> plotted. I can't seem to find the option for displaying the whole
> signal. Or do I need to re
Hello list,
It may not be very important, but I collected some small bugs while exploring
the examples and for some of them I got little patches.
- for me their occur two "typos" in matplotlib/text.py (see the attached
text.patch, please)
- some examples don't work for me (see attached some_e
Hello list,
On Wednesday 07 May 2008 19:08:23 Michael Droettboom wrote:
> Matthias Michler wrote:
> > The second problem arises only with latest svn.
> > At the end of the mail there's the Traceback, which arises after clicking
> > the radiobutton during running example
Hello Markus,
On Saturday 10 May 2008 22:01:22 Markus Kuhn wrote:
> How can I extract from a figure or axes the data that it currently
> displays?
>
> I had hoped that something like
>
> from pylab import *
> plot([1,3,2])
> data = getp(gca(), 'data')
> xdata = getp(gca(), 'xdata')
> ydata = getp(
Hi Soren,
I'm not sure I understood well, but maybe you mixed something up and the
following works:
On Thursday 08 May 2008 14:09:56 Søren Nielsen wrote:
> I've been messing around with it alot now.. but I still can't get a
> colorbar on my image plot..
>
> I think i got close with this:
>
> img
Hello all,
first of all I want to thank the developers for the plotfile-function.
Nevertheless I would like to report a bug of the function and propose addional
functionality. I added a patch including the following changes:
- circumvent the NameError in the case of len(cols)==1 (N is not define
Hello list,
the nice example of sliders and buttons from the matplotlib screenshots
doesn't work anymore (at least) for me under mpl 0.91.2 and latest svn.
In http://matplotlib.sourceforge.net/screenshots/slider_demo.py
the replacement >hovercolor=0.975<
-> >hovercolor="
Hello Bryan,
On Tuesday 06 May 2008 20:07:58 Bryan Fodness wrote:
> I would like to be able to draw a triangle on the graph outside the axes
> and plot area. I have used fill before, but that was in the plot area.
> Can someone push me in the right direction?
Would it be helpful to have a axes
Hi Sam,
On Monday 28 April 2008 05:09:36 samwo wrote:
> Hi.
>
> I run these codes in ipython command line interface.
>
> from pylab import *
> subplot(211)
> plot([1,2,3],[1,2,3])
There is a small typo (or a wrong method):
> set(gca(), xtickslabel = [])
needs to be
setp(gca(), xticklabels = [])
Hello Glenn
Do you refer to a special example?
Maybe the following helps you.
--
from pylab import *
ion()
ax = subplot(111)
# ... some plotting
ax.relim() # reset intern limits of the current axes
ax
101 - 200 of 265 matches
Mail list logo