On Tue, Feb 1, 2011 at 6:31 PM, Eric Firing wrote:
> On 02/01/2011 02:18 PM, Benjamin Root wrote:
>> On Tue, Feb 1, 2011 at 6:05 PM, Jeremy Conlin > <mailto:jlcon...@gmail.com>> wrote:
>>
>> On Tue, Feb 1, 2011 at 5:00 PM, Benjamin Root >
On Tue, Feb 1, 2011 at 5:00 PM, Benjamin Root wrote:
>
>
> On Tue, Feb 1, 2011 at 5:48 PM, Jeremy Conlin wrote:
>>
>> I'm trying to create a custom colormap used with pcolormesh, but the
>> results seem inconsistent to me. I want the following colors
>>
I'm trying to create a custom colormap used with pcolormesh, but the
results seem inconsistent to me. I want the following colors
-3 < x <= -2 - Black
-2 < x <= -1 - Blue
-1 < x <= 0 - Yellow
0 < x <= 1 - Green
1 < x <= inf - Red
A minimal example is copied below. I have
On Tue, Feb 1, 2011 at 1:11 PM, Benjamin Root wrote:
>
>
> On Tue, Feb 1, 2011 at 1:48 PM, Jeremy Conlin wrote:
>>
>> On Tue, Feb 1, 2011 at 11:22 AM, Benjamin Root wrote:
>> >
>> >
>> > On Tue, Feb 1, 2011 at 11:58 AM, Jeremy Conlin
>> >
I have two arrays and I want to plot the ratio of A/B when A>=B or B/A
when A=B, fill_value=0.0)
ba = numpy.ma.masked_array(B/A, mask=Ahttp://p.sf.net/sfu/arcsight-sfd2d
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://list
On Fri, Sep 17, 2010 at 12:44 AM, Scott Sinclair
wrote:
> On 16 September 2010 22:52, Jeremy Conlin wrote:
>> I have a colorbar which has some ticks, but I would like to add my own
>> ticks without replacing any of the existing ones. In addition, I
>> would like to give
I have a colorbar which has some ticks, but I would like to add my own
ticks without replacing any of the existing ones. In addition, I
would like to give the ticks a different labels like "min" and "max".
Can someone show how this might be done?
Thanks,
Jeremy
--
On Wed, Sep 8, 2010 at 10:42 AM, Tony S Yu wrote:
>
> On Sep 8, 2010, at 11:56 AM, Jeremy Conlin wrote:
>
>> I have trouble getting any symbols or any super/sub scripts to work
>> since I upgraded to 1.0 a few months ago. I always get a message
>> saying that some fon
I have trouble getting any symbols or any super/sub scripts to work
since I upgraded to 1.0 a few months ago. I always get a message
saying that some font isn't found. This occurs whenever I try to put
symbols, superscripts, or subscripts in a label, or when I use a log
scale (because then it MPL
I have a matplotlib plot that I saved to a pdf image. The plot
consists of 1E5 dots plotted with varying colors and opacities.
Actually 1E5 black dots with varying opacities and 64 colored markers.
The trouble is my image is 11 MB and takes a few seconds to fully
display in a PDF reader. I am us
On Wed, Aug 18, 2010 at 10:11 PM, Jae-Joon Lee wrote:
>
> Try
>
>
> cbar.formatter.set_useOffset(False)
> cbar.formatter.set_scientific(True)
> cbar.formatter.set_powerlimits((0,2))
>
> It gives me
>
> offsetText -> "x 10^3"
> and tick labels = ["5.0002", "5.0004",...]
Yes that is exactly what I
On Mon, Aug 16, 2010 at 6:13 PM, Jae-Joon Lee wrote:
> Using the set_powerlimits method didn't help?
I couldn't get set_powerlimits or set_scientific to change anything in
my colorbar scaling. If I used setOffset(False) then there was no
scaling; an improvement, but not ideal.
>
> As far as I k
On Sun, Aug 15, 2010 at 10:49 PM, Jae-Joon Lee wrote:
> On Fri, Aug 13, 2010 at 3:34 AM, Jeremy Conlin wrote:
>> I have a problem with the scaling of the numbers on a colorbar. The
>> problem occurs when the numbers used as colorbar labels need to be
>> scaled (i.e. b
I have a problem with the scaling of the numbers on a colorbar. The
problem occurs when the numbers used as colorbar labels need to be
scaled (i.e. by 1E3). The colorbar correctly puts the scaling value
on the top of the colorbar, but instead of of multiplying by a scale
factor, addition is used
I recently installed MPL on two Macs, one running 10.6 and another
running 10.5. When I try to plot, I get the following error:
TclError: couldn't open
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/mpl-data/images/home.ppm":
permission denied
After che
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 might not need to go that far if your distro does not provide it.
Wince my f
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 addition, you can use a special
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 addition, you can use a special array
> structure called a "masked array" to have pcolor ignore "special" values.
> Assuming yo
I am trying to plot some data over a mesh using the plot_surface
method. However when I plot my data, everything is the same color
when I expected to get a nice rainbow of colors as in the example:
http://matplotlib.sourceforge.net/examples/mplot3d/surface3d_demo.html
I have attached a simple sc
On Mon, Jun 21, 2010 at 2:33 PM, Jeffrey Blackburne wrote:
> I have used add_axes() to do this in the past. E.g.,
>
> import matplotlib.pyplot as plt
>
> fig = plt.figure()
> leftmarg = 0.125 # change these numbers to taste
> botmmarg = 0.125
> width = 0.825
> height = 0.825
> frac = 2./3.
> ax0
I have followed this excellent example:
http://matplotlib.sourceforge.net/examples/pylab_examples/ganged_plots.html
but I would like my plots to be 2/3 and 1/3 of the total height of the
figure (I only have 2 plots). What do I have to do to specify the
relative sizes of the figures?
Thanks,
Jere
On Wed, Apr 14, 2010 at 9:35 AM, Ben Axelrod wrote:
> This example shows how to use 2d plots in a 3d plot:
> http://matplotlib.sourceforge.net/examples/mplot3d/2dcollections3d_demo.html
>
> These examples may also help:
> http://matplotlib.sourceforge.net/trunk-docs/examples/mplot3d/contour3d_demo
I want to make a plot similar to this demo:
http://matplotlib.sourceforge.net/examples/mplot3d/polys3d_demo.html
but also make simple line plots on the "back wall" of the plot,
perhaps with the pyplot.plot command.
How can I do this?
Thanks,
Jeremy
-
I am trying to compile MPL on Snow Leopard without success. I have a
fairly fresh system (10.6.2) with python.org 2.6.4 installed. I have
downloaded the MPL trunk with svn. I had to make a small change to
the make.osx file because there are some extra ". However I still
can't get MPL to compile
On Fri, Feb 12, 2010 at 11:30 AM, C M wrote:
>> My biggest problem with matplotlib is that the smallest yticklabel and
>> the smallest xticklabel always seem to lie on top of each other (or
>> close to it). See attachment for example. Is there anyway to make it
>> so these don't lie on top of ea
My biggest problem with matplotlib is that the smallest yticklabel and
the smallest xticklabel always seem to lie on top of each other (or
close to it). See attachment for example. Is there anyway to make it
so these don't lie on top of each other? How can I make this the
default behavior?
Than
I have a plot that I need to add a customized legend. (The plot is
attached to this email.) I want to show that each color represents
something as well as each marker symbol. For example:
Green -> a Square -> j
Blue -> b Circle-> k
Red-> c
On Fri, Oct 23, 2009 at 4:16 PM, Jae-Joon Lee wrote:
> Your data repeat itself twice.
> Please check your data and report back if you still see the problem.
> Regards,
Of course it does . Sorry for bothering the list with my
stupidity.
Jeremy
---
Hello list. I am having trouble with an extraneous line drawn from my
last data point back to the first data point. I I don't quite know
why this is happening and was hoping someone could tell me what was
wrong. I have attached an example; the commands I used are copied
below.
Thanks,
Jeremy
On Mon, Mar 9, 2009 at 12:08 PM, John Hunter wrote:
>
>
> On Mon, Mar 9, 2009 at 10:43 AM, Jeremy Conlin wrote:
>
>> I am using Mac OS X 10.5.5 and have installed Enthought's latest Python
>> distribution which includes Matplotlib 0.98.3. I get a fatal python erro
On Mon, Mar 9, 2009 at 12:50 PM, Jeff Whitaker wrote:
> Jeremy Conlin wrote:
>
>
>>
>> On Mon, Mar 9, 2009 at 12:19 PM, Jeff Whitaker > jsw...@fastmail.fm>> wrote:
>>
>>Jeremy Conlin wrote:
>>
>>I am using Mac OS X 10.5.5
I am using Mac OS X 10.5.5 and have installed Enthought's latest Python
distribution which includes Matplotlib 0.98.3. I get a fatal python error
whenever I try to import matplotlib.pyplot. The exact message I get is:
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap
I installed EPD and now would like to install the latest version of
matplotlib so I can try out the new CocoaAgg background. I can download the
binary mpkg from sourceforge, but it won't work for me because my python
version isn't the python from python.org. Can someone help me get this
installed
I have a function (shown below) that would take a 3D numpy array and plot
points in 3D. I recently updated my matplotlib with the latest Enthought
Python Distribution and now it doesn't work; I guess matplotlib changed the
api a little bit.
The first problem arises because there is no matplotlib.
On Fri, Sep 12, 2008 at 4:31 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote:
> Jeremy Conlin wrote:
>
>> First question:
>> I know I can do pylab.loglog() to get a log-log plot. I would like to
>> create a log-linear plot. How can I do this?
>>
>
> semilo
First question:I know I can do pylab.loglog() to get a log-log plot. I
would like to create a log-linear plot. How can I do this?
Second question:
I would like to plot two sequences on the same figure with two different
y-scales, one scale shown on the left and one scale shown on the right. How
Thanks for posting these instructions. Forgive me if this has already been
hashed out in previous emails, but do the instructions for iPython resolve
the readline issues in Leopard?
Thanks,
Jeremy
On Nov 25, 2007 11:12 PM, John Hunter <[EMAIL PROTECTED]> wrote:
> A couple of weeks ago I got a ne
I am having a similar problem. However I can't seem to get matplotlib
to compile at all. It fails when it can't find png.h.
At the beginning, it says it can find freetype and libpng, but can't
find the appropriate header files. I have found them here:
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/incl
On 10/18/07, Eric Firing <[EMAIL PROTECTED]> wrote:
> Jeremy Conlin wrote:
> > On 10/18/07, Eric Firing <[EMAIL PROTECTED]> wrote:
> >> Jeremy Conlin wrote:
> >>> On 10/17/07, Charles Seaton <[EMAIL PROTECTED]> wrote:
> >>>> Jeremy
On 10/18/07, Eric Firing <[EMAIL PROTECTED]> wrote:
> Jeremy Conlin wrote:
> > On 10/17/07, Charles Seaton <[EMAIL PROTECTED]> wrote:
> >> Jeremy,
> >>
> >> I ran across the answer to this last week while searching the list for
> >> info
On 10/17/07, Charles Seaton <[EMAIL PROTECTED]> wrote:
> Jeremy,
>
> I ran across the answer to this last week while searching the list for
> info on datestr2num (both subjects happened to come up in the same
> exchange).
>
> http://www.nabble.com/First-impression-from-a-new-user-tf1716894.html#a46
I am a recent switcher to matplotlib from gnuplot so please forgive me
if I post often.
I am currently looking to see if there is a similar matplotlib
plotting style like gnuplots "histeps". An example is:
http://gnuplot.sourceforge.net/demo_4.2/random.4.png
As I searched through the email list
42 matches
Mail list logo