Just in case nobody responded to you, yet...
Are you asking how to plot a trend line onto a figure already containing
data, or are you asking how to calculate a trend line from the data? If you
need to calculate a trend line, then you need to use the SciPy module. If
you already have your trend
Just to make sure, were you calling subplots_adjust() *before* calling
subplot()? Calling it after subplot() shouldn't have an effect on the
already created axes (I think...).
Ben Root
On Thu, Jun 10, 2010 at 3:41 PM, mdekauwe wrote:
>
> Unless I am mistaken subplots_adjust doesn't do anything
Ola,
Just to make sure, have you tried "ax.set_xticks([])"?
Ben Root
On Fri, Jun 11, 2010 at 3:05 AM, Ola Skavhaug wrote:
> Hi,
>
> I'm trying to remove the xtickmarks and ytickmarks from a 3d plot,
> without any success.
>
> The example I experiment with is the following:
>
> from mpl_toolk
Stephane,
First off, you probably do not want to use a surface plot. Rather, pcolor
might be more appropriate.
In addition, if you can take the azimuth-range coordinates and convert that
into x-y coordinates, you can then plot a pcolor using just that. The code
would look something like so (ass
Try "ax.set_xticks([])", I think that works for 2D plots.
Ben Root
On Thu, Jun 17, 2010 at 11:22 AM, Jeff Perry wrote:
> can someone tell me how to turn off the tick marks on my plot?
>
> i tried this
>
>[line.set_marker('None') for line in ax.get_xticklines()]
>
> but this turns off the la
On Tue, Jun 22, 2010 at 3:45 AM, Matthias Michler
wrote:
> 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
Jon,
One thing you can do is to manually specify the levels to contour for in the
contour call, or just specify the number of contours (and contour() will
figure out the levels for you). The fourth argument to contour() allows you
to give a sequence of values (or an integer) for the isopleths. S
> 4.5, [0, 1])
That should do the trick as well (assuming you know the level that you want
the isopleth for).
Ben Root
On Tue, Jun 22, 2010 at 6:27 PM, Benjamin Root wrote:
> Jon,
>
> One thing you can do is to manually specify the levels to contour for in
> the contour call, or jus
Stephen,
Most likely, the program isn't really going back to the "original" axes as
much that it is automatically setting the axes to fit all the data from the
new plot (which would likely be the "original axes", but only by
coincidence). I am sure there is some sort of easy way to do this, but t
Benoit,
Is there any particular reason why you can't do a log10() of the data that
is being pcolor()'d and then label the colorbar as having units of dB? That
would seem to be the most straight-forward approach to me.
Ben Root
2010/6/24 Benoit Donnet
> Hi guys,
>
> I'm struggling with colorb
Ah, I just noticed that.
Actually, I think I just figured out what is happening. The colorbar
automatically chooses what values to display, and in your case, the values
are 0.0, -0.4, -0.8, -1.2, -1.6, ..., -3.6, which when turned into integers
are 0, 0, 0, -1, -1, ..., -3, which matches what you
Ranjit,
There are a couple of possibilities. The first is that the TrueType fonts
packages weren't detected during the build, so matplotlib compiled without
it, leading to your issue. I have also seen an issue where your
~/.matplotlib/ needs to be cleaned out of font-related files. Another
poss
>
>
> On Fri, Jun 25, 2010 at 12:59 PM, Benjamin Root wrote:
>
>> Ranjit,
>>
>> There are a couple of possibilities. The first is that the TrueType fonts
>> packages weren't detected during the build, so matplotlib compiled without
>> it, leading to y
atplotlib
> developer wiki doesn't turn up anything. There isn't anything in the
> ~/.matplotlib directory. I just went ahead and recompiled numpy and
> matplotlib, and got the same error.
>
> -Ranjit
>
>
> On Fri, Jun 25, 2010 at 12:59 PM, Benjamin Root wrot
Just to note, in Linux, one can use the pdf2ps command. I believe Windows
users can use GhostScript to convert a pdf into an eps file rather than
using Illustrator for a simple conversion process.
Ben Root
On Sun, Jun 27, 2010 at 2:12 PM, Eric Firing wrote:
> On 06/27/2010 08:06 AM, Eliss Park
The griddata function should be doing delaunay triangulation by default, so
the result from griddata should be identical to the second plot. I see that
you are using a "mask" for x0, y0, v0. This is unnescessary, as you really
want to pass the "flat" arrays.
I can not get a masked array from gri
Hmm, there is definitely a difference in qualiity. Thanks for the tip!/
Ben Root
On Mon, Jun 28, 2010 at 11:46 AM, Eric Firing wrote:
> On 06/28/2010 04:30 AM, Benjamin Root wrote:
> > Just to note, in Linux, one can use the pdf2ps command. I believe
>
> I recommend the pdf
On Thu, Jul 1, 2010 at 10:42 AM, ninjasmith wrote:
>
>
>
> >
> > Hi,
> >
> > I think what you are after is the interactive mode of matplotlib. You can
> > turn
> > is on by "ion" and redraw the current figure using "draw". In ipythons
> > "pylab"
> > mode this is done implicit. I attached some exa
Ademir,
I am glad it is working for you now. Just as a note, the unicode() function
uses whatever encoding that is default on your system. Therefore, if it is
possible for you to get inputs of strings in other encodings, then it is
considered good practice to handle this at the point of string c
Jeremy,
The pcolor function can take a vmin and a vmax parameter if you wish to
control the colorscaling. In addition, you can use a special array
structure called a "masked array" to have pcolor ignore "special" values.
Assuming your data is 'vals':
vals_masked = numpy.ma.masked_array(vals, val
I should first note that the way to do animations in matplotlib will
probably be improved soon, the current methods should still be valid.
Ok, the way how I understand how blitting works is that a copy of the static
background is made before any of the "sprites" are drawn. That static
background
Well, as far as I can tell, all zooms are manual unless done explicitly
through the code (maybe you meant a situation where a window resize triggers
a change in the data limits?) Anyway, you might want to look at some of the
set_aspect() options. Also, in the latest version (1.0), we have made so
Samuel,
Fortunately, matplotlib keeps all of the files that it compiles with the
python files that it installs. On Ubuntu, I believe that the installation
directory was /usr/lib/python2.?/dist-packages/matplotlib* (note, I don't
remember the exact version of python and the exact name of the matpl
Bala,
the white space you see is due to contourf trying to have the axes ticks end
on a round number. If you don't want that behavior, you can set the limits
of the plot after calling contourf() with something like this:
contourf(X, Y, Z)
xlim(x_min, x_max)
ylim(y_min, y_max)
presuming you woul
Try out the xlim() function. It can take a tuple of values, or two
arguments.
Ben Root
On Wed, Jul 7, 2010 at 4:57 AM, abbb wrote:
>
> Hi there,
> I am trying to rotate the axis of my hammer plot. They are set to span from
> -pi to pi along the x-axis and pi/2 to -pi/2 on the y-axis, however,
imshow requires the data to be regularly spaced. use pcolor instead.
Also, to be clear, pcolor() can take 1-D X and Y arguments, but only if it
is regular. If the coordinates are irregular, then you need to use 2D X and
Y arguments.
Ben Root
On Wed, Jul 7, 2010 at 5:15 PM, Ross Williamson <
ro
Yes, I believe so. I believe it is possible to create the axes with
navigation disabled so that their callbacks are never connected. Then, you
can use the same callback system to trigger the axes pan and zoom on your
own controls.
http://matplotlib.sourceforge.net/users/event_handling.html
http
wrote:
> On Thu, Jul 8, 2010 at 8:41 AM, Jeremy Conlin wrote:
> > On Sun, Jul 4, 2010 at 8:38 PM, Benjamin Root wrote:
> >> Jeremy,
> >>
> >> The pcolor function can take a vmin and a vmax parameter if you wish to
> >> control the colorscaling. In ad
, 2010 at 8:43 PM, Jeremy Conlin wrote:
> On Friday, July 9, 2010, Benjamin Root wrote:
> > Jeremy,
> >
> > I believe that 0.99.1 is fairly old. I don't know when Axes3D came
> along, but I am sure you can find it in 0.99.3. It is most definitely in
> 1.0, but you
Pellegrini,
Sorry for the delay. The answer is that, unfortunately, it is not possible
to reshow a figure after closing it, even if you still have the figure
object. Because of GUI backends, the close action destroys some GUI objects
that were created when the figure was created. Therefore, a r
Steve,
Could you please attach an example image of what you are seeing?
Ben Root
On Wed, Jul 14, 2010 at 5:52 PM, Steve McFarlin wrote:
> Hello,
>
> I am trying to create a color map that maps 18 colors across 50 levels. As
> an example let say I have three colors [r,g,b] and want everything b
> On Jul 14, 2010, at 4:12 PM, Benjamin Root wrote:
>
> Steve,
>
> Could you please attach an example image of what you are seeing?
>
> Ben Root
>
> On Wed, Jul 14, 2010 at 5:52 PM, Steve McFarlin
> wrote:
>
>> Hello,
>>
>> I am trying to create
e as if contour is being called
> with a line width of 1 and a color of white. Setting these line width to 0
> did not make a difference.
>
>
> Thanks,
> Steve
>
> On Jul 14, 2010, at 5:24 PM, Benjamin Root wrote:
>
> Steve,
>
> The ghost lines appear to be an artif
On Thu, Jul 15, 2010 at 8:41 AM, Waléria Antunes David <
[email protected]> wrote:
> Hi all,
>
> I have a code base so that:
>
>
> from pylab import *
> x = arange (3000,3400)
> y = -108 * (3.0e14 ** 2)/x**2
>
> pylab..title("Teste")
> pylab.savefig("imagem.png")
> plot(x, y)
>
>
> Well
Since no-one has replied to this, let me see if I can come up with an idea.
Assuming you are using Linux or a Mac, I wonder if it is somehow possible to
"save" a .ps file to a postscript device? I have never had to do any Linux
magic with CUPS, so maybe this isn't possible. Anybody else have any
Please attach the code you used to generate this image.
Ben Root
On Fri, Jul 16, 2010 at 7:11 AM, Waléria Antunes David <
[email protected]> wrote:
> I forgot of the my image.
>
>
> On Fri, Jul 16, 2010 at 9:10 AM, Waléria Antunes David <
> [email protected]> wrote:
>
>> Hi...
>>
>>
On Sat, Jul 17, 2010 at 6:14 AM, Pavlo Shchelokovskyy <
[email protected]> wrote:
> Hi all,
> on my workplace I use matplotlib in restricted Windows environment.
> Since couple of versions matplotlib Windows installer needs elevated
> user privileges to work (why?), but installation from Py
On Sat, Jul 17, 2010 at 12:46 PM, Benjamin Root wrote:
> On Sat, Jul 17, 2010 at 6:14 AM, Pavlo Shchelokovskyy <
> [email protected]> wrote:
>
>> Hi all,
>> on my workplace I use matplotlib in restricted Windows environment.
>> Since couple of versions m
On Fri, Jul 16, 2010 at 12:34 PM, Simon Friedberger <
[email protected] > wrote:
> Hello List.
>
> Is it just me or does the alignment in the picture at
> http://matplotlib.sourceforge.net/users/text_props.html
> look off?
>
> Best
> Simon
>
>
Maybe. To me, the rotated "with newlines" t
On Thu, Jul 15, 2010 at 9:13 PM, Jeff Berry wrote:
> Hi,
>
> I'm using the new mixed axes feature in matplotlib 1.0.0 to combine 3D and
> 2D plots in a single figure. The problem is that the 3D axes have a lot of
> extra white space around them that prevents the plot to line up flush with
> the 2D
On Thu, Jul 15, 2010 at 2:44 PM, texas_ranger wrote:
>
> The source code for radar_chart.py located in the Matplotlib docs at
>
>
> http://matplotlib.sourceforge.net/examples/api/radar_chart.html?highlight=radar%20chart
>
> does not work. Seems to be problem with legend.
>
> Can someone tell me w
On Wed, Jul 14, 2010 at 4:54 AM, Robert Hancock wrote:
> Hi
>
> I am trying to use autofmt_xdate() on graphs with more than 1 y-axis. But
> it
> seems that even calling twinx() causes errors. On python 2.5 matplotlib
> 0.98
> a call to twinx() seems to switch off the functioning of autofmt_xdate(
On Mon, Jul 19, 2010 at 9:55 AM, Bala subramanian wrote:
> Friends,
>
> Attached a script test.py and 2 data files using with which i am trying to
> make a bar plot. The output is coming nice, but the x-ticks are placed at
> the left edge of the first bar. I want to make the xticks at the center
Somehow, this doesn't seem very satisfying. It is almost accidental. There
has to be a better way to do this.
Ben Root
2010/7/20 Thøger Emil Juul Thorsen
> One way is to specify the axes manually, e.g. setting:
>
> (with matyplotlib.pyplot importad as plt:)
>
> plt.axis([200, 500, -600, 600])
On Wed, Jul 21, 2010 at 3:40 PM, Jenna Lemonias wrote:
> I am trying to save a matplotlib 2d array image with an overlaid contour as
> an eps file. The contour appears to be shifted with respect to the image
> underneath in the eps file, particularly when I zoom in on the image. This
> shift is
On Thu, Jul 22, 2010 at 3:30 AM, aliko wrote:
> Could please anyone help me to get axises autoscaling in following
> example? I took it from the examples and slightly modified it to remove
> all unecessary things trying to make it as short as possible.
>
> Thanks in advance!
>
> import sys
>
> fr
On Fri, Jul 23, 2010 at 3:18 AM, aliko wrote:
> Although the curves now are fitting in the box, the axes data does not
> updated and freezes at some initial values. I'm also reworked example in
> order to use two Y axises one to the left and one at the right. And the
> second plot attached to the
On Sat, Jul 24, 2010 at 12:17 PM, João Luís Silva wrote:
> On 07/13/2010 02:31 AM, John Hunter wrote:
>
>> On Mon, Jul 12, 2010 at 8:05 PM, John Hunter wrote:
>>
>>> All of which is discouraging: we both see bugs but different ones on
>>> linux, the appearance of the bug is caused by adding a co
On Sat, Jul 24, 2010 at 7:18 AM, arsbbr wrote:
>
> Hi,
> i'm trying to make a simple 3d plot of a cylinder with plot_surface.
> There are two problems in my output:
> 1) the shading, shading does not work on the cylindric shell and at the
> same
> time produces weird
> artifacts on the top cover.
On Sat, Jul 24, 2010 at 2:46 PM, arsbbr wrote:
>
> Thank you for looking into it!
> It would be perfectly fine for me to merge the two objects, so that one
> surface_plot command will do it.
> Maybe someone can give me a hint how to accomplish that?
>
> I appreciate any t
On Sat, Jul 24, 2010 at 3:22 PM, Satish Raghunath wrote:
> Hi,
> Can anyone please tell me about the tk development packages. Where can I
> find the tk development packages .
> I am using the following operating system
>
> *Red Hat Enterprise Linux Client release 5.3 (Tikanga)*
>
> Also can anyo
On Sat, Jul 24, 2010 at 8:08 PM, Satish Raghunath wrote:
> Hi,
> I am getting this error when using matplot . No module named _tkagg . Can
> anyone please tell me about this error and what does tkagg mean .
> Thanks!
> Satish
>
>
Satish, this error occurs if you build matplotlib from source wi
On Sun, Jul 25, 2010 at 5:19 AM, arsbbr wrote:
>
> Thanks, this was quite a tiny weekend project for you :)
> I'll keep you tip in mind.
>
> Concerning the foreground/background issue: The problem here seems quite
> random. It does not depend on the viewing angle. I rather just have to be
> lucky
On Sun, Jul 25, 2010 at 1:55 AM, Satish Raghunath wrote:
> Hi
> I am getting this error*
> File "aerialvision1.py", line 79, in
> import startup
> File "/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/startup.py",
> line 68, in
> import guiclasses
> File
> "/home/satish/gpgpus
On Sun, Jul 25, 2010 at 1:27 PM, Satish Raghunath wrote:
> Hi
> I got this error when I was trying to build the matplot lib
> .src/backend_gdk.c:8:25: error: pygtk/pygtk.h: No such file or directory
> src/backend_gdk.c: In function âpixbuf_get_pixels_arrayâ:
> src/backend_gdk.c:18: error: âPyG
On Sat, Jul 24, 2010 at 3:11 PM, John Hunter wrote:
> On Sat, Jul 24, 2010 at 1:56 PM, Benjamin Root wrote:
> > On Sat, Jul 24, 2010 at 12:17 PM, João Luís Silva
> wrote:
> >>
> >> On 07/13/2010 02:31 AM, John Hunter wrote:
> >>>
> >>>
On Sun, Jul 25, 2010 at 5:04 PM, John Hunter wrote:
> On Sun, Jul 25, 2010 at 3:14 PM, Benjamin Root wrote:
> > I tried a bunch of the animation examples and widget examples with and
> > without the patch. I could not find one that was affected by this bug,
> > howev
On Sat, Jul 24, 2010 at 4:57 AM, eck naysmith wrote:
> Hello,
>
> I've installed the following Python packages on a Windows XP machine:
>
> Python 2.6.5
>
> Python 2.6 numpy-1.4.1
>
> Python 2.6 matplotlib-0.99.3 [installer - matplotlib-0.99.3.win32-py2.6]
>
> Python and Numpy work correctly. Ma
On Sat, Jul 24, 2010 at 1:51 PM, Josh Lawrence wrote:
> Hello,
>
> I looked on your website for the different line styles. In the
> documentation for matplotlib.lines.line2D.set_linestyle, the dashed
> linestyle is listed as '-' and not '--'. It it my understanding that
> dashed should be '--'. I
On Mon, Jul 26, 2010 at 2:50 PM, Mathew Yeates wrote:
> Hi
> Is there any way to let the user rotate a 3D plot? I don't see an
> example which does this.
>
> -Mathew
>
>
What do you mean? By default, all 3D plots are rotatable by merely clicking
and draging the plot around. Or are you referring
On Mon, Jul 26, 2010 at 9:49 AM, Benjamin Root wrote:
> On Sat, Jul 24, 2010 at 1:51 PM, Josh Lawrence
> wrote:
>
>> Hello,
>>
>> I looked on your website for the different line styles. In the
>> documentation for matplotlib.lines.line2D.set_linestyle, the
On Mon, Jul 26, 2010 at 3:09 PM, David Mashburn
wrote:
> Hello!
>
> My name is David Mashburn, and I have been a very happy user of
> matplotlib for almost 5 years now, so let me start by saying thank you
> for this wonderful piece of software! I has been a blessing to me!
>
> I am creating a pro
On Tue, Jul 27, 2010 at 6:01 AM, German Ocampo wrote:
> Good morning
>
> Do you know where I could get examples of case stories about
> commercial or open source software that has been developed using the
> Matplotlib library?
>
> Many Thanks
>
> German
>
>
German,
Interesting idea. Might be so
On Tue, Jul 27, 2010 at 2:25 PM, wrote:
> Hallo,
>
> I got a depth problem with Axes3D. I made a plot_surface and add 2 Circle
> object with add_patch and mpl_toolkits.mplot3d.art3d.patch_2d_to_3d.
>
> The problem is that the circles are always in front. I upload a picture
> here http://yfrog.com
(p, z=0, zdir="y")
>
> ax.set_ylim3d(-0.5, l+.5)
> ax.set_xlim3d(-l*0.5-0.5, l*0.5+0.5)
> ax.set_zlim3d(-l*0.5-0.5, l*0.5+0.5)
>
> plt.show()
> #CODE
>
> greetz
>
> Frank
> Am 27.07.2010 21:36, schrieb Benjamin Root:
> > On Tue, Jul 2
On Tue, Jul 27, 2010 at 1:31 PM, Friedrich Romstedt <
[email protected]> wrote:
> 2010/7/26 Benjamin Root :
> > After some reading of sphinx documentation, it appears to be a bug with
> > sphinx (or actually, "smartypants") because it should
On Wed, Jul 28, 2010 at 2:39 PM, Angus McMorland wrote:
> On 28 July 2010 15:25, Waléria Antunes David
> wrote:
> > Hello all,
> >
> > Well, my problem is ... My current code is as follow bellow:
> > http://pastebin.com/7p2N5d64
>
> Hi Waléria,
>
> We can't easily fix your problem without knowin
On Wed, Jul 28, 2010 at 3:56 PM, Thomas Robitaille <
[email protected]> wrote:
> Hi,
>
> How does one plot an arrow in a log log plot? In the following example, I
> can't get the arrow head, regardless of what value I use for the head width:
>
> import matplotlib as mpl
> mpl.use('Agg')
On Thu, Jul 29, 2010 at 10:07 AM, Matthias Michler
wrote:
> 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
On Wed, Jul 28, 2010 at 1:54 PM, Eric Firing wrote:
> On 07/28/2010 05:48 AM, Benjamin Root wrote:
>
>> On Tue, Jul 27, 2010 at 1:31 PM, Friedrich Romstedt
>> mailto:[email protected]>> wrote:
>>
>>2010/7/26 Benjamin Root mailto:[email protected]&
On Thu, Jul 29, 2010 at 12:18 PM, Pellegrini Eric
wrote:
> Hello everybody,
>
> I would like to call a function when I close manually a window previously
> opened by a pylab.figure. I tried the following:
>
> f = pylab.figure()
> f.canvas.mpl_connect('close_event',my_function)
>
> but it fails bec
On Sun, Aug 1, 2010 at 9:55 AM, Tom Arens wrote:
> Hello everyone,
>
> does anybody know why the contour3D function has a fixed set of levels?
>
> contour3D(X, Y, Z, levels=10, **kwargs)
>
> I want to plot only one line for one level. With "contourf" it works:
>
>
>
> from mpl_toolkits.mplot3d im
On Sun, Aug 1, 2010 at 3:48 PM, Tom Arens wrote:
> Hello,
>
> I thought that it has to be like Ben wrote:
>
> -def contour(self, X, Y, Z, levels=10, **kwargs):
> +def contour(self, X, Y, Z, *args, **kwargs):
>
>
> Your suggestion Eric ( contour(X, Y, Z, [0] ) doesn't work as the levels
>
On Sun, Aug 1, 2010 at 4:10 PM, Benjamin Root wrote:
> On Sun, Aug 1, 2010 at 3:48 PM, Tom Arens wrote:
>
>> Hello,
>>
>> I thought that it has to be like Ben wrote:
>>
>> -def contour(self, X, Y, Z, levels=10, **kwargs):
>> +def contour(self
Hmmm, if I comment out the .savefig() and use the show(), I get no errors.
But I get the same key error if I try to save it as a pdf. However, if I
save it as a png, I get no problems.
Maybe it is a problem with the pdf backend?
Ben Root
On Mon, Aug 2, 2010 at 9:29 AM, Richard Lincoln wrote:
>
On Mon, Aug 2, 2010 at 2:15 AM, David Goldsmith wrote:
> On Sun, Aug 1, 2010 at 10:51 PM, David Goldsmith
> wrote:
>
>> Hi! Is there a way to see data values when imaging an array, say, e.g.,
>> when holding the cursor over a point?
>>
>> DG
>>
>
> I found the data_browser.py example - how do I
On Mon, Jun 14, 2010 at 2:14 AM, Ola Skavhaug wrote:
> On Fri, Jun 11, 2010 at 4:50 PM, Benjamin Root wrote:
> > Ola,
> >
> > Just to make sure, have you tried "ax.set_xticks([])"?
>
> Yes, I have tried that, but without success. Looks like the tick-logic
&
On Tue, Aug 3, 2010 at 11:12 PM, Michael Hannon wrote:
> Greetings. I'm unable to get mathtext to work properly on my linux system:
>
># cat /etc/redhat-release
>Fedora release 13 (Goddard)
>
># uname -a
>Linux localhost.localdomain 2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul
> 2
On Wed, Aug 4, 2010 at 12:26 AM, Oz Nahum wrote:
> Hi Everyone !
> This is urgent, I have to finish some plots by tomorrow, and I totally lost
> the ability to work with python matplotlib -
> "import pylab"
> "from pylab import *"
>
> all yield the following error:
>
> [code]Traceback (most rece
On Wed, Aug 4, 2010 at 10:00 AM, Jorge Scandaliaris
wrote:
> Jorge Scandaliaris writes:
> >
> > Hi,
> > I am adding several scatter plots to the same axis, each having a
> specific
> > color. When I call legend on the axis it correctly picks all scatter
> plots with
> > their symbols and labels,
On Wed, Aug 4, 2010 at 3:01 PM, Jorge Scandaliaris
wrote:
> Benjamin Root writes:
>
>
> > Hmm, this definitely looks like a bug.
>
> Should I fill a bug report about this?
>
> Jorge
>
>
Yes, please do, and then mention which bug report yo
On Wed, Aug 4, 2010 at 3:52 PM, Jorge Scandaliaris
wrote:
> Benjamin Root writes:
>
>
> >
> > Yes, please do, and then mention which bug report you filed to this
> thread.
> Ben Root
>
> Done. Bug number is 3039678
>
> Could this behavior be due to the fa
On Thu, Aug 5, 2010 at 2:48 AM, Jorge Scandaliaris
wrote:
> Benjamin Root writes:
> >
>
> > Probably not directly, but I hadn't thought about that before. For a set
> of
> > scatter points that are colored by values, what should the legend show?
> In
>
On Tue, Aug 10, 2010 at 12:15 PM, c.jeang <
[email protected]> wrote:
> Hello,
>
> where can I find mpl_toolkits.
> Because I install matplotlib with ipython and the command
> yum install python-matplotlib
> but as a result I have no axes3d.py file and when I tried the exa
On Wed, Aug 11, 2010 at 9:27 AM, John Hunter wrote:
> On Wed, Aug 11, 2010 at 7:10 AM, c.jeang
> wrote:
> > Hie john,
> > and thank you for your prompt answer.
> > my version is currently
> > the
> > 0.99.1.1
> > I am going to install the
> > 1.0.0
> > Thank again
> > Best regards
>
> If you are
On Sun, Jul 18, 2010 at 1:17 PM, Benjamin Root wrote:
>
>
> On Thu, Jul 15, 2010 at 9:13 PM, Jeff Berry wrote:
>
>> Hi,
>>
>> I'm using the new mixed axes feature in matplotlib 1.0.0 to combine 3D and
>> 2D plots in a single figure. The problem is that
On Thu, Aug 12, 2010 at 1:56 AM, Miha Tomšič wrote:
> Hello!
>
> I am having trouble saving figures to PNG with Agg backend. The problem is
> I can't get a PNG without transparency even if I specify:
>
> fig.savefig("colorAgg.png", dpi=300, transparent=False)
>
> identify still indicates there is
On Sat, Aug 14, 2010 at 11:25 AM, Toby Burnett wrote:
> YAxis:
> The documentation (http://matplotlib.sourceforge.net/api/axis_api.html)
> says:
>
> "Set the ticks position (left, right, both, default or none) 'both' sets
> the ticks to appear on both positions, but does not change the tick label
On Mon, Aug 16, 2010 at 10:59 AM, Mathew Yeates wrote:
> Hi
> I want my plot to be visible when I display some text over it. Why
> doesn't this work?
> fig = plt.figure(figsize=(5,5), dpi=100)
> ax=fig.add_axes([0.1,0.1,0.8,.8])
> ax.hist(data)
> box1 = TextArea("Minimum: %f" % mind, textprops=dic
On Mon, Aug 16, 2010 at 1:17 PM, Carlos Anderson wrote:
> I have an older version of matplotlib (0.98.5.2), but when I do this:
>
>
>
> sudo apt-get install python-matplotlib
>
>
>
> it says "python-matplotlib is already the newest version" and it doesn't
> download the latest version, which i
On Mon, Aug 16, 2010 at 2:23 PM, Carlos Anderson wrote:
> Ben,
>
>
>
> Thank you! I removed my current version of matplotlib, then downloaded the
> source code for the newest version, compiled it, installed it, and now
> everything works! I only had one error during compilation, which I fixed by
On Mon, Aug 16, 2010 at 5:20 PM, Graham Taylor wrote:
> I'm trying to display several rectangles (from matplotlib.patches) in 3D.
> I thought it would be possible to use the add_collection3d method similar to
> the demo on the examples page:
> http://matplotlib.sourceforge.net/mpl_toolkits/mplot3
On Wed, Aug 18, 2010 at 3:53 AM, Michal Lorenc wrote:
> Hello,
> I have Python in my home directory installed and when I tried to install
> matplotlib in the following way:
> x...@wp: ~/temp/matplotlib-1.0.0 $which python
> ~/programs/python/bin/python
> x...@wp: ~/temp/matplotlib-1.0.0 $python s
On Wed, Aug 18, 2010 at 8:03 AM, Nils Wagner
wrote:
> Hi all,
>
> Is it possible to create a polar plot, where the lower
> bound of the radius is larger than zero ?
> I would like to plot an annulus.
>
> Any pointer would be appreciated.
>
> Thanks in advance
>
>
On Thu, Aug 19, 2010 at 6:49 AM, Rob Schneider wrote:
> > On Wed, Aug 18, 2010 at 3:32 PM, Friedrich Romstedt
> > wrote:
> >> 2010/8/14 Rob Schneider :
> Agreed. The only thing I can think of is that the second figure is
> reusing the first. You can try calling plt.figure() at the begin
On Thu, Aug 19, 2010 at 5:05 PM, Bala subramanian wrote:
> Friends,
>
> I would like to place grid lines (precisely draw lines) at specific (x,y)
> coordinates. If i am not wrong, grid() function will take only True/False
> arguments. Someone kindly write me if there is any way to do this.
>
> T
On Fri, Aug 20, 2010 at 2:18 AM, Eric Emsellem wrote:
> Hi
>
> I have one very nagging issue which I would like to solve with matplotlib
> once
> and for all: this may have to do with my desktop windown manager but I
> couldn't
> find much there, so any input is welcome.
>
> When I open a new fig
On Fri, Aug 20, 2010 at 9:51 AM, Tony S Yu wrote:
>
> On Aug 20, 2010, at 10:41 AM, Benjamin Root wrote:
>
> On Fri, Aug 20, 2010 at 2:18 AM, Eric Emsellem wrote:
>
>> Hi
>>
>> I have one very nagging issue which I would like to solve with matplotlib
>> o
On Fri, Aug 20, 2010 at 8:33 AM, Michael Droettboom wrote:
> On 08/19/2010 05:53 PM, Friedrich Romstedt wrote:
> > 2010/8/19 Michael Droettboom:
> >
> >> On 08/18/2010 06:03 PM, Friedrich Romstedt wrote:
> >>
> >>> Is the attached issue with a plain polar axes already fixed? I never
> >>> encoun
On Fri, Aug 20, 2010 at 10:12 AM, Ryan May wrote:
> On Fri, Aug 20, 2010 at 9:41 AM, Benjamin Root wrote:
> > One possibility for this behavior might be that you might be defaulting
> to a
> > different backend than QT. I would imagine if matplotlib is defaulting
> to
>
901 - 1000 of 1482 matches
Mail list logo