Hello,
I've been trying to implement a smith chart like a previous gentlemen on the
list and have run into a similar problem. When my angle value goes from -pi
to pi I get an extraneous circle from the interpolation. From the previous
posts, I am under the impression that this is a known issue
Please take a look at our gallery to see what you can do with matplotlib.
http://matplotlib.sourceforge.net/gallery.html
> I am working on the eye movement data of our driving experiment. It would be
> interesting to look at the spatial distribution, and most frequent visited
> AOIs.
You'd bett
>
> This is in contrast to the effect of the following code:
>
> try:
>from math import *
>import pylab as p
> except:
>print "Couldn't import all dependent libraries"
>sys.exit()
> dataLength = 100
> data = [sin(2*pi*x/dataLength) for x in range(0,dataLength)]
> p.p
>
> 1) WIthin this same pick handler function, have another if conditional,
> but for the case when the user is picking the legend. In other words, I
> want to pick the legend artist, not a Line2D artist.
I'm afraid but it is not clear what you want here (at least to me).
Can you just pick up the
Hello,
I execute the following code:
try:
from math import *
import pylab as p
except:
print "Couldn't import all dependent libraries"
sys.exit()
dataLength = 100
data = [sin(2*pi*x/dataLength) for x in range(0,dataLength)]
p.plot(data)
p.show()
This produces a f
Nash, Brent R wrote:
> Hey everyone,
>
> I'm fairly new to matplotlib, but have read through tons of the
> documentation today and have a decent understanding of it. All the
> auto-scaling, xlim, and x_bound stuff works fine for me with the
> examples, but as soon as I try to use it on my data
Hi Eric,
first of all thank you for your reply.
My problem is so simple that it is diffucult to explain :)
may be pictures speak better than me.
Let me show you 2 simple pictures and you'll understand:
this is what i want to do: (done with excel)
http://89.96.100.40/~dante/wish.png
(2 simple bars
I think the error is raised when you try to import matplotlib (not
when you try to save your figure)
matplotlib needs its config directory writable.
It first try MPLCONFIGDIR env. variable, then try $HOME/.matplotlib.
Here, the $HOME is the home directory of the user executing the script.
I think i
Dante Plicato wrote:
> Hi all,
> i just want to have a simple 2-bar histogram,
> and my problem is that i want my axis to be with NON-squared aspect,
> i.e. the y-axes automatically scaled (and this yet works this way),but
> the x-axis to be as long as it need to display 2 little bars.
> Instead i
What version of maploltib are you using?
Your data displayed with correct scale with my installation of
matplotlib 0.98.5.2.
By the way, you're chaning the axes limit of the wrong axes.
"matplotlib.pyplot.axes()" create a new axes.
Use plt.xlim (or plt.ylim for y-limit), or use the method of the e
I have searched the web for a solution to the following problem and nothing
works.
I call matplotlib code from a python script (2.5) running on Apache2.2 and
mod_python. When I get to the point where I the code is to save a figure in
the website dir I get the following error.
File "/usr/lib/p
i'd like to plot some data, get user input, and then plot the original
data and user input. when i try to show() the data i get a segfault
after about ten seconds.
any clue what i'm doing wrong? using mac os x 10.5 with enthought
distribution.
thanks,
drs
#!/usr/bin/env python
import py
I am using matplotlib-0.98.5.2 and getting a strange crash when trying to
show() a window with semilog or log-log axes. Here is a simple script that
will cause the crash:
import pylab
from numpy import *
x = arange(1., 10., 0.1)
y = x**2
pylab.semilogx(x,y)
pylab.show()
At the end of this mes
Hi all,
i just want to have a simple 2-bar histogram,
and my problem is that i want my axis to be with NON-squared aspect,
i.e. the y-axes automatically scaled (and this yet works this way),but
the x-axis to be as long as it need to display 2 little bars.
Instead i get a squared graph with 2 big b
El sáb, 21-02-2009 a las 16:26 -0800, Daniel Soto escribió:
> i'd like to plot some data, get user input, and then plot the original
> data and user input. when i try to show() the data i get a segfault
> after about ten seconds.
>
> any clue what i'm doing wrong? using mac os x 10.5 with en
Hello all,
I find that Matplotlib only have Python 2.5 build for Windows. Is there
any plan to release a 2.6 build soon? I am trying to build it from source
but I run into numerous problem. I am still struggling to find all
dependent packages. It will help a lot if the 2.6 installer is avail
Hi Eric,
I'm using matplotlib 0.98 (which comes with the Enthought distribution)
so that would explain why there was an issue.
Thanks for your help!
Thomas
Eric Firing wrote:
> Thomas Robitaille wrote:
>> Hi Eric,
>>
>> Thanks for your help! Unfortunately, ax.set_autoscale_on(False) does
>> no
Thomas Robitaille wrote:
> Hi Eric,
>
> Thanks for your help! Unfortunately, ax.set_autoscale_on(False) does not
> work - I had already tried this before unsuccessfully. Consider the
> following:
>
> from pylab import *
> import numpy as np
>
> def test():
> fig = figure()
> ax = fig.a
Hi all,
i just want to have a simple bar-chart,
and my problem is that i want it to be with NON-squared aspect, i.e. the
x-axis to be as long as i need with 2 little bart.
Instead i get a squared graph with 2 big bars even if i change width value.
This is my source:
import numpy as np
import matp
Hi Eric,
Thanks for your help! Unfortunately, ax.set_autoscale_on(False) does not
work - I had already tried this before unsuccessfully. Consider the
following:
from pylab import *
import numpy as np
def test():
fig = figure()
ax = fig.add_subplot(111)
a = np.zeros((100
20 matches
Mail list logo