Hi All,
You may remember from my previous post I was having problems plotting a
heatmap, however Pete came through for me and made it work.
Anyway, I have almost finished what I want to do. The only issue is fixing
the colorbar() range limit.
Sometimes the my values are 0.01 to 0.2 for
stuartornum wrote:
Hi All,
You may remember from my previous post I was having problems plotting a
heatmap, however Pete came through for me and made it work.
Anyway, I have almost finished what I want to do. The only issue is fixing
the colorbar() range limit.
Sometimes the my values are
stuartornum wrote:
Jeff,
That worked perfectly ! Thank you.
One more question... how would I change the colour scheme of the colorbar()?
Thanks again
Stuart: Use the cmap argument to specify a color map.
Have you checked out the pylab examples? For me, they are the best way
to learn
Hi!
This may be a pdf issue or an SVG issue and have nothing to do with matplotlib.
If so, sorry...
Whenever I produce a figure with matplotlib and 'crop it' using the axis
command
the svg comes out fine. However, when I save this svg to pdf using inkscape's
'cairo' backend the part of the
Sounds like a Inkscape/Cairo issue to me, if the PDF it converts doesn't
match the SVG. That said, SVG is tricky to get right, and we may be
able to produce things in a different way that Inkscape will handle
correctly. I'll look into this and file a bug with Inkscape and/or
Cairo if it
Michael Hearne wrote:
I'm trying to build an application on a newly installed Ubuntu. I've
used apt-get to install scipy and matplotlib.
numpy version: 1.0.4
scipy version: 0.6
matplotlib version: 0.91.2
What version of basemap is safe to download and build with this
configuration?
Jeff - Well, that's the problem - I _do_ need scipy! Not for basemap,
but for the rest of my application. Does your sourceforge repository
have older copies of the basemap code?
My complaint about scipy has to do with the fact that I spent a good
week trying to get scipy's dependencies to
Michael Hearne wrote:
Jeff - Well, that's the problem - I _do_ need scipy! Not for
basemap, but for the rest of my application. Does your sourceforge
repository have older copies of the basemap code?
Mike: OK, but I don't think upgrading numpy/maplotlib requires you to
update scipy.
I am having some trouble getting the ticks and labels on my plot to
match what I want and I was hoping that someone here would be able to
help. Here are what I want (on the yaxis):
logarithmic ticks with major ticks every order of magnitude but labels
ONLY every other magnitude. Additionally, I
On Mon, Aug 11, 2008 at 1:45 PM, Jeffrey Fogel
[EMAIL PROTECTED] wrote:
The two things I have been unable to figure out are how to add a major
tick at all of the other magnitudes (those without a label) and how to
change the format of the labels so that only the exponent is showing.
I'm sure
A minor comment.
John's code may give incorrect results when exponents are negative.
int() truncates a floating point argument towards zero, e.g.,
int(-1.5) == -1 not -2. I guess calling floor() before int() will
work.
fx = int(np.floor(np.log(abs(val))/np.log(self._base) +0.5))
-JJ
On
Lionel Roubeyrie wrote:
find with this message a modified version of windrose to be OO compliant.
Lionel,
I've had this message of yours (from March), and finally had a chance to
use it.
Unfortunately, it seems to use the old Transforms mechanism, so won't
work with the latest MPL.
have
Thanks John, that worked perfectly (with JJ's correction). I'm fairly
new to python and hadn't considered writing a separate class for it.
-Jeffrey
On Mon, Aug 11, 2008 at 3:53 PM, Jae-Joon Lee [EMAIL PROTECTED] wrote:
A minor comment.
John's code may give incorrect results when exponents are
Christopher Barker wrote:
have you ported it over yet? Can anyone else help out with a port?
Note: it looks pretty easy, if yu know what you are doing:
from matplotlib.transforms import Interval, Value
Then in the code, I inly see Interval and Value used here:
self.rintv =
On Mon, Aug 11, 2008 at 3:51 PM, Michael Droettboom [EMAIL PROTECTED] wrote:
Christopher Barker wrote:
Is there a guide to translating code from the old to new Transforms
structure?
Yes, in the API_CHANGES file, in the source distribution. (I'd link to
SVN, but it seems Sourceforge's SVN
On Mon, Aug 11, 2008 at 3:51 PM, Michael Droettboom [EMAIL PROTECTED] wrote:
Christopher Barker wrote:
Is there a guide to translating code from the old to new Transforms
structure?
Yes, in the API_CHANGES file, in the source distribution. (I'd link to
SVN, but it seems Sourceforge's SVN
Bump... Does no-one have a solution for this?
-
I am a BugMeNot account and postings from this user may not always be from
the same person.
--
View this message in context:
http://www.nabble.com/Figure-existence-test-tp18760841p18934165.html
Sent from the matplotlib - users mailing list
On Mon, Aug 11, 2008 at 4:24 PM, nobody [EMAIL PROTECTED] wrote:
Bump... Does no-one have a solution for this?
Sorry for not answering. There is no elegant way to do this so we
should add support. In the meantime, the following hack should work
figs = [manager.canvas.figure for manager
Sorry folks, I found my own problem. Looks like the axes pan functions
were a recent addition to matplotlib and the version I'm using, 0.91.2,
doesn't have these. Time to bug the system admin to update to the 0.98
version.
-Jonathan Helmus
Jonathan Helmus wrote:
I have been working on a
On Mon, Aug 11, 2008 at 1:31 PM, Jonathan Helmus [EMAIL PROTECTED] wrote:
[snip]
instance... which I use to add lines, set limits, etc but it doesn't
have any of the pan functions (start_pan, end_pan, etc).
self.canvas.figure.get_axes() (which is what seems to be used in the
20 matches
Mail list logo