All,
Anyone have a small (short) example using Matplotlib and possibly wxPython
where the user enters a function in an edit box and Matplotlib responds by
sketching the graph over a domain?
David.
--
Download Intel® Par
I need a longer sample of the dash pattern in the legend.
Possible? (numpoints does not work.)
Thanks,
Alan Isaac
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
Dear matplotlib users,
I'm trying to make a plot that shares the x axis, but that have two
different y scales. I can do this, almost, I say almost because I don't
know how to turn off the reflection of my y ticks, so they are reflected
and obscure the scale on the other side, if the scales aren
Ah, that worked fine. Thanks a lot.
Alex
--
View this message in context:
http://old.nabble.com/Making-tick-marks-of-a-secondary-axis-line-up-with-the-primary-axis-tp27854166p27855043.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
---
> -Original Message-
> From: Alex S [mailto:schmitt.happ...@gmail.com]
> Hi there,
> I'm trying to make a plot with two y axes. I'm able to do that no
> problem,
> but what I'd really like to do now is make the tick marks line up for
> them
> both so that they both use the same grid. Is
How about this (though it is getting a little clunky):
plot(*transpose(map(lambda x:(x,sin(x**2)/x**3), arange(3,6, 0.01
On Wed, Mar 10, 2010 at 7:57 PM, Chloe Lewis wrote:
> ...although
>
> >>plot(map(lambda x:x**2, range(5,15)))
>
> probably doesn't do exactly what you want; is the
...although
>>plot(map(lambda x:x**2, range(5,15)))
probably doesn't do exactly what you want; is the idea that
>>plot(range(5,15),lambda x:x**2) #DOESN'T WORK
should automatically work like
>>plot(range(5,15), map(lambda x:x**2, range(5,15)))
by recognizing that the second argument is a f
You'd always have to specify the domain, so
plot(map(lambda x:x**2, range(1,10)))
shouldn't be much longer than the minimal command.
&C
On Mar 10, 2010, at 10:12 AM, max ulidtko wrote:
> Hi.
>
> Is it possible to plot arbitrary lambda function with matplotlib?
> Say, if i have f = lambda x:
Hi there,
I'm trying to make a plot with two y axes. I'm able to do that no problem,
but what I'd really like to do now is make the tick marks line up for them
both so that they both use the same grid. Is there a simple way to do this?
Basically, I want to force the number of tick marks on the
Ah, perfect, I wasn't seeing the labels when I was calling it with ax because
I was still using .5, .5 for the location and that was off the screen.
Thanks a lot!
Alex
Matthias Michler wrote:
>
> On Tuesday 09 March 2010 21:10:49 Alex S wrote:
>> Hmm I think I could do this with TextWithDash, b
I will go to bed early tonight disregard this thread, wrong version
of matplotlib anyway. things are now ok.
Johann
On 03/10/2010 06:45 PM, Johann Cohen-Tanugi wrote:
> Hi there, I am not sure whether I am the only one to experience that but
> on my new FEDORA 12 box GTK+ is shipped with
Hi.
Is it possible to plot arbitrary lambda function with matplotlib? Say, if i
have f = lambda x: x*sin(x), can i just plot it without building
argument-value arrays? It would be a very convenient and useful feature.
--
Sincerely,
max ulidtko
Hi there, I am not sure whether I am the only one to experience that but
on my new FEDORA 12 box GTK+ is shipped with the following structure
for the headers : /usr/include/gtk-1.2/gtk/gtk.h
This does not seem to be expected by matplotlib setup.cfg , or am I
missing something?
thanks,
Johann
-
You're right, the lons was getting overwritten! Thanks again for the help!
Anton
From: Jeff Whitaker
To: Anton Vasilescu
Cc: matplotlib-users@lists.sourceforge.net
Sent: Wed, March 10, 2010 8:57:16 AM
Subject: Re: [Matplotlib-users] shiftgrid 'cyclic point no
Anton Vasilescu wrote:
> Hi Jeff,
>
> Thank you for looking at the code for me! It works perfect for the
> first image but when it tries to do the second it errors out saying:
> "lon0 outside of range of lonsin". Any idea why is that happening? Is
> it happening for you too?
>
> Thanks,
> Anton
> [...] I deduce from your approach that there is nothing
> built in. I am surprised [...]
When you mentioned it, so was I. From axes.py:
def set_default_color_cycle(clist):
"""
Change the default cycle of colors that will be used by the plot
command. This must be called
I was running this example, but would like to show the grid. For some reason,
the plt.grid("on") does not work. Any thoughts?
http://matplotlib.sourceforge.net/examples/axes_grid/simple_axisline2.html
Thanks,
Krishna Adrianto Pribadi
Test Engineer
Desk (TTF): 256.480.4450
Cell: 412.401.1477
Harl
Thanks. That's a good suggestion. It's been applied to SVN, and will
make it on to the website the next time the website is updated.
Mike
David Arnold wrote:
> All,
>
> The linebuilder program on:
> http://matplotlib.sourceforge.net/users/event_handling.html
>
> Needs two extra lines, one at
> On Mar 9, 2010, at 9 Mar, 1:52 PM, Alan G Isaac wrote:
> > I need a figure containing color line plots to
> > be changed to grayscale, cycling through line
> > styles instead of colors. How?
On 3/9/2010 10:45 PM, Chloe Lewis wrote:
> Here's a skeleton, for a series of lines that get darker an
Chris Barker wrote:
> I think it would be great to have in MPL.
>
> What code are you using for the triangulation? Does it do constrained
> delauney?
My code only does the contouring; you have to input the triangulation.
In the examples included with the code I used matplotlib.delaunay to
do the
20 matches
Mail list logo