[sage-support] Re: two-dimensional plots and axes

2007-09-20 Thread Ted Kosan
Alex wrote: > I need to plot some simple functions in one variable (e.g. x^3, cos(x), > etc.). The graphs come out very nice, but the axes have ticks, some of > which are labeled with the corresponding numbers. I would like the axes > to be bare, so with only the actual lines appearing. I know

[sage-support] Re: two-dimensional plots and axes

2007-09-20 Thread alex clemesha
On 9/20/07, Alex Ghitza <[EMAIL PROTECTED]> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Thanks for the reply. I seem to have asked my question the wrong way: I > want the curve which is the graph of the function, and I want the > horizontal line which is the x-axis, and the ve

[sage-support] Re: two-dimensional plots and axes

2007-09-20 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the reply. I seem to have asked my question the wrong way: I want the curve which is the graph of the function, and I want the horizontal line which is the x-axis, and the vertical line which is the y-axis. I do not want ticks along the a

[sage-support] Re: two-dimensional plots and axes

2007-09-20 Thread alex clemesha
Hi, The axes are an argument of 'show', for example: show(plot(cos(x), -6, 6), axes=False) type 'show?' to see other options. Alex On 9/20/07, Alex Ghitza <[EMAIL PROTECTED]> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I need to plot some simple functions in one va

[sage-support] Re: rational solutions to a bivariate polynomial

2007-09-20 Thread David Stahl
Hi Utpal, Does the Hasse-Minkowski theorem apply for a non-quadratic form like mine? David On Sep 20, 2:34 pm, Utpal Sarkar <[EMAIL PROTECTED]> wrote: > There is not always a solution. Whether or not there is a solution is > the contents of the Hasse-Minkowski theorem. I couldn't find a > funct

[sage-support] two-dimensional plots and axes

2007-09-20 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I need to plot some simple functions in one variable (e.g. x^3, cos(x), etc.). The graphs come out very nice, but the axes have ticks, some of which are labeled with the corresponding numbers. I would like the axes to be bare, so with only the

[sage-support] Re: rational solutions to a bivariate polynomial

2007-09-20 Thread Utpal Sarkar
There is not always a solution. Whether or not there is a solution is the contents of the Hasse-Minkowski theorem. I couldn't find a function in sage that immediately tells you whether there is a rational solution. There is a function that tells you whether there is a local solution at a prime p,

[sage-support] rational solutions to a bivariate polynomial

2007-09-20 Thread David Stahl
I have a non-SAGE question and am hoping someone can point me to a source that discusses the solution. I am trying to find a rational solution for x and y to the equation: Ax^2 + Bxy + Cy^2 + Dx + Ey + F =0(1) where the coefficients are rational. This can be transformed to: xprm^2 - d*ypr