Sorry... I found that this was already answered and works through a
lambda function trick
On 11 mar, 16:24, Nicolas wrote:
> Strange plot behavior : I would like to just plot a Bessel function
> Am I doing anything wrong ?
> (I tried to plot it through an iterator and a list plot... works ok
> bu
On Sep 11, 10:32 am, Jason Merrill <[EMAIL PROTECTED]> wrote:
>
> We should think hard about making things easy to partially evaluate.
> Why not have all the special functions behave like polylog?
> Furthermore, it would ideally be easy for a user to define their own
> functions that behave like p
On Thu, Sep 11, 2008 at 10:07 PM, John Cremona <[EMAIL PROTECTED]> wrote:
>
> This works:
>
> plot(lambda t:bessel_J(1, t), (1, 10))
That's very helpful, thanks!
Dan
--
--- Dan Drake <[EMAIL PROTECTED]>
- KAIST Department of Mathematical Sciences
--- http://math.kaist.ac.kr/~drake
--~
I agree entirely. Users should not have to have to think exactly how
about polylog() and bessel_J() are defined.
John
2008/9/11 Jason Merrill <[EMAIL PROTECTED]>:
>
> On Sep 11, 9:07 am, "John Cremona" <[EMAIL PROTECTED]> wrote:
>> This works:
>>
>> plot(lambda t:bessel_J(1, t), (1, 10))
>>
>>
On Sep 11, 9:07 am, "John Cremona" <[EMAIL PROTECTED]> wrote:
> This works:
>
> plot(lambda t:bessel_J(1, t), (1, 10))
>
> so (1) a one-variable function is reequired, and the lambda
> construction creates such a function from the2-variable bessel_J, and
> (2) the range is a tuple (xmin,xmax) .
>
This works:
plot(lambda t:bessel_J(1, t), (1, 10))
so (1) a one-variable function is reequired, and the lambda
construction creates such a function from the2-variable bessel_J, and
(2) the range is a tuple (xmin,xmax) .
John Cremona
2008/9/11 Dan Drake <[EMAIL PROTECTED]>:
>
> Certainly I must
I don't know what the problem is. Here is a workaround:
sage: list_plot([(t,bessel_J(1,1+9*t/100)) for t in range(100)],
plotjoined=True)
On Thu, Sep 11, 2008 at 4:25 AM, Dan Drake <[EMAIL PROTECTED]> wrote:
>
> Certainly I must be doing something dumb, but I can't figure out what. I do
>
> t