Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Plotting Bessel function

plot(Bessel(0,'J'),0,10)

gives me a plot of the Bessel function. However:

plot(Bessel(0,'J'),0,10,color='red')

gives me an error:

TypeError: plot() got an unexpected keyword argument 'rgbcolor'

even though:

plot(sin,0,10,color='red')

works.

I am using the developmental version of sage. Any help to resolve this is appreciated.

click to hide/show revision 2
retagged

Plotting Bessel function

plot(Bessel(0,'J'),0,10)

gives me a plot of the Bessel function. However:

plot(Bessel(0,'J'),0,10,color='red')

gives me an error:

TypeError: plot() got an unexpected keyword argument 'rgbcolor'

even though:

plot(sin,0,10,color='red')

works.

I am using the developmental version of sage. Any help to resolve this is appreciated.