That seems to work, thank you.
I would have thought that the add_patch function creates two seperate
objects independent of the defined Rectangle.
greets jonas
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Rectangle-Bug-tp38825p38828.html
Sent from the matplotlib -
Hello,
i spotted a bug in the Rectangle function when plotting with multiple
subplot, here is a source code example:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from matplotlib.pyplot import *
from numpy import *
import sys, os
def main():
f, axs = subplots(1,2)
x=ar
Hello,
i am working on some 3d stuff with plot_surface() , my problem is that i
want to use a stride smaller then 1.
Since my data is only on an intervall from -1 to 1, in x and in y direction
i want to plot a 3d grid with at least 20 lines in each direction, is there
a possibility to do this ?
Hi,
im actually trying to make a countour plot Z=f(X,Y) from two variables X,Y .
My Problem is that i have to use a logarithmic scale for the Z values.
If i plot the data with the logarithmic scale it gets pretty ugly, because i
have a lot of values which are zero,
which means on the log scale t
Hello,
i am actually trying to plot a vector field over a scalar field,
i want to show a vector field on the intervall x=[0,1] y=[0,1]
this works fine so far, actually i have the problem that if i plot the
scalarfield
via imshow() the image geht scaled by the size of the array.
i.e. if i have a
to
unpack ...
efiring wrote:
>
> On 06/15/2011 12:35 PM, jonasr wrote:
>>
>> hello,
>>
>> a lot of matplotlib examples i saw included the usage of line, i.e.
>>
>> from pylab import *
>> import time
>>
>> ion()
>>
>> tstart = time.ti
hello,
a lot of matplotlib examples i saw included the usage of line, i.e.
from pylab import *
import time
ion()
tstart = time.time() # for profiling
x = arange(0,2*pi,0.01)# x-array
line, = plot(x,sin(x))
for i in arange(1,200):
line.set_ydata(sin(x+i/10.0)) # u
hello,
im currently working on data analysis with matplotlib/numpy/scipy,
my programm plots data with plot() and waits for input commands via __call__
with the x key it is possible to save data points and plot them into the
figure,
the r key can be used to remove points from data/figure,.
the pr
hello,
im currently working on an interface for data analysis based on the
matplotlib gui,
there is basically some data which i plot with the plot() command and then i
read in some
datapoints with a self written routine and the mpl_connect() method.
right after that the data point gets plotted