Ask Your Question

R C's profile - activity

2020-02-22 18:35:39 +0200 received badge  Famous Question (source)
2018-10-03 07:48:48 +0200 received badge  Famous Question (source)
2016-06-18 00:22:05 +0200 received badge  Notable Question (source)
2016-04-30 18:10:18 +0200 received badge  Notable Question (source)
2014-01-19 00:11:07 +0200 received badge  Popular Question (source)
2013-07-06 01:10:28 +0200 received badge  Popular Question (source)
2012-10-01 14:36:06 +0200 commented question Axes label placement and end arrows

OK, I will go ahead and implement them manually for now. Thanks.

2012-10-01 10:03:06 +0200 asked a question Axes label placement and end arrows

I would like to change the default placement of axes labels using the axes_labels option to plot, as well as add arrows at the ends of the axes. I could do this using the text and Arrow commands, respectively, but wanted to know if there were options to the plot command to do this directly.

2012-10-01 06:18:49 +0200 commented answer Plotting Bessel function

Thanks for clarifying this. So using a lambda function in the plot call allows for the standard options to be passed to the plot method.

2012-10-01 03:39:19 +0200 received badge  Student (source)
2012-09-30 16:51:32 +0200 commented answer Plotting Bessel function

Thanks, this works well. By defining the lambda function outside the plot command, I can use it also in find_local_maximum and find_root. I will check the documentation to better understand why a lambda function is needed for the Bessel functions.

2012-09-30 11:59:14 +0200 received badge  Supporter (source)
2012-09-30 11:07:31 +0200 asked a question 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.