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: 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 > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev_______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users