Ask Your Question

twk's profile - activity

2016-12-29 03:39:56 +0200 received badge  Popular Question (source)
2015-04-15 14:58:49 +0200 received badge  Famous Question (source)
2014-06-29 17:09:00 +0200 received badge  Popular Question (source)
2014-06-29 17:09:00 +0200 received badge  Famous Question (source)
2014-06-29 17:09:00 +0200 received badge  Notable Question (source)
2014-06-29 03:14:29 +0200 marked best answer How to plot a zoomed part in a matplotlib figure in sage?

Hi, I'm trying to zoom one part of my figure in Matplotlib. In the Matplotlib-Galery, I found this nice example using mpl_toolkits.axes_grid.inset_locator

http://matplotlib.sourceforge.net/plo...

The result is http://matplotlib.sourceforge.net/plo...

which is pretty much what I need.

Does anybody know how to do this in sage? I didn't manage to use this function in sage. (In fact, I even didn't find it)

Thanks!

2014-06-29 03:12:44 +0200 marked best answer Prevent sage from simplifying

Hi, When I enter a symbolic equation in sage, it always displays it simplified and not as I typed it in. Is there a way to make sage to keep the equation in that form I typed it?

Thanks, twk

2013-05-09 08:08:37 +0200 received badge  Famous Question (source)
2012-08-13 06:02:23 +0200 received badge  Notable Question (source)
2012-07-13 10:19:39 +0200 received badge  Notable Question (source)
2012-03-15 16:19:02 +0200 received badge  Famous Question (source)
2012-02-07 07:20:05 +0200 received badge  Popular Question (source)
2011-07-26 12:40:25 +0200 received badge  Notable Question (source)
2011-05-20 17:12:23 +0200 commented answer Solve system of equations with additional conditions in sage

Would there be a more fast and simple solution if I could make all variables to integers? Just noticed, that this wouldn't be a big problem for my application.

2011-05-20 17:07:26 +0200 commented answer Solve system of equations with additional conditions in sage

Hi, thanks for this tricky approach - It calculates now - I'm curious about the results. Doesn't matter too much that it takes a while - I hope I will get some results by tomorrow..

2011-05-20 14:08:14 +0200 received badge  Nice Question (source)
2011-05-19 02:10:39 +0200 commented answer Solve system of equations with additional conditions in sage

Hi, with changing e to d (had been my fault), I get some results that are useful for me. But still, solve does ignore the 'integer' asumption. Is there maybe an option to declare that all variables must be integers?

2011-05-19 01:07:31 +0200 commented question Solve system of equations with additional conditions in sage

Hi, sorry- my mistake - I wrote eq2 = b == k * e where eq2 = b == k * d should stand. Does it make more sense for you this way? Thanks, Tobi

2011-05-18 18:23:57 +0200 commented answer Prevent sage from simplifying

Hi, sorry for answering so late. It's very hard to type equations this way or am I wrong? This can basically be a solution but I've to to test it. Thanks for this suggestion!

2011-05-18 18:21:55 +0200 marked best answer Prevent sage from simplifying

Update: The following is now possible, and should work in Sage 4.6, thanks to Burcin:

sage: x*x
x^2
sage: x.mul(x, hold=True)
x*x
sage: sin(2*pi)
0
sage: sin(2*pi,hold=True)
sin(2*pi)

More documentation can be found in each symbolic function, and x.mul? and x.add?.

2011-05-18 18:21:10 +0200 received badge  Popular Question (source)
2011-05-18 17:56:48 +0200 received badge  Editor (source)
2011-05-18 17:54:35 +0200 asked a question Solve system of equations with additional conditions in sage

Hi Sage users,

I've got a system of equations like the following example:

  • eq1 = a + b == n * (c + d)
  • eq2 = b == k * d

with n and k must be integers.

for the other variables, there are additional conditions like

  • a >= 80
  • b >= 1000
  • c >= 20
  • d >= 40
  • a + b <= 2000
  • c + d <= 90

I want to get all solutions of this system where n and k are integers. Is there a way to find these with sage?

Would be great to get any possible hint to do this!

Thanks for your suggestions, Tobi

2011-04-26 05:30:26 +0200 received badge  Popular Question (source)
2011-02-10 04:36:17 +0200 answered a question Prevent sage from simplifying

Hi, any updates on this topic? I still think, that this is a big disadvantage in symbolic calculations in sage!

2011-02-10 04:34:43 +0200 marked best answer Execute notebook sessions without storing it at the server
  1. Hi, is there a possibility to execute notebook sessions that are stored at an external path (without having it stored at the server)?No, this isn't possible right now. You can save your worksheets though, by clicking "File --> Save worksheet to a file". If you're talking about using a remote server (like http://sagenb.org), then this feature might be impossible to due to security restrictions made by applications that run in web browsers (however, we want to add Dropbox support for worksheets to the remote notebook sometime in the next few months). If you're talking about using the Sage notebook locally, e.g., you typed "sage: notebook()", then I could see a feature like this appearing in the near future.

  2. Is it also possible to execute sessions from the command-line and just get the stored outputs and printed outputs? This page is supposed to be about such functionality: http://www.sagemath.org/doc/reference/sagenb/simple/twist.html

2011-02-10 04:34:28 +0200 received badge  Supporter (source)
2011-02-10 04:32:29 +0200 asked a question Matplotlib navigation constrained pan or keybindings

Hi, is it possible to have constrained panning or keybindings to move right or left using the qt4Agg backend?

Thanks for your suggestions, Tobi

2011-01-17 13:31:00 +0200 asked a question Execute notebook sessions without storing it at the server

Hi, is there a possibility to execute notebook sessions that are stored at an external path (without having it stored at the server)?

Is it also possible to execute sessions from the command-line and just get the stored outputs and printed outputs?

Thanks for your help

2011-01-16 16:44:24 +0200 received badge  Taxonomist
2011-01-03 22:26:42 +0200 received badge  Good Question (source)
2011-01-03 22:09:58 +0200 received badge  Nice Question (source)
2010-11-08 20:18:39 +0200 received badge  Student (source)