belinda thom wrote:
> Hi,
>
> I could've sworn I recently read about how to draw a line on a plot
> in such a way that you see it regardless of what the axis ranges are.
If you need horizontal or vertical lines specified in normalized
coordinates (0 to 1 spans the axes) then you can use the Ax
Alan G Isaac wrote:
> I assume there must be a reason for this::
>
> >>> import pylab
> >>> pylab.__version__
> Traceback (most recent call last):
> File "", line 1, in
> AttributeError: 'module' object has no attribute '__version__'
>
> That has always bothered me.
> But o
Hi,
I could've sworn I recently read about how to draw a line on a plot
in such a way that you see it regardless of what the axis ranges are.
Now that I need it, I can't find it anywhere. I'm not even sure what
to search for.
I suspect this is really trivial and hope some more advanced users
Hello,
Regarding http://matplotlib.sourceforge.net/installing.html, there is
some unreliable info.
In particular, under the OS X topic,
"Robery Kern has built an all-in-one installer which includes scipy,
Numeric, numarray, matplotlib, ipython, VTK, MayaVi, PIL, the
enthought tool suite an
In the process of creating a Cocoa app for scientific data
acquisition, I've built an NSImageView subclass that displays an MPL
figure in the Cocoa NSView hierarchy. It's based on the CocoaAgg
backend code in MPL. There are also some subclasses that allow the use
of Cocoa Bindings to supply the dat
Sorry John,
I see this was fixed a while ago - I was still using 0.87.3 from the
last Enthought edition. Now that there's a scipy installer, I should
upgrade numpy/scipy/mpl to something more current.
Gary R.
Gary Ruben wrote:
> While I think of it, I think the default zorder of legends should
I assume there must be a reason for this::
>>> import pylab
>>> pylab.__version__
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute '__version__'
That has always bothered me.
But of course you can::
>>> import matpl
I didn't see it either. For questions like this, I recommend heading to
the #python channel on irc.freenode.net. If you find out how, please
post.
josh
On Fri, 8 Dec 2006, belinda thom wrote:
> Hi,
>
> Perhaps I'm missing something really basic, but I can't figure out
> how to query pylab as t
Hi,
Perhaps I'm missing something really basic, but I can't figure out
how to query pylab as to what version it is (the usual import ,
.__version doesn't work).
Advice appreciated.
--b
-
Take Surveys. Earn Cash. Influen
Hi again,
At http://matplotlib.sourceforge.net/installing.html under topic OS X:
"All of the backends run on OS X. Chris Barker has built a binary
package (fink users see below) for matplotlib which is hosted on
pythonmac, and works with Agg, Wx and Tk; see the step-by-step
instructions
Yannick Copin wrote:
> Hi,
>
> in a case similar to matplotlib-0.87.7/examples/contour_demo.py (figure
> 4), would it be possible to merge to two colorbars (a continuous one
> from imshow, a discrete one from contour) into a single colorbar?
> Indeed, in that case, the two colorbars are mostly
Yannick Copin wrote:
> Hi,
>
> running the simple test code:
>
> from pylab import *
> X, Y = meshgrid(linspace(-3,3,11),linspace(-3,3,11))
> Z = randn(*X.shape)
> lev = linspace(Z.min(),Z.max(),11)[1:-1]
> contourf(X,Y,Z, lev, extend='both')
> contour(X,Y,Z, lev, colors='k')
> show()
>
> you wi
In past work I have not been able to get clipping to behave as I expected.
Today I was trying to understand how to add a right-axis label and was using
an example from the matplotlib site that set clip_on=False. It did not
work. In looking at the code in method text() it appears that it checks f
> "Martin" == Martin Richter <[EMAIL PROTECTED]> writes:
Martin> My question now is: Is there a way to avoid using global
Martin> variables but also avoid an object-oriented programming?
Martin> In other words: Is it possible to pass e.g. a dictionary
Martin> containing some in
Hello everyone,
below is a little code - what it actually does is quite self-explanatory.
(When clicking with left - draw a red circle. When the right button is pressed
switch to a different mode. Now green squares are drawn and so on.)
My question now is: Is there a way to avoid using global va
Hi,
running the simple test code:
from pylab import *
X, Y = meshgrid(linspace(-3,3,11),linspace(-3,3,11))
Z = randn(*X.shape)
lev = linspace(Z.min(),Z.max(),11)[1:-1]
contourf(X,Y,Z, lev, extend='both')
contour(X,Y,Z, lev, colors='k')
show()
you will probably notice that the 'contourf' contours
Hi,
in a case similar to matplotlib-0.87.7/examples/contour_demo.py (figure
4), would it be possible to merge to two colorbars (a continuous one
from imshow, a discrete one from contour) into a single colorbar?
Indeed, in that case, the two colorbars are mostly redundant.
Cheers.
--
17 matches
Mail list logo