On Thursday September 9 2010 20:33:03 sa6113 wrote:
> I want to use backendQtAgg inorder to imbed plot dialog into basic dialog
> and by clicking the labels open plot option.
> I couldn't use 'motion_notify_event' because the event only handles into
> plot area not in canvas area!!!
> anybody knows
On Monday November 29 2010 22:01:29 Matthew W. Priddy wrote:
> Matplotlib developers,
>
> I really like using matplotlib to create quality plots, and it seems to
> have an option for just about everything. However, one thing that is not
> easy to change is the location of minor tick marks. To se
Hello list,
I run into trouble with the resent svn version using logarithmic scaling as
before. This is probably due to the changes from rev 8730 to 8732, where in
the ticker,py the line
ticklocs = self._transform. ...
was added.
Running my program I get the following AttributeError:
File
On Thursday October 7 2010 12:06:26 Matthias Michler wrote:
> Hello list,
>
> I run into trouble with the resent svn version using logarithmic scaling as
> before. This is probably due to the changes from rev 8730 to 8732, where in
> the ticker,py the line
>
> tickl
On Tuesday August 10 2010 20:31:02 Michael Waters wrote:
> Hi, I am making a simple pie chart that needs to be small ~3x3 inches.
> The problem I am having is that the text labels get pushed out side the
> figure. Is there anyway to make the plot smaller relative to the figure
> size? Here is my co
On Thursday July 29 2010 12:05:24 Bala subramanian wrote:
> Friends,
> I wrote a small script to plot a data and its pdf in single figure but as
> two subplots.
>
> 1) However i want to share xaxis of ax2 (subplot 122) with the y axis of
> ax1 (subplot 121). What function should i use do that. I t
On Monday July 26 2010 18:23:29 Waléria Antunes David wrote:
> Hello all,
>
> I need to format the values of graphic to KHz.my values are in Hz
> see at idle python it displays the values as: 3000 3050 3100 3400 ,
> but I need to go where it will be displayed KHz: 3.0 3.1
>
> can someon
On Friday July 9 2010 06:02:58 per freem wrote:
> How can I plot the empirical CDF of an array of numbers in matplotlib
> in Python? I'm looking for the cdf analog of pylab's "hist" function.
>
> One thing I can think of is:
>
> from scipy.stats import cumfreq
> a = array([...]) # my array of num
On Friday July 9 2010 00:06:05 Shir J. Livne wrote:
> Hello,
>
> I keep getting the error "ValueError: Need more than 1 value to unpack"
> every time I try to use the line ax.plot_wireframe(myArray[:,0],
> myArray[:,1], myArray[:,2])
>
> What does that error mean?
Hi Shir,
I think you used 1d-a
On Wednesday July 7 2010 05:53:59 jezhill wrote:
> Hi all,
>
> I've been experimenting with the NonUniformImage class. (Actually I want
> *uniform* pixel spacing, but I want the image x and y coordinates to have
> the correct *scaling* in the style of Matlab's image(x,y,C). The
> AxesImage clas
On Wednesday, June 30, 2010 06:24:12 pm Philippe Crave wrote:
> Hello,
>
> I have a subplot with 4 lines.
> I display the legend.
> I can remove a line easily with something like del(self.ax.lines[n]).
> But how can I remove the line in the legend ?
>
> I found that I can remove all the lines, ad
On Tuesday, June 29, 2010 03:32:00 pm ninjasmith wrote:
> hi there,
>
> I've got a bit stuck with running matplotlib in interactive mode. maybe
> what I want to do can't be done easily.
>
> want I want is a simple python script which I can run with a file argument.
> this will then create some p
On Tuesday, June 22, 2010 10:03:06 am Eric Firing wrote:
> On 06/21/2010 09:28 PM, Matthias Michler wrote:
> > On Monday, June 21, 2010 06:30:04 pm Eric Firing wrote:
> >> On 06/21/2010 06:10 AM, Matthias Michler wrote:
> >>> Hello list,
> >>>
> &g
On Monday, June 21, 2010 06:30:04 pm Eric Firing wrote:
> On 06/21/2010 06:10 AM, Matthias Michler wrote:
> > Hello list,
> >
> > I'm encountering a strange problem with the RectangleSelector using the
> > latest version of svn. Namely it doesn't wo
Hello list,
I'm encountering a strange problem with the RectangleSelector using the latest
version of svn. Namely it doesn't work if it wasn't initialized as
RS = RectangleSelector(...)
but using
RectangleSelector(...)
in my script.
I modified the example rectangle_selector.py from the folder e
Hi Daniel,
show should be called only once in a script (see also:
http://matplotlib.sourceforge.net/faq/howto_faq.html?highlight=show#use-show)
and it starts the mainloop, in which the user may interact with the plot using
for instance button or key press events like in my second example. Whene
On Monday, June 14, 2010 10:32:48 pm Daniel Jones wrote:
> Hi matplotlib users,
>
> I'm trying to write a script to loop through a bunch of tiff files,
> display each image, and choose to accept or reject each image.
> Something like:
>
> for f in files:
>im = imread(f)
>imshow(im)
>#
On Thursday, June 10, 2010 09:57:44 am Eric Firing wrote:
> On 06/09/2010 09:15 PM, Matthias Michler wrote:
> > On Wednesday, June 09, 2010 08:00:13 pm Eric Firing wrote:
> >> On 06/08/2010 11:07 PM, Matthias Michler wrote:
> >>> On Wednesday, June 09, 2010 11:00:31 a
On Wednesday, June 09, 2010 08:00:13 pm Eric Firing wrote:
> On 06/08/2010 11:07 PM, Matthias Michler wrote:
> > On Wednesday, June 09, 2010 11:00:31 am Eric Firing wrote:
> >> On 06/08/2010 10:48 PM, Matthias Michler wrote:
> >>> On Friday, April 23, 2010 11:0
On Wednesday, June 09, 2010 11:00:31 am Eric Firing wrote:
> On 06/08/2010 10:48 PM, Matthias Michler wrote:
> > On Friday, April 23, 2010 11:08:50 am Matthias Michler wrote:
> >> Hello list, Hello developers,
> >>
> >> I'd like to summarize my d
On Friday, April 23, 2010 11:08:50 am Matthias Michler wrote:
> Hello list, Hello developers,
>
> I'd like to summarize my discussion with Gökhan ("Turning off minor grids
> on log scaled plot") in the last days and propose two patches.
>
> The first patch adds
Hello list,
I'm encountering a problem with annotate using the latest svn and GTKAgg-
backend.
I plot several annotate-arrows in my script, but some of them aren't saved to
the eps/pdf - file. More precisely the lower left arrow in the attached
example, who touches the lower (negative) boundary
On Thursday, May 13, 2010 12:31:08 am Alan G Isaac wrote:
> What is the preferred method to do the equivalent of plot_date
> with log scaling for the non-date values?
>
> Thanks,
> Alan Isaac
Hi Alan,
What about using 'plot_date' ans scaling the y-axis by hand?
In the example 'date_demo1.py' you
On Sunday 02 May 2010 20:19:29 aditya bhargava wrote:
> Is there a straightforward way of plotting a vector in matplotlib? Suppose
> I want to plot the vector [1 2]'. If I pass this vector in to plot(), I get
> the line that passes through (0,1), (1,2). Instead I want the line that
> passes through
On Wednesday 28 April 2010 15:07:21 Maxime Bois wrote:
> Hi all,
>
> I have created a figure with 4 subplots (2x2) and I want to separate
> them with a vertical and horizontal lines (see the green lines on my
> figure edited by Gimp) but I don't know if it's possible (I haven't find
> any example o
On Thursday 29 April 2010 15:02:34 James Jack wrote:
> Below is the working code to plot two different data series with different
> units on the same graph, with the same x co-ordinates:
>
>
>
> import pylab
> # generate some data
> x = range(0, 10)
> y1 = [i*i for i in x]
> y2 = [pylab.sin(0.4*i)
On Wednesday 28 April 2010 09:21:54 Eric Firing wrote:
> Matthias Michler wrote:
> [...]
>
> > First of all I think my previously described error in the over-color is
> > due to a bug in the set up of the colors.ListedColormap during the
> > initialisation of Contour
Hello list, Hi Eric,
I stumbled upon the old thread "ploting matrix data" and the changes in my
mpl-svn working copy allowing to provide under_color and over_color as a
keyword argument of contourf.
On Tuesday 14 April 2009 20:39:06 Eric Firing wrote:
> Matthias Michler
On Monday 26 April 2010 18:59:41 KrishnaPribadi wrote:
> Peter Buschman-2 wrote:
> > I ended up finding a solution to this by using a FixedLocator and
> > manually setting each of the tick
> > positions for both major and minor grids without overlap.
> >
> > I'm not sure if this is the recommended
rley-Davidson Motor Co.
>
> Talladega Test Facility
>
> Vehicle Test Stands (VTS)
>
> -Original Message-
> From: Matthias Michler [mailto:matthiasmich...@gmx.net]
> Sent: Friday, April 23, 2010 4:09 AM
> To: matplotlib-users@lists.sourceforge.net
> Subject: [Matpl
Hello list, Hello developers,
I'd like to summarize my discussion with Gökhan ("Turning off minor grids on
log scaled plot") in the last days and propose two patches.
The first patch adds the keyword argument 'which' from the axis.grid to the
method 'grid' of the Axes (axes_grid_for_major_and_m
On Wednesday 21 April 2010 19:06:09 Gökhan Sever wrote:
> On Wed, Apr 21, 2010 at 4:39 AM, Matthias Michler
>
> wrote:
> > I think it works like expected, i.e. it toggles the state of showing grid
> > lines for minor and major ticks.
> > The problem it the case were peop
On Wednesday 21 April 2010 08:10:00 Gökhan Sever wrote:
> On Tue, Apr 20, 2010 at 11:11 AM, Gökhan Sever wrote:
> > On Tue, Apr 20, 2010 at 2:42 AM, Matthias Michler
> > >
> > > wrote:
> >>
> >> Hi Gökhan,
> >>
> >> thanks
On Wednesday 17 March 2010 15:58:11 Matthias Michler wrote:
> On Wednesday 17 March 2010 15:05:32 John Hunter wrote:
> > On Wed, Mar 17, 2010 at 4:10 AM, Matthias Michler
> >
> > wrote:
> > > once more I'd like to ask for comments about my feature request and
&
On Monday 19 April 2010 20:36:15 Gökhan Sever wrote:
> On Mon, Apr 19, 2010 at 1:31 AM, Matthias Michler
>
> wrote:
> > On Sunday 18 April 2010 00:52:57 Gökhan Sever wrote:
> > > Hello,
> > >
> > > Let say we have a figure created by:
> > >
&
On Sunday 18 April 2010 00:52:57 Gökhan Sever wrote:
> Hello,
>
> Let say we have a figure created by:
>
> plt.plot(range(100))
>
> On WX backend plt.grid(1) or key "G" responds finely for turning on/off the
> grid lines. However when I log-scale both axes then plt.grid(1 or 0) or "G"
> doesn't res
On Friday 16 April 2010 16:49:05 Dr. Phillip M. Feldman wrote:
> I would like to specify the colors to be used for plotting out-of-range
> values via RGB triples rather than color name strings. Is this possible?
With matplotlib-svn it works for me.
What version of mpl are you using?
Kind regards
On Tuesday 13 April 2010 16:37:21 hettling wrote:
> Dear all,
>
> I want to plot 3 overlapping regions using fill() into one panel, but my
> solution looks sort of messy... Here is the code:
[...snip...]
> The figure looks like 4 regions are plotted, because overlapping red and
> yellow make an ora
On Wednesday 17 March 2010 15:58:11 Matthias Michler wrote:
> On Wednesday 17 March 2010 15:05:32 John Hunter wrote:
> > On Wed, Mar 17, 2010 at 4:10 AM, Matthias Michler
> >
> > wrote:
> > > once more I'd like to ask for comments about my feature request and
&
On Thursday 01 April 2010 12:27:59 timothee cezard wrote:
> Hi all,
> I have several graph to create and the position on the x axis can vary
> quite a lot.
> Most of the time I'm quite happy with the default behavior but when my x
> values are very high matplotlib automatically change the ticks and
On Thursday 01 April 2010 09:41:06 yogesh karpate wrote:
> Dear All,
>I have one .png image of 940X780 and i am plotting waveforms
> on it. When I save this plot as .png , matp[lotlib gives image in
> 800X600 that too with white space. I dont want to keep the white space and
> i wan
On Wednesday 31 March 2010 09:24:10 yogesh karpate wrote:
> Dear All,
>I am using one image of 235X130 and plotting the curve on
> it, now when i save it it goes in the resoltuion of 800X600,
> I want to keep the resolution intact.What can be done for that to keep the
> resolution
On Monday 29 March 2010 19:53:00 yogesh karpate wrote:
> Dear All,
> I want to make minor ticks working in following program.
> Here only major ticks are dis[played in grpah though i have declared the
> minor ticks
> minorticks_on() doesnt work in my code. How to fix that.Please he
On Monday 29 March 2010 13:56:51 Atomfried wrote:
> Hi,
>
> is it possible to perform a surface plot a NxM matrix with date-axes?
> Similar to plot_date for 1D-Plots. The dates are available as an N-sized
> (or M-sized) array of float values.
>
> At the moment, I am using imshow or matshow for the
On Monday 29 March 2010 01:51:30 Sunman wrote:
> Hello,
>
> I am trying to use the imshow() function for a 2-dimensional array.
>
> However, I am having issues with the following: When the array is perfectly
> square the image looks like this:
>
> http://old.nabble.com/file/p28063442/Plot2.png
>
>
On Wednesday 17 March 2010 15:05:32 John Hunter wrote:
> On Wed, Mar 17, 2010 at 4:10 AM, Matthias Michler
>
> wrote:
> > once more I'd like to ask for comments about my feature request and
> > proposed patch.
> > Should I post it at the 'feature request
On Thursday 04 March 2010 09:43:40 Matthias Michler wrote:
> On Wednesday 03 March 2010 19:10:10 Matthias Michler wrote:
> > Hello list,
> >
> > I'd like to bring something back, which was discussed in sep-dec 2008
> > "OSX 10.5 event.key bug", whi
On Tuesday 16 March 2010 14:17:26 Nick Schurch wrote:
> I have a script that calls several subroutines, each of which makes a
> different figure. One of these routines makes lots of figures for use
> in a webpage, all of which are saved as they are made. When I call
> show() at the end of the scrip
On Tuesday 09 March 2010 21:10:49 Alex S wrote:
> Hmm I think I could do this with TextWithDash, but I can't manage to use
> it... I go:
>
> CumGasTxt = fig.text(0.5, 0.5, 'Cumulative Gas (MCF)', withdash=True)
>
> and it says "AttributeError: Unknown property withdash".
>
> I tried changing "fig"
On Thursday 04 March 2010 17:11:54 kamaleon wrote:
> Thanks Matthias, this seems help me.
> But how to remove the xlabel, ylable and the tilte in the subplot?
> Cheers
>
> Matthias Michler wrote:
> > On Thursday 04 March 2010 13:35:12 kamaleon wrote:
[...]
Hi ,
what do you m
On Thursday 04 March 2010 13:35:12 kamaleon wrote:
> Hey All,
>
> I have a fig, see attach image. I am plotting the number of infected nodes
> versus time. Time is running from 0 to 100.
> I need to insert a subplot in that figure that shows me the number of
> infected nodes for time running from 0
On Wednesday 03 March 2010 19:10:10 Matthias Michler wrote:
> Hello list,
>
> I'd like to bring something back, which was discussed in sep-dec 2008 "OSX
> 10.5 event.key bug", which was initially posted by James Schombert.
>
> Did I miss any development in this fi
Hello list,
I'd like to bring something back, which was discussed in sep-dec 2008 "OSX
10.5 event.key bug", which was initially posted by James Schombert.
Did I miss any development in this field?
I tried to implement the latest proposal, which allows you to switch off the
mpl-axes-interactio
On Wednesday 03 March 2010 17:30:52 John Hunter wrote:
> On Wed, Mar 3, 2010 at 10:25 AM, Matthias Michler
>
> wrote:
> > On Wednesday 03 March 2010 17:02:58 John Hunter wrote:
> >> On Wed, Mar 3, 2010 at 9:56 AM, Matthias Michler
> >>
> >> wrot
On Wednesday 03 March 2010 17:02:58 John Hunter wrote:
> On Wed, Mar 3, 2010 at 9:56 AM, Matthias Michler
>
> wrote:
> > I attached a patch with modified documentation and further replacements
> > of 'get_bounds' in current svn. Could any of the developers have a
Hello list,
I get an error, when calling "ax.redraw_in_frame()" (see below).
I think this is due to the fact that the draw_wrapper expects args instead of
kwargs for the "draw" of an Axes instance and therefore provide a patch,
which adds an additional star.
Could any of the developers have a
On Saturday 27 February 2010 07:39:59 David Arnold wrote:
> All,
>
> On: http://matplotlib.sourceforge.net/users/artists.html
>
> In the Axes Container section, you can see in what follows that I got some
> very different responses than what is shown on the page:
>
> In [1]: fig=figure()
>
> In [3]
On Tuesday 02 March 2010 22:24:30 Heiko Bauke wrote:
> Hi,
>
> I use the text.latex.preamble rc setting to customize my plots.
> Everything works fine. However, a comma in this rc setting is
> interpreted as a new-line, thus, I wonder how can I create a LaTeX
> preamble that contains a comma? The s
On Thursday 25 February 2010 19:55:22 Nico Schlömer wrote:
> Hi all,
>
> I'd like to make a countour plot just like in
>
> http://matplotlib.sourceforge.net/examples/pylab_examples/contour_demo.html
>
> but instead of text at the contour lines I'd like to have arrows in
> the in the direction of th
t; w = width
> rect, = ax.bar(l, h, w, bottom=0, fill=False, hatch=patterns[n],
> log=True)
>
>
> draw()
Hi
if I replace
bottom=0
with
bottom=10**-3
in your script I see bars.
Kind regards,
Matthias Michler
--
On Wednesday 24 February 2010 00:45:56 David Goldsmith wrote:
> Hi! I'm trying to loop through all the built-in colormaps, applying each
> to an image before printing it to a file, then moving on to the next one.
>
> >>> from matplotlib import cm
> >>> for cmap in dir(cm): # cmap in cm doesn't wor
On Wednesday 17 February 2010 15:28:24 John Hunter wrote:
> On Wed, Feb 17, 2010 at 8:08 AM, Matthias Michler
>
> wrote:
> > Hi list, Hi Gökhan,
> >
> > I once more would like to say that I like the 2 new features introduced
> > by Gökhan (key 'k' for x
lp in order to bring this into matplotlib.
Kind regards,
Matthias
On Tuesday 02 February 2010 14:05:52 Matthias Michler wrote:
> Hi Gökhan,
>
> I'm sorry I didn't had the time to look into your patch in the last days.
>
> Today I did have a look at it and in my opinion you
Hi Ken,
On Monday 15 February 2010 20:35:06 Ken Dere wrote:
> Hi,
>
> I am trying to develop an application that I can run inside the ipython
> shell. One of my methods creates a plot, asks the user to make a choice
> based on that plot, and then creates another plot that displays the chosen
> se
On Monday 15 February 2010 09:28:10 Nico Schlömer wrote:
> Hi,
> thanks for the suggestion.
>
> > ax.set_xticks((-pi,pi))
> > ax.set_xticklabels(('$-\pi$','$\pi$'))
>
> I guess color bars are a little special in the sense that
>
>AttributeError: Colorbar instance has no attribute 'set_yticklabe
Hi Yagua,
On Friday 12 February 2010 17:04:27 Yagua Rovi wrote:
> Hello world!
> I am displaying on my screen a set of data corresponding to points
> defined by a longitude and latitude.
> The display is fine with the command imshow (mydata ,...)
>
> I would like now associate to the application
elp of IPython to investigate the doc-strings of
matplotlib-functions. The input "contour?" tells me
::
contour(Z,V)
contour(X,Y,Z,V)
draw contour lines at the values specified in sequence *V*
Kind regards,
Matthias
> Thanks so much!
>
> Bruce
> On
Hi Bruce,
why don't you use contour as in the following ;-)
contour(X,Y,Z,V)
# -> draw contour lines at the values specified in sequence *V*
like in
x, y = np.meshgrid(np.linspace(0, 1, 100), np.linspace(0, 1, 50))
z = x**4 - x**2 + np.sin(y)
contour(x, y, z, [-0.2, 0.0, 0.2, 0.4, 0.6, 0.8])
On Friday 12 February 2010 00:36:41 zxc wrote:
> 2 Problems:
>
> 1. How is it possible to maximize the window of the plot?
If the window is open and you are in the mainloop ypu can press ' f ' for
fullscreen mode. Furthmore you can modify the figure-size by
figure(figsize=(16, 8))
> 2. First I w
Hi Che,
I think turning off autoscaling is what you need:
import matplotlib.pyplot as plt
ax = plt.subplot(111, autoscaley_on=False, ylim=(0, 100))
plt.plot([1, 2], [-40, 40])
plt.show()
Kind regards,
Matthias
On Monday 08 February 2010 20:49:50 C M wrote:
> I'd like to set the ticks on the y a
On Tuesday 09 February 2010 17:38:18 Nick Schurch wrote:
> HI all,
>
> I've been using matplotlip for a while now but mainly for line plots,
> scatter plots and the odd dendrogram. I recently tried plotting a
> histogram (of a binomial function) and encountered a problem. So I
> though I'd try the
Hello list,
I encounter a problem with the method Axes3D.cla.
I'm running the follwing lines in "ipython -pylab"
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()
ax = Axes3D(fig)
draw()
Then I do have a Axes3D, in which I can perform zooming with left and right
mouse button. If I now
doesn't toggle full-screen --using qt4agg backend.
> >
> > There are a couple function duplicates. (eg. back with 'c' and left and
> > backspace keys. How can represent them? Create a list inside the
> > dictionary?
> > back = ['c', 'left&
Hi Jon,
one thing you can do is to get the (x, y)-values of the calculated
contourlines:
cs = plt.contour(z, levels=[0])
a = cs.collections[0].get_paths()[0].vertices
# -> array of shape (..., 2) hold x and y in first and second column
I don't know wheter this is the best way, but at least for
Hi,
do you mean a single point with coordinates x and y like
plot([1.2], [2.5], marker='+')
Regards,
Matthias
On Wednesday 27 January 2010 17:26:39 franck kalala wrote:
> Hey all
>
> how to plot a point coordinates in matplotlib?
> I want for example to plot the point of
> coordinates x=1.2,y
backspace keys. How can represent them? Create a list inside the
> > dictionary?
> > back = ['c', 'left', 'backspace']
> >
> > 'o' seems like unnecessary. Since you have to select an area using mouse.
> >
> > 's' doesn't
e provided in the matplotlibrc file. Users can
> make their key mapping based on their choice. That requires some more
> coding
>
> :)
>
> On Fri, Jan 22, 2010 at 1:59 AM, Matthias Michler
>
> wrote:
> > Hi Gökhan, Hi list members,
> >
> > This is really a
Hi Jeff,
you can do something like the following and specify the color for each bar by
providing a list of colors for the keyword argument 'color'.
import numpy as np
import matplotlib.pyplot as plt
# generate some data
left = np.arange(6)
height = np.random.uniform(size=6)
# plot 3 blue and 3
Hi Gökhan, Hi list members,
This is really a missing feature in matplotlib in my opinion and it's great
that you took the time to make an suggestion, but I would prefer capital "L"
for the xaxis-scaling like gnuplot although I'm not sure this is possible.
What do you and other list members thi
Hey Matt, Hello list,
I'm sorry, I'm not an expert in eps-graphics. For me the final pics look good
and I have no idea what is different between matplotlib eps-files and
eps-files generated somewhere else.
Maybe someone has an idea.
Kind regards,
Matthias
On Thursday 21 January 2010 10:37:32
Hi Matt,
I cannot see any difference between matplotlib generated eps and others.
I used the code below to generate the attached eps. Maybe you could be more
specific in what is rasterized in the wrong way. By the way what version of
matplotlib you are using?
Kind regards,
Matthias
import matp
If not, it's of course
> possible to manually apply the mapping - just less convinient)
>
> On Mon, Jan 18, 2010 at 11:49 PM, Matthias Michler
>
> wrote:
> > Hi Erik,
> >
> > with current svn I see markers of different size. What version of
> > matplotl
Hi Erik,
with current svn I see markers of different size. What version of matplotlib
you are using?
Kind regards,
Matthias
On Monday 18 January 2010 21:38:25 Erik Tollerud wrote:
> Is there a way to change the sizes of scatter plot markers for
> mplot3d.Axes3D.scatter3d ? I do
>
> from mpl_too
Hi Nico,
I'm not sure, but one reason could be different backends. What kind of backend
are you using on the 2 machines?
import matplotlib.pyplot as plt
print plt.get_backend()
( and what version of matplotlib
import matplotlib
print matplotlib.__version__
)
In case the backends are d
Hi Pierre,
I'm not sure I understand correctly - maybe you could provide a small
stand-alone example which illustrates your problem.
For me the following works fine:
ax = axes()
ax.bar(arange(10), np.random.uniform(size=10))
xticks(0.5+arange(10), ["$a_%i$" % (i) for i in arange(10)])
xlim(xmax
Hello,
I think you could do the following
On Wednesday 13 January 2010 19:14:08 Someday... wrote:
> Hello all,
>
> I am looking for a way to add points gradually to the plot over time.
> Currently, in every iteration, I plot the entire array, like:
>
plt.ion() # turn on interactive mode (otherwi
otlib.
In[11]: matplotlib.axes.Subplot.__name__
Out[11]: 'AxesSubplot'
I would expect that the case of the Subplot-objects is somehow singular and
all other mpl-objects can be classified using type and isinstance, but I'm
not an mpl-expert and maybe there are more special cases.
Kin
Hi Nico,
I'm sorry I cannot help you, but at least I'd like to share my findings with
you: I find the following statements to be true:
isinstance(gca(), matplotlib.axes.SubplotBase)
isinstance(gca(), matplotlib.axes.Subplot)
isinstance(gca(), matplotlib.axes.Axes)
but there is no class 'AxesSubpl
Hi Chris,
I think pyplot.axes does what you are after, e.g.
ax1 = axes([0.1, 0.3, 0.8, 0.6])
ax2 = axes([0.1, 0.1, 0.8, 0.1])
Kind regards,
Matthias
from the docs of pyplot.axes:
`axes(rect, axisbg='w')`` where *rect* = [left, bottom, width,
height] in normalized (0, 1) units. *axisbg* is
Hi Renato,
I think you have to flip the x-axis of the left plot by for instance
ax1 = subplot(121, xlim=(1, 0))
and I think than hist(data, orientation='horizontal') or manually using
barh-plots works fine.
Kind regards,
Matthias
On Thursday 07 January 2010 22:12:56 Renato Alves wrote:
> What I
Hi JJ,
Bugs item #2922835, was opened at 2009-12-29 15:29
Happy New Year!
Kind regards,
Matthias
On Tuesday 29 December 2009 15:13:39 Matthias Michler wrote:
> Hi JJ,
>
> I'm sorry for the late response - I was on chrismas holidays and in fact
> even now I have not much tim
anges if necessary.
>
> Regards,
>
> -JJ
>
>
> On Tue, Dec 15, 2009 at 10:22 AM, Matthias Michler
>
> wrote:
> > Hello list,
> >
> > I run into trouble with the formelly working
> > example ''ginput_manual_clabel.py'' or the
Hello list,
I run into trouble with the formelly working
example ''ginput_manual_clabel.py'' or the following minimal example (in
ipython -pylab)
CS = plt.contour(reshape(arange(20)%3, (4, 5)), [0, 1, 2])
CL = plt.clabel( CS, manual=True )
First of all I get a DeprecationWarning during the sta
Hi Manuel,
adding a "show()" to your script should resolve the problem. You don't need
this using ipython in "-pylab" mode, matplotlibs interactive mode or if you
save your figure to some file (savefig), but in your case you need to call
the main loop.
Kind regards
Matthias
from the docu: Use
ached image for an example.
>
> Cheers,
> Reinier
>
> On Thu, Dec 3, 2009 at 10:01 AM, Matthias Michler
>
> wrote:
> > Thanks a lot!
> >
> > Regards,
> > Matthias
> >
> > On Wednesday 02 December 2009 17:10:54 Reinier Heeres wrote:
> >>
Hi Abhi,
I added an example program which illustrates my idea using transformation of
axes-coord. to screen-coord. and from screen-coord. to fig-coord.
point_screen = ax.transAxes.transform_point(point_ax)
point_fig = fig.transFigure.inverted().transform_point(point_screen)
I don't know if
Hi Jorge, Hello list,
unfortunately I cannot help you, but I understand your problem and would like
to know about a solution, too. I encountered this problem in April/may 2007
(http://old.nabble.com/skip-mpl-axes-interaction-during-key_press_event's-td10221576.html)
because of the 'l'ogarthmic
Hello list,
are there any new developments about a field to input text or numbers, which
was discussed in thread "Prompt in MPL - NEVER MIND" in June 2007?
Especially I am interested if there exists a version of John Hunters
textbox2.py working with current svn, because I am not able to resolve
Hi Angelica,
I have to admit I don't get the point of what you want to do and maybe this is
true for others too. I tried something (see attachement), but maybe it is
better if you could set up an small example script or draw a picture of what
you want to see finally.
Kind regards,
Matthias
On
mber 2009 19:04:55 Jouni K. Seppänen wrote:
> Matthias Michler writes:
> > Do you know why is happens only for ps/eps-files?
>
> The ps backend uses TeX in a different way than the other backends. It
> uses psfrag and dvips to construct the final file.
>
> >> Have you
1 - 100 of 265 matches
Mail list logo