Hi,
I'm dealing with a problem how to redraw just label ticks in one certain
subplot with in matplotlib. If I change description of axis in the subplot (by
.set_yticks() and .set_yticklabels()) I have to redraw whole figure
(figure.canvas.draw()) to see the changes.
But I need to redraw either j
On Mon, Oct 27, 2008 at 6:48 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
>> It appears that the figure gets *bigger* as I make a and b *smaller* !??!
>>
>
> You will need to be more explicit about what you are doing to reach this
> conclusion.
What he is probably seeing comes from the fact that so
[EMAIL PROTECTED] wrote:
> I'm confused about what
>
> matplotlib.pyplot.figure(figsize = (a,b)) *means*
a and b are width and height in inches. For vector backends (svg, ps,
pdf), that's all there is to it--unless there is a bug. For non-vector
output (screen, *.png), the a, b get translate
You need to use the numpy 'where' functionality
import numpy as np
x, y, z = np.loadtxt("fileName.dat", unpack=True) # or similar
# x, y and z are now numpy arrays and have built in functionality as
follows:
s = (z < 10.0) & (z**2 > 0.5) # or some other constraint. Produces an
array 's' of
I'm confused about what
matplotlib.pyplot.figure(figsize = (a,b)) *means*
It appears that the figure gets *bigger* as I make a and b *smaller* !??!
Chris
-
This SF.Net email is sponsored by the Moblin Your Move Developer'
I'm sorry for this newbie question. I have a data file consisting of 3
columns, and want to plot the first versus the second column, but only if
the parameter in the third column lies in a certain range. Does somebody
have an idea how to do that?
--
View this message in context:
http://www.nabbl
On lundi 27 octobre 2008, Jeremy Conlin wrote:
> Thanks for introducing me to mlab. I had never heard of it before.
>
> I did:
>
> mlab.points3d(P[:,0],P[:,1],P[:,2],mode='point')
>
>
> where P is a (1, 3) numpy array. mlab plotted the points, but the
> window became unresponsive. I can't im
Thank you!
On Mon, Oct 27, 2008 at 2:12 PM, Friedrich Hagedorn <[EMAIL PROTECTED]>wrote:
> On Mon, Oct 27, 2008 at 01:53:24PM -0700, Mathew Yeates wrote:
> >is there a way, when plotting many points, to decrease the size of the
> >point. With the default size I end up with overlapping poi
On Mon, Oct 27, 2008 at 01:53:24PM -0700, Mathew Yeates wrote:
>is there a way, when plotting many points, to decrease the size of the
>point. With the default size I end up with overlapping points so some are
>not displayed.
Do you want to change (decrease) the following values?
pl
is there a way, when plotting many points, to decrease the size of the
point. With the default size I end up with overlapping points so some are
not displayed.
Mathew
-
This SF.Net email is sponsored by the Moblin Your Move De
On Mon, Oct 27, 2008 at 10:59:40AM -0400, Michael Droettboom wrote:
> The size of the figure can be adjusted using
>
> figure(figsize=(width, height))
>
> subplots_adjust merely adjusts the margins between multiple subplots
> within the same figure.
Thanks. subplots_adjust(left=.., bottom=...) se
Well, the image is being plotted using:
## create logorithmic scale
range_max = int(pl.ceil(dat_max))
step = int(pl.ceil(range_max/10))
logspace = 10.**np.linspace(-1, 4.0, 20) # 50 equally-spaced-in-log points
between 1.e-01 and 1.0e03
#plot#
im =
m.imshow(topodat,cmap=cm.s3pcpn,interpolation=
The image is being plot in linear scale, while the scatter point is
being plotted with log scale...?
John [H2O] wrote:
> I should add here also, this doesn't explain for me why the values are
> different?? Thoughts on that mtter?
>
> Thanks!!
>
>
>
--
Michael Droettboom
Science Software Bran
I should add here also, this doesn't explain for me why the values are
different?? Thoughts on that mtter?
Thanks!!
--
View this message in context:
http://www.nabble.com/Problems-with-imshow-logarithmic-plot-tp20152686p20190717.html
Sent from the matplotlib - users mailing list archive at Na
Okay,
I can't find where I came up with the original solution to use imshow with
custom clevs... I think it was a thread on this forum possibly, or in an
example. But the point is that I recall there was some development talk
about improving the handling of log data for this issue Does anyone
The size of the figure can be adjusted using
figure(figsize=(width, height))
subplots_adjust merely adjusts the margins between multiple subplots
within the same figure.
Hope that helps.
Mike
[EMAIL PROTECTED] wrote:
> I measured the displayed Matplotlib PDF on the screen and noticed it
> has
On lundi 27 octobre 2008, Jeremy Conlin wrote:
> 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.
Jeremy Conlin wrote:
> 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 arise
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.
19 matches
Mail list logo