I'm using the EngFormatter and Formatter from matplotlib 2.0.0,
matplotlib.ticker . I have to go to a machine that uses an earlier 0.99. Is
there an easy backward conversion to use those in 2.0 to 0.99?
Regards,
Kurt Peters
> Subject: Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)
> From: smit...@fusion.gat.com
> Date: Tue, 1 Oct 2013 11:34:39 -0700
> CC: pmhob...@gmail.com; matplotlib-users@lists.sourceforge.net
> To: petersk...@msn.com
>
>
> On Oct 1, 2013, at 8
> Date: Tue, 1 Oct 2013 19:35:39 +0200
> Subject: Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)
> From: goyod...@gmail.com
> To: petersk...@msn.com
> CC: pmhob...@gmail.com; matplotlib-users@lists.sourceforge.net
>
> 2013/10/1 KURT PETERS :
>
It's not really clear to me what you're trying to do. But the rounding of the
axes limits is an expected behavior of matplotlib. You can set them manually if
you like. Also, I think this achieves what you want and is much simpler.
import numpy as npimport matplotlib.pyplot as
pltxdat=np.arange(
That doesn't seem to fix it. What I'm expecting is at the top, 28 should
correspond to the value -2. Instead it puts a 30 there.
Kurt
Date: Mon, 30 Sep 2013 16:20:50 -0700
Subject: Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)
From: pmhob...@gmail.com
To: petersk.
I'm including the code below to demonstrate the problem. The top should have
simtimedata (0 through 28) labeling the points. As you can see, MATPLOTLIB
just distributes those values evenly instead of assigning them properly.
Any ideas?
#!/usr/bin/env python
import numpy as np
from matplotlib
I'm trying to find a glitch in an FPGA simulation. The data stored in a file
is:
(simulation time, y)
In reality, if I plot that I get large gaps because the simulation time
continues and data is only output periodically. In other words simulation time
is not continuous. I'd like to view th
If I'm using this SGP4 library: https://pypi.python.org/pypi/sgp4/which
provides x,y,z of a satellite with respect to the center of the Earth, what do
you think would be the best way to calculate the distance from the satellite to
a lat/long point on the Earth using MATPLOT library basemaps? I s
I had to compile and install Python 2.7 on RHEL with the
--enable-unicode=USC4 to get it to work with Tkinter. Unfortunately, I'm
now trying to install numpy, and get an error when importing it into python
"ImportError: numpy/core/multiarray.so: undefined symbol:
PyUnicodeUCS2_AsASCIIString".
Is
> From: jsw...@fastmail.fm
> Subject: Re: [Matplotlib-users] cannot install kubuntu 9.04 mpl 0.99.1.1,
> python 2.6
> To: petersk...@msn.com
>
> KURT PETERS wrote:
> > OK, that got me a hair further :-) With your suggestion I got past
> > that speed bump by:
OK, that got me a hair further :-) With your suggestion I got past that speed
bump by:
sudo apt-get install tk8.5-dev tcl8.5-dev
Now the error is a little more sinister. I did a tiny bit of research and some
posts says the error could be due to no installation of g++. but...
[code]
sudo ap
> python 2.6
> To: petersk...@msn.com
> CC: matplotlib-users@lists.sourceforge.net
>
> KURT PETERS wrote:
> > Jeff,
> >I had already had tk-dev installed:
> > $ sudo apt-get install tk-dev
> > Reading package lists... Done
> > Building dependency tree
Well, while I waited for more help/thoughts on the matter, I happened to have
another machine with Jaunty 9.04 that I thought I'd give a try
I consolidated the install down with the "apt-get" commands at the bottom, and
matplotlib failed on the new machine as well (but took longer to fail possi
amazingly difficult. Didn't remember it being
this hard when I did it on my Suse machine.
Kurt
==
> Date: Tue, 13 Oct 2009 13:46:22 -0600
> From: Jeff Whitaker
> Subject: Re: [Matplotlib-users] cannot install kubuntu 9.04 mpl
> 0.99.1.1, python 2.6
> T
Getting closer... I'm going to post the sum total of "apt-get installs" I had
to do to get matplotlib installed when I get it working (prelim. is at the end
of this message).
I'm thinking on this one, something with ltk in it, but none of these look
promising:
[code]
apt-cache search tk | gr
686-2.6/CXX/cxx_extensions.o
build/temp.linux-i686-2.6/CXX/cxxsupport.o
build/temp.linux-i686-2.6/CXX/IndirectPythonInterface.o
build/temp.linux-i686-2.6/CXX/cxxextensions.o -L/usr/local/lib -L/usr/local/lib
-ltk8.5 -ltcl8.5 -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o
build/lib.linux-i686-2.6/matpl
I'm pretty sure I have all the required minimal dependencies installed, but get
an error when I sudo python setup.py build. Any thoughts? I can start python
and import Tkinter without an error. So I don't know why it's not finding it.
[code]
sudo python setup.py build
===
Sorry, I meant the griddata module as part of mlab.KurtFrom:
petersk...@msn.comto: matplotlib-us...@lists.sourceforge.netsubject: RE:
Plotting NOAA data...Date: Tue, 23 Dec 2008 09:28:49 -0700
I don't seem to have a mlab module as part of matplotlib. Is that something
new?Kurt---
I don't seem to have a mlab module as part of matplotlib. Is that something
new?Kurt--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.so
I recently tried to install for python 2.6 and got an error that the dll is
incompatible. Is there a version for 2.6? I didn't see one here:
http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194&release_id=608758
Kurt
---
Thanks, that's exactly what I would like to do. I'll take a look.
Regards,
Kurt
Original Message Follows
From: Jeff Whitaker <[EMAIL PROTECTED]>
To: KURT PETERS <[EMAIL PROTECTED]>
CC: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] scale a cir
I am trying to do something similar to the plot_tissot.py example, but am
having some problems.
I would like to project a group of circles onto a map projection. Below
is the code I developed, which doesn't work because I get the error:
==ERROR
File "C:\Python25\Lib\site-packag
I see the example "plot_tissot.py" for basemaps which seems like it might do
what I would like, but unfortunately, it uses shapefiles to create a
polygon.
Can someone give me advice or an example of just drawing a simple circle
poly with units of "actual" meters, that I can then display/projec
les of basemap
To: matplotlib-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
On Thursday 19 June 2008 00:16:39 KURT PETERS wrote:
> array = gd.ReadAsArray()
> AttributeError: 'NoneType' object has n
I installed the latest gdal with all the latest basemaps and tried to run
the testgdal.py program in examples. I get this error:
Traceback (most recent call last):
File "C:\Documents and Settings\kpeters\My
Documents\basemap-0.99\examples\testgdal.py", line 19, in
array = gd.ReadAsArray()
Where can I find documentation on the new circle collection? And, going
back to his comment about "real radius", if I add a circle to a matplotlib
plot (not sure how to do this), how can I ensure the radius is, indeed, in
meters?
I have read the scatter documentation, and it says the radius o
My fault. that last error was because I re-installed matplotlib and forgot
to "re-change" the backend to TkAgg.
Sorry. Everything seems to be working again now (although a bit slower).
Kurt
-
Check out the new SourceForge
Looks like your latest compile includes the full-res data.
Kurt
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/service
Well, installing the highres data into the 'data' directory didn't help.
Kurt
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourcefor
Jeff, Got it and it seemed to install.
Well... as luck would have it, I still have a problem. I think I know what
is causing it, though. I was using the high-res data, and the "upgrade"
nukes that data. Here's the message I'm getting along with the code
snippet, just to make sure I'm on the
Original Message Follows
From: Jeff Whitaker <[EMAIL PROTECTED]>
To: KURT PETERS <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [EMAIL PROTECTED],
matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Update to Matplotlib and Numpy
producing error
Date: Mo
ing as well.
Regards,
Kurt
Original Message Follows
From: Jeff Whitaker <[EMAIL PROTECTED]>
To: KURT PETERS <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [EMAIL PROTECTED],
matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Update to Matplotlib and Numpy
produci
is working
for me (Windows could have started some other process in the background).
Kurt
Original Message Follows
From: "John Hunter" <[EMAIL PROTECTED]>
To: "Jeff Whitaker" <[EMAIL PROTECTED]>
CC: "KURT PETERS" <[EMAIL PROTECTED]>, [EMAIL
in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
I hope no one else has this pain when upgrading.
Regards,
Kurt
Original Message Follows
From: "John Hunter" <[EMAIL PROTECTED]>
To: "KURT PETERS" <[EMAIL PR
I tried to upgrade to the latest matplot lib (0.98 win32), which made me
upgrade numpy (1.1.0). I followed the advice of the install hints and
deleted the "old" matplotlib folder in site-packages before running the
windows installer.
Unfortunately, I get this error when trying to run my progr
I have a simple window to open a file that the data is then used to make a
graph:
The code for that part is:
=code
window = Tkinter.Tk()
#window.withdraw() <-- not sure what this does
window.title('hello world')
w = Tkinter.Label(window,text="hello, again")
w.pack
Alan,
It would be nice to be able to plot and show, get feedback from the user
(perhaps using tkinter), and then update the plot on the screen, causing you
to have to use show twice (pylab.Draw()doesn't seem to work the way I'm
trying to use it -- with basemaps -- ie. to get the user to see
ollows
From: Jeff Whitaker <[EMAIL PROTECTED]>
To: KURT PETERS <[EMAIL PROTECTED]>
CC: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Basemaps - shapefile import/display for
points
Date: Tue, 01 Apr 2008 15:54:48 -0600
KURT PETERS wrote:
>Jeff,
> Do
Jeff,
Do you think it's possible the names or CITIESX020 variable are not being
brought in in the right order?
I modified my code to use scatter, and, although it looks like the dots
are in the right place, the names aren't matching?
see code:
=
import pylab as p
import numpy
from mat
can someone explain why scatter would work but gca.annotate would not when
plotting data on a map (see previous posts)?
I've also tried pylib.figtext and that doesn't work either.
Regards,
Kurt
-
Check out the new Source
And, before someone asks, "Why are you using "h" and this line:
h= [seg[0]*0.000278,seg[1]*0.000278]
ax.annotate(seqnum[nshape],h)",
I was using this, instead, but tried to experiment with things to try to
make things work right:
ax.annotate(seqnum[nshape],seg)
.
I usually
OK Jeff, Thanks for your help on the previous question - I had been playing
with different projections and resolutions, so that's why the comments
didn't match the actual settings in the procedure calls. Now for a "real"
problem:
I'm trying to plot the cities from this web site:
http://nation
Forget it. I was putting lat/long instead of long/lat.
Regards,
Kurt
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.ne
I'm trying what I thought was a simple test and getting "bad" results. I am
taking some lat long coords, and feeding it into a map. The conversion is
not giving "real" values that can be plotted on a map (and actually produces
an error when I use annotate).
I'm including the simple code and th
44 matches
Mail list logo