On May 24, 6:23 am, kcrisman wrote:
> On May 24, 3:04 am, mankoff wrote:
>
> > y = x^2
> > show(y)
>
> > In a worksheet in the notebook, this shows x and then a small raised
> > two.
> > I'd like it to show 'y = ' and then that symbol.
>
On May 24, 12:03 am, Mike Hansen wrote:
> On Mon, May 23, 2011 at 11:59 PM, mankoff wrote:
> > Is there a way to change the language for one cell? For example, if in
> > a worksheet I'd like to have just one paragraph of LaTeX or a chunk of
> > R. It is awkward
y = x^2
show(y)
In a worksheet in the notebook, this shows x and then a small raised
two.
I'd like it to show 'y = ' and then that symbol.
eqn = y == x^2
show(eqn)
does what I want (y=x^2)
But the upper code (y=x^2) lets me operate on it (y(3), diff(y), etc.)
wherease y==x^2 does not.
This ge
Hi,
Is there a way to change the language for one cell? For example, if in
a worksheet I'd like to have just one paragraph of LaTeX or a chunk of
R. It is awkward to wrap it all in a latex('...') function call. If a
command exists that means "everything from here down is in language X"
or "This ce
On May 22, 8:59 pm, Rajeev Singh wrote:
> On Sun, May 22, 2011 at 4:45 PM, Berkin Malkoc wrote:
>
> > > I have something like:
> >> > y = x^2
>
> >> > I can evaluate it at one point:
> >> > y(2) # 4
>
> >> > I'd like to evaluate it at a group of points:
> >> > y( x ) # 2, 4, 9, 16,
I've never yet figured out in Python when to use lists, arrays, or
vectors.
I have something like:
y = x^2
I can evaluate it at one point:
y(2) # 4
I'd like to evaluate it at a group of points:
y( x ) # 2, 4, 9, 16, ...
Can this "just work" like in IDL or MATLAB? How would one defin
On May 21, 10:02 pm, John H Palmieri wrote:
> On Saturday, May 21, 2011 9:43:55 PM UTC-7, mankoff wrote:
>
> > I can solve basic equations for a variable without setting the LHS
> > equal to a value:
>
> > reset()
> > var('a b c')
> > f(
I can solve basic equations for a variable without setting the LHS
equal to a value:
reset()
var('a b c')
f(a,b,c) = a+b+c
solve(f,a)
a == -b - c
But slightly more complex equations don't seem to work unless I solve
for f==something:
reset()
var('a b c')
f(a,b,c) = a*b*c
solve(f,a)
a ==
mankoff wrote:
> Hi List,
>
> I'm a sage newbie and am having trouble getting a numerical expression
> from sage.
>
> # I've set up an equation:
> phi(t) = A*exp(k*c*t)
>
> # and I solve it for when the exponential grows past 1:
> time = solve(phi ==
Hi List,
I'm a sage newbie and am having trouble getting a numerical expression
from sage.
# I've set up an equation:
phi(t) = A*exp(k*c*t)
# and I solve it for when the exponential grows past 1:
time = solve(phi == 1,t)
time
[t == 432000*log(1000)/pi]
Now, how can I evaluate 'time' or 't=...'?
Hi,
Two newbie issues. When I load or attach a file, there is a different
verbosity than when I type the commands at the interactive shell. I
would like the two to behave the same. Right now, at the shell
"diff(42)" returns a 0, but if I load or attach a file with contents
"diff(42)", nothing happ
On Jan 11, 9:57 pm, Adam Webb wrote:
> On Jan 12, 6:49 am, mankoff wrote:
>
> > Hi Group,
>
> > I'm using Sage as my python install. How can I upgrade a python
> > package within sage? For example, pygmentize is version 0.11, and I'd
> > like to up
Hi Group,
I'm using Sage as my python install. How can I upgrade a python
package within sage? For example, pygmentize is version 0.11, and I'd
like to upgrade this. Easy_install doesn't seem to be working, or
places the new binary in /usr/local/bin, and if I copy that into sage/
local/bin/ it cau
On Dec 15, 3:49 am, emil wrote:
> On Dec 14, 9:13 pm, mankoff wrote:
>
>
> > Hi Sage Group,
>
> > I'm trying to use sage as a means to get a nice python installation,
> > without actually using sage. I hope this is an OK use of the software.
> > I
to a problem when I try to display
graphics with a GUI. If I run this which I think should give me a
simple empty window:
import pylab as P
P.figure()
P.show()
I get this error:
Your currently selected backend, 'agg' does not support show().
Please select a GUI backend in your matpl
15 matches
Mail list logo