[sage-support] Re: color in plot_vector_field

2010-01-19 Thread Jason Grout
Thomas Scofield wrote: I am planning to use Sage in a vector calculus course this spring. I have a plot of two simple vector fields which are everywhere orthogonal, and wish to have arrows for one field colored differently than for the other. I cannot, however, find any documentation for a

[sage-support] Re: region_plot with distinct sets

2010-01-19 Thread Jason Grout
Stephen J. Barr wrote: Thank you for looking into this. -stephen I posted a fix to http://trac.sagemath.org/sage_trac/ticket/8004 It's just awaiting a review, and hopefully will be in the next version of Sage in a few weeks. Thanks, Jason -- To post to this group, send email to sage-sup

Re: [sage-support] Re: region_plot with distinct sets

2010-01-19 Thread Stephen J. Barr
Thank you for looking into this. -stephen On Tue, Jan 19, 2010 at 6:04 PM, Jason Grout wrote: > stevejb wrote: > >> Hello, >> >> I am trying to plot 2 distinct sets on the same region_plot. My code >> is as follow >> >> var('x1 x2') >> (region_plot( [ >> ( (x2 >= exp(-x1)) or (x2 <= -exp(-x1) )),

[sage-support] color in plot_vector_field

2010-01-19 Thread Thomas Scofield
I am planning to use Sage in a vector calculus course this spring. I have a plot of two simple vector fields which are everywhere orthogonal, and wish to have arrows for one field colored differently than for the other. I cannot, however, find any documentation for a "color switch", nei

[sage-support] Re: region_plot with distinct sets

2010-01-19 Thread Jason Grout
stevejb wrote: Hello, I am trying to plot 2 distinct sets on the same region_plot. My code is as follow var('x1 x2') (region_plot( [ ( (x2 >= exp(-x1)) or (x2 <= -exp(-x1) )), ], (-4,4), (-4,4), incol='#7f', outcol='#7f7fff', bordercol='black',plot_points=300) ).show(aspect_ratio=1) Th

[sage-support] Re: problem evaluating an integral

2010-01-19 Thread andrejv
On Jan 19, 9:37 pm, kcrisman wrote: > On Jan 19, 3:16 pm, jeff788 wrote: > > > I am trying to evaluate a definite integral using SAGE and am getting > > some errors.  I have evaluated the same integrals using Mathematica > > without a problem.  Here is the integral in question: > > > integral(0.2

[sage-support] region_plot with distinct sets

2010-01-19 Thread stevejb
Hello, I am trying to plot 2 distinct sets on the same region_plot. My code is as follow var('x1 x2') (region_plot( [ ( (x2 >= exp(-x1)) or (x2 <= -exp(-x1) )), ], (-4,4), (-4,4), incol='#7f', outcol='#7f7fff', bordercol='black',plot_points=300) ).show(aspect_ratio=1) However, it seems to o

Re: [sage-support] Where are previous cell results stored, can it be removed?

2010-01-19 Thread Tim Joseph Dumol
On Wed, Jan 20, 2010 at 4:39 AM, Michael Madison wrote: > When I load a worksheet the results of previous evaluations of cells > are displayed. Is there to stop this? Is there a file I could > delete. > > In one worksheet I am having a problem with 3D plot (Jmol), which I > can't reproduce in o

[sage-support] Re: problem evaluating an integral

2010-01-19 Thread Jason Grout
jeff788 wrote: I am trying to evaluate a definite integral using SAGE and am getting some errors. I have evaluated the same integrals using Mathematica without a problem. Here is the integral in question: integral(0.29832198400/((13.12333*X + 1)^2* (15.74667*X + 1)),(X,0.05

[sage-support] Where are previous cell results stored, can it be removed?

2010-01-19 Thread Michael Madison
When I load a worksheet the results of previous evaluations of cells are displayed. Is there to stop this? Is there a file I could delete. In one worksheet I am having a problem with 3D plot (Jmol), which I can't reproduce in other worksheets. I was able to get 3D plot to work in other cells

[sage-support] Re: problem evaluating an integral

2010-01-19 Thread kcrisman
On Jan 19, 3:16 pm, jeff788 wrote: > I am trying to evaluate a definite integral using SAGE and am getting > some errors.  I have evaluated the same integrals using Mathematica > without a problem.  Here is the integral in question: > > integral(0.29832198400/((13.12333*X + 1)^2* > (

[sage-support] problem evaluating an integral

2010-01-19 Thread jeff788
I am trying to evaluate a definite integral using SAGE and am getting some errors. I have evaluated the same integrals using Mathematica without a problem. Here is the integral in question: integral(0.29832198400/((13.12333*X + 1)^2* (15.74667*X + 1)),(X,0.05,0.3)) I get the

[sage-support] Re: Problems with 3d plotting

2010-01-19 Thread jack
I just tried http://jmol.sourceforge.net/demo/dots/ and it worked perfectly. After opening a new worksheet in the notebook mode I still get a black square. Two questions: 1) Is notebook mode the only way to make 3d plots? 2) Is it possible that I have a path problem with sage in /tools rather

[sage-support] Re: Problems with 3d plotting

2010-01-19 Thread Michael Madison
Jack and All, Try opening up a new worksheet and rename it. Then try a 3D plot from the new work sheet. I have had a problem with 3D plot after I rotate a plot in a worksheet and then save it. After that I can not get 3D plot to work in that worksheet, however, if I open a new work sheet it wor

[sage-support] Re: Problems with 3d plotting

2010-01-19 Thread Jason Grout
jack wrote: Thanks for the suggestions. I have now installed icedtea6-plugin and sun-java6-plugin together with their dependencies etc. Running sage still gives no output and no error message. However, when I run in notebook mode I get a solid black square with a message saying 'jmol loading'

[sage-support] Re: Problems with 3d plotting

2010-01-19 Thread jack
Thanks for the suggestions. I have now installed icedtea6-plugin and sun-java6-plugin together with their dependencies etc. Running sage still gives no output and no error message. However, when I run in notebook mode I get a solid black square with a message saying 'jmol loading' with a countd