In theory, yes, but it's a completely untested theory. Each transform
class has an input_dims and output_dims member that defines the input
and output dimensions. So theoretically, you could create a perspective
or orthogonal projection that maps from 3D to 2D.
Cheers,
Mike
Andrew Straw wrot
On 19-Jun-08, at 11:30 AM, John Hunter wrote:
> On Wed, Jun 18, 2008 at 2:42 PM, David Warde-Farley <[EMAIL PROTECTED]
> > wrote:
>
>> One more related thing: is there any way to retrieve the size of a
>> textbox
>> in figure coordinates, something like
>> ax.get_ymajorticklabels[0].get_width(
Hi all,
I'm trying to plot in 2D, 3 variables from time series, instead of volume I
want color for the third variable.
I have partial success with a scatter plot, but I'm unable to manage the
colorbar so it represents z values,
I needed to sort the variables and it's getting a bit ugly, so I thoug
On Fri, Jun 20, 2008 at 6:14 PM, sordnay <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm trying to plot in 2D, 3 variables from time series, instead of volume I
> want color for the third variable.
> I have partial success with a scatter plot, but I'm unable to manage the
> colorbar so it represents z
Is there a way to get the colorbar to work with an axes instance.
ax2 = axes([0.2, 0.1, 0.6, 0.8], axisbg='w')
ax2.fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r')
ax2.pcolormesh(X, Y, newa, shading='flat', cmap=cm.YlOrRd)#gray_r)
ax2.axvline(x=0, color='gray', linestyle='--')
ax2.axhline(y=0
Daniel Ashbrook wrote:
>
> The issue is that the
> show() command takes over the main thread of execution, so I can't have
> my listening process running. Essentially I need to:
>
> 1) Pop up a figure()
> 2) Start the drawing loop
> 3) Start the socket listener
> 4) When the listener gets com
I may be a bit thick, but I am having a heck of a time figuring out how to
use contour() properly.
Specifically, I do not see why the z dimension should be a 2d array.
It should only take a set of x,y,z
coordinates to produce a surface -- what is the extra dimension for? More
importantly, how
Bryan Fodness wrote:
> Is there a way to get the colorbar to work with an axes instance.
>
> ax2 = axes([0.2, 0.1, 0.6, 0.8], axisbg='w')
> ax2.fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r')
> ax2.pcolormesh(X, Y, newa, shading='flat', cmap=cm.YlOrRd)#gray_r)
> ax2.axvline(x=0, color='gra
Bryan Fodness wrote:
> Is there a way to get the colorbar to work with an axes instance.
>
> ax2 = axes([0.2, 0.1, 0.6, 0.8], axisbg='w')
> ax2.fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r')
> ax2.pcolormesh(X, Y, newa, shading='flat', cmap=cm.YlOrRd)#gray_r)
> ax2.axvline(x=0, color='gra
Scott,
I think that for interactive work such as you describe, ipython -pylab
pretty well solves the problem, and provides window behavior like matlab's.
Ipython is a big help when working with python even when you are not
plotting. It is easy to install, and you don't have to learn much to
st
On Friday 20 June 2008 5:40:04 pm Bryan Fodness wrote:
> Is there a way to get the colorbar to work with an axes instance.
>
> ax2 = axes([0.2, 0.1, 0.6, 0.8], axisbg='w')
> ax2.fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r')
> ax2.pcolormesh(X, Y, newa, shading='flat', cmap=cm.YlOrRd)#gray_r
Chris,
The point is that contouring and gridding are two entirely separate
operations--and this is true in general, not just for matplotlib.
Contouring algorithms--at least all the ones I have looked at--work with
data on a regular grid. There are many ways to map scattered data to a
regular
Mike, just a question about the new transforms backend -- can the input
dimensionality be greater than 2? (I realize functions to do so probably
don't currently exist, but the question is about the transforms
machinery itself.)
-Andrew
Michael Droettboom wrote:
> I'm not very familiar with how ax
Hi. Making progress. Caveat for what follows: the last version of Matlab I
used was like 6 or 7, I think - it's been a little while - so for all I know,
the colormap manipulation API I've been able to discover in the current MPL
does correspond closely to the same thing in the current Matlab.
14 matches
Mail list logo